Class AnimateElementInstruction<T extends PonderSceneElement>

Direct Known Subclasses:
AnimateMinecartInstruction, AnimateParrotInstruction, AnimateWorldSectionInstruction

public class AnimateElementInstruction<T extends PonderSceneElement> extends TickingInstruction
  • Field Details

    • deltaPerTick

      protected net.minecraft.world.phys.Vec3 deltaPerTick
    • totalDelta

      protected net.minecraft.world.phys.Vec3 totalDelta
    • target

      protected net.minecraft.world.phys.Vec3 target
    • element

      protected T extends PonderSceneElement element
  • Constructor Details

    • AnimateElementInstruction

      protected AnimateElementInstruction(ElementLink<T> link, net.minecraft.world.phys.Vec3 totalDelta, int ticks, BiConsumer<T,net.minecraft.world.phys.Vec3> setter, Function<T,net.minecraft.world.phys.Vec3> getter)
  • Method Details