Class HologramAnimation<B>
java.lang.Object
dev.thorinwasher.blockanimator.api.animation.hologram.HologramAnimation<B>
- All Implemented Interfaces:
Animation<B>
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.thorinwasher.blockanimator.api.animation.Animation
Animation.AnimationStatus -
Constructor Summary
ConstructorsConstructorDescriptionHologramAnimation(BlockSupplier<B> blockSupplier, HologramTransform hologramTransform, ImmutableVector3i hologramCenter, long maxTime, int buffer) -
Method Summary
-
Constructor Details
-
HologramAnimation
public HologramAnimation(BlockSupplier<B> blockSupplier, HologramTransform hologramTransform, ImmutableVector3i hologramCenter, long maxTime, int buffer) - Parameters:
blockSupplier- Supplies the location of each blockhologramTransform- What transformation to apply to the hologrammaxTime- How long should the hologram livebuffer- The minimum amount of compiled frames to have until animation start
-
-
Method Details
-
compile
public void compile()Description copied from interface:AnimationHAS TO BE RUN ASYNC! -
getNext
-
getStatus
-
supplier
-