Class ChainConveyorConnectionHandler
java.lang.Object
com.simibubi.create.content.kinetics.chainConveyor.ChainConveyorConnectionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidonItemUsedOnBlock(net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) static booleanstatic booleanvalidateAndConnect(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack chain, boolean simulate)
-
Constructor Details
-
ChainConveyorConnectionHandler
public ChainConveyorConnectionHandler()
-
-
Method Details
-
onRightClick
public static boolean onRightClick() -
onItemUsedOnBlock
public static void onItemUsedOnBlock(net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) -
clientTick
public static void clientTick() -
validateAndConnect
public static boolean validateAndConnect(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack chain, boolean simulate)
-