Class RotationPropagator
java.lang.Object
com.simibubi.create.content.kinetics.RotationPropagator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidhandleAdded(net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos, KineticBlockEntity addedTE) Insert the added position to the kinetic network.static voidhandleRemoved(net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos, KineticBlockEntity removedBE) Remove the given entity from the network.static booleanisConnected(KineticBlockEntity from, KineticBlockEntity to)
-
Constructor Details
-
RotationPropagator
public RotationPropagator()
-
-
Method Details
-
handleAdded
public static void handleAdded(net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos, KineticBlockEntity 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, KineticBlockEntity removedBE) Remove the given entity from the network.- Parameters:
worldIn-pos-removedBE-
-
isConnected
-