Class ChainConveyorInteractionHandler
java.lang.Object
com.simibubi.create.content.kinetics.chainConveyor.ChainConveyorInteractionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.createmod.catnip.data.WorldAttached<com.google.common.cache.Cache<net.minecraft.core.BlockPos, List<ChainConveyorShape>>> static net.minecraft.world.phys.Vec3static floatstatic net.minecraft.core.BlockPosstatic net.minecraft.core.BlockPosstatic ChainConveyorShape -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voiddrawCustomBlockSelection(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.world.phys.Vec3 camera) static voidhideVanillaBlockSelection(net.neoforged.neoforge.client.event.RenderHighlightEvent.Block event) static booleanonUse()
-
Field Details
-
loadedChains
public static net.createmod.catnip.data.WorldAttached<com.google.common.cache.Cache<net.minecraft.core.BlockPos,List<ChainConveyorShape>>> loadedChains -
selectedLift
public static net.minecraft.core.BlockPos selectedLift -
selectedChainPosition
public static float selectedChainPosition -
selectedConnection
public static net.minecraft.core.BlockPos selectedConnection -
selectedBakedPosition
public static net.minecraft.world.phys.Vec3 selectedBakedPosition -
selectedShape
-
-
Constructor Details
-
ChainConveyorInteractionHandler
public ChainConveyorInteractionHandler()
-
-
Method Details
-
clientTick
public static void clientTick() -
onUse
public static boolean onUse() -
drawCustomBlockSelection
public static void drawCustomBlockSelection(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.world.phys.Vec3 camera) -
hideVanillaBlockSelection
public static void hideVanillaBlockSelection(net.neoforged.neoforge.client.event.RenderHighlightEvent.Block event)
-