Class ExpandPistonMath
java.lang.Object
com.blamejared.crafttweaker.natives.block.type.piston.ExpandPistonMath
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.phys.AABBgetMovementArea(net.minecraft.world.phys.AABB area, net.minecraft.core.Direction direction, double progress) Gets the movement area of a piston.
-
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.
-