java.lang.Object
com.blamejared.crafttweaker.natives.block.type.piston.ExpandPistonMath

@ZenRegister public class ExpandPistonMath extends Object
  • Constructor Details

    • ExpandPistonMath

      public ExpandPistonMath()
  • Method Details

    • getMovementArea

      public static net.minecraft.world.phys.AABB getMovementArea(net.minecraft.world.phys.AABB area, net.minecraft.core.Direction direction, double progress)
      Gets the movement area of a piston.
      Parameters:
      area - The area of the piston.
      direction - The direction of the piston.
      progress - The progress of the piston.
      Returns:
      The movement area of the piston.