Class RotationPropagator
java.lang.Object
com.simibubi.create.content.contraptions.RotationPropagator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidhandleAdded(net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos, KineticTileEntity addedTE) Insert the added position to the kinetic network.static voidhandleRemoved(net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos, KineticTileEntity removedTE) Remove the given entity from the network.static booleanisConnected(KineticTileEntity from, KineticTileEntity to)
-
Constructor Details
-
RotationPropagator
public RotationPropagator()
-
-
Method Details
-
handleAdded
public static void handleAdded(net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos, KineticTileEntity addedTE) Insert the added position to the kinetic network.- Parameters:
worldIn-pos-
-
handleRemoved
public static void handleRemoved(net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos, KineticTileEntity removedTE) Remove the given entity from the network.- Parameters:
worldIn-pos-removedTE-
-
isConnected
-