public class AnimateTileEntityInstruction extends TickingInstruction
| Modifier and Type | Field and Description |
|---|---|
protected double |
deltaPerTick |
protected net.minecraft.util.math.BlockPos |
location |
protected double |
target |
protected double |
totalDelta |
remainingTicks, totalTicks| Modifier | Constructor and Description |
|---|---|
protected |
AnimateTileEntityInstruction(net.minecraft.util.math.BlockPos location,
float totalDelta,
int ticks,
java.util.function.BiConsumer<PonderWorld,java.lang.Float> setter,
java.util.function.Function<PonderWorld,java.lang.Float> getter) |
| Modifier and Type | Method and Description |
|---|---|
static AnimateTileEntityInstruction |
bearing(net.minecraft.util.math.BlockPos location,
float totalDelta,
int ticks) |
static AnimateTileEntityInstruction |
deployer(net.minecraft.util.math.BlockPos location,
float totalDelta,
int ticks) |
protected void |
firstTick(PonderScene scene) |
static AnimateTileEntityInstruction |
pulley(net.minecraft.util.math.BlockPos location,
float totalDelta,
int ticks) |
void |
tick(PonderScene scene) |
isBlocking, isComplete, onScheduled, resetsimpleprotected double deltaPerTick
protected double totalDelta
protected double target
protected final net.minecraft.util.math.BlockPos location
protected AnimateTileEntityInstruction(net.minecraft.util.math.BlockPos location,
float totalDelta,
int ticks,
java.util.function.BiConsumer<PonderWorld,java.lang.Float> setter,
java.util.function.Function<PonderWorld,java.lang.Float> getter)
public static AnimateTileEntityInstruction bearing(net.minecraft.util.math.BlockPos location, float totalDelta, int ticks)
public static AnimateTileEntityInstruction pulley(net.minecraft.util.math.BlockPos location, float totalDelta, int ticks)
public static AnimateTileEntityInstruction deployer(net.minecraft.util.math.BlockPos location, float totalDelta, int ticks)
protected final void firstTick(PonderScene scene)
firstTick in class TickingInstructionpublic void tick(PonderScene scene)
tick in class TickingInstruction