Skip to content

Commit

Permalink
edit TeleportDuration && InterpolationDuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorax5 committed Aug 30, 2024
1 parent 405354c commit cf67eed
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ public void createsphereShape(Location location, Material material, float mass,
BlockDisplay blockDisplay = bukkitWorld.spawn(location, BlockDisplay.class, display -> {
display.setBlock(material.createBlockData());
display.setRotation(0, 0);
display.setInterpolationDuration(1);
display.setTeleportDuration(1);

Transformation transformation = display.getTransformation();
org.joml.Vector3f translation = new org.joml.Vector3f(-radius/2, -radius/2, -radius/2);
Expand Down

0 comments on commit cf67eed

Please sign in to comment.