Class AnimateBlockEntityInstruction

java.lang.Object
net.createmod.ponder.foundation.instruction.PonderInstruction
net.createmod.ponder.foundation.instruction.TickingInstruction
com.simibubi.create.foundation.ponder.instruction.AnimateBlockEntityInstruction

public class AnimateBlockEntityInstruction extends net.createmod.ponder.foundation.instruction.TickingInstruction
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected double
     
    protected final net.minecraft.core.BlockPos
     
    protected double
     
    protected double
     

    Fields inherited from class net.createmod.ponder.foundation.instruction.TickingInstruction

    remainingTicks, totalTicks
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AnimateBlockEntityInstruction(net.minecraft.core.BlockPos location, float totalDelta, int ticks, BiConsumer<net.createmod.ponder.api.level.PonderLevel,Float> setter, Function<net.createmod.ponder.api.level.PonderLevel,Float> getter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bearing(net.minecraft.core.BlockPos location, float totalDelta, int ticks)
     
    bogey(net.minecraft.core.BlockPos location, float totalDelta, int ticks)
     
    deployer(net.minecraft.core.BlockPos location, float totalDelta, int ticks)
     
    protected final void
    firstTick(net.createmod.ponder.foundation.PonderScene scene)
     
    pulley(net.minecraft.core.BlockPos location, float totalDelta, int ticks)
     
    void
    tick(net.createmod.ponder.foundation.PonderScene scene)
     

    Methods inherited from class net.createmod.ponder.foundation.instruction.TickingInstruction

    isBlocking, isComplete, onScheduled, reset

    Methods inherited from class net.createmod.ponder.foundation.instruction.PonderInstruction

    simple

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • deltaPerTick

      protected double deltaPerTick
    • totalDelta

      protected double totalDelta
    • target

      protected double target
    • location

      protected final net.minecraft.core.BlockPos location
  • Constructor Details

    • AnimateBlockEntityInstruction

      protected AnimateBlockEntityInstruction(net.minecraft.core.BlockPos location, float totalDelta, int ticks, BiConsumer<net.createmod.ponder.api.level.PonderLevel,Float> setter, Function<net.createmod.ponder.api.level.PonderLevel,Float> getter)
  • Method Details

    • bearing

      public static AnimateBlockEntityInstruction bearing(net.minecraft.core.BlockPos location, float totalDelta, int ticks)
    • bogey

      public static AnimateBlockEntityInstruction bogey(net.minecraft.core.BlockPos location, float totalDelta, int ticks)
    • pulley

      public static AnimateBlockEntityInstruction pulley(net.minecraft.core.BlockPos location, float totalDelta, int ticks)
    • deployer

      public static AnimateBlockEntityInstruction deployer(net.minecraft.core.BlockPos location, float totalDelta, int ticks)
    • firstTick

      protected final void firstTick(net.createmod.ponder.foundation.PonderScene scene)
      Overrides:
      firstTick in class net.createmod.ponder.foundation.instruction.TickingInstruction
    • tick

      public void tick(net.createmod.ponder.foundation.PonderScene scene)
      Overrides:
      tick in class net.createmod.ponder.foundation.instruction.TickingInstruction