public class AnimateWorldSectionInstruction extends AnimateElementInstruction<WorldSectionElement>
deltaPerTick, element, link, target, totalDeltaremainingTicks, totalTicks| Modifier | Constructor and Description |
|---|---|
protected |
AnimateWorldSectionInstruction(ElementLink<WorldSectionElement> link,
net.minecraft.util.math.vector.Vector3d totalDelta,
int ticks,
java.util.function.BiConsumer<WorldSectionElement,net.minecraft.util.math.vector.Vector3d> setter,
java.util.function.Function<WorldSectionElement,net.minecraft.util.math.vector.Vector3d> getter) |
| Modifier and Type | Method and Description |
|---|---|
static AnimateWorldSectionInstruction |
move(ElementLink<WorldSectionElement> link,
net.minecraft.util.math.vector.Vector3d offset,
int ticks) |
static AnimateWorldSectionInstruction |
rotate(ElementLink<WorldSectionElement> link,
net.minecraft.util.math.vector.Vector3d rotation,
int ticks) |
firstTick, tickisBlocking, isComplete, onScheduled, resetsimpleprotected AnimateWorldSectionInstruction(ElementLink<WorldSectionElement> link, net.minecraft.util.math.vector.Vector3d totalDelta, int ticks, java.util.function.BiConsumer<WorldSectionElement,net.minecraft.util.math.vector.Vector3d> setter, java.util.function.Function<WorldSectionElement,net.minecraft.util.math.vector.Vector3d> getter)
public static AnimateWorldSectionInstruction rotate(ElementLink<WorldSectionElement> link, net.minecraft.util.math.vector.Vector3d rotation, int ticks)
public static AnimateWorldSectionInstruction move(ElementLink<WorldSectionElement> link, net.minecraft.util.math.vector.Vector3d offset, int ticks)