Class ContraptionHandlerClient
java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.ContraptionHandlerClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Couple<net.minecraft.world.phys.Vec3>getRayInputs(net.minecraft.client.player.LocalPlayer player) static voidpreventRemotePlayersWalkingAnimations(net.minecraftforge.event.TickEvent.PlayerTickEvent event) static net.minecraft.world.phys.BlockHitResultrayTraceContraption(net.minecraft.world.phys.Vec3 origin, net.minecraft.world.phys.Vec3 target, AbstractContraptionEntity contraptionEntity) static voidrightClickingOnContraptionsGetsHandledLocally(net.minecraftforge.client.event.InputEvent.ClickInputEvent event)
-
Constructor Details
-
ContraptionHandlerClient
public ContraptionHandlerClient()
-
-
Method Details
-
preventRemotePlayersWalkingAnimations
public static void preventRemotePlayersWalkingAnimations(net.minecraftforge.event.TickEvent.PlayerTickEvent event) -
rightClickingOnContraptionsGetsHandledLocally
public static void rightClickingOnContraptionsGetsHandledLocally(net.minecraftforge.client.event.InputEvent.ClickInputEvent event) -
getRayInputs
public static Couple<net.minecraft.world.phys.Vec3> getRayInputs(net.minecraft.client.player.LocalPlayer player) -
rayTraceContraption
@Nullable public static net.minecraft.world.phys.BlockHitResult rayTraceContraption(net.minecraft.world.phys.Vec3 origin, net.minecraft.world.phys.Vec3 target, AbstractContraptionEntity contraptionEntity)
-