Class ClientLogicSubscriber
java.lang.Object
com.hammy275.immersivemc.client.subscribe.ClientLogicSubscriber
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <I extends ImmersiveInfo>
IdoTrackIfNotTrackingAlready(Immersive<I, ?> immersive, net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level) static booleanhandleLeftClick(net.minecraft.world.entity.player.Player player) static inthandleRightClick(net.minecraft.world.entity.player.Player player) protected static inthandleRightClickBlockRayTrace(net.minecraft.world.entity.player.Player player) static booleanonClick(int button) static voidonClientLogin(net.minecraft.client.Minecraft minecraft) static voidonClientTick(net.minecraft.client.Minecraft minecraft) static voidonDisconnect(net.minecraft.world.entity.player.Player player) static voidpossiblyTrack(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.world.level.Level level) protected static <I extends ImmersiveInfo>
voidprotected static <I extends AbstractPlayerAttachmentInfo>
voidtickInfos(AbstractPlayerAttachmentImmersive<I, ?> singleton, net.minecraft.world.entity.player.Player player)
-
Field Details
-
backpackPressed
public static boolean backpackPressed
-
-
Constructor Details
-
ClientLogicSubscriber
public ClientLogicSubscriber()
-
-
Method Details
-
onClientLogin
public static void onClientLogin(net.minecraft.client.Minecraft minecraft) -
onClientTick
public static void onClientTick(net.minecraft.client.Minecraft minecraft) -
possiblyTrack
public static void possiblyTrack(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.world.level.Level level) -
doTrackIfNotTrackingAlready
public static <I extends ImmersiveInfo> I doTrackIfNotTrackingAlready(Immersive<I, ?> immersive, net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level) -
onClick
public static boolean onClick(int button) -
onDisconnect
public static void onDisconnect(net.minecraft.world.entity.player.Player player) -
tickInfos
protected static <I extends ImmersiveInfo> void tickInfos(Immersive<I, ?> singleton, net.minecraft.world.entity.player.Player player) -
tickInfos
protected static <I extends AbstractPlayerAttachmentInfo> void tickInfos(AbstractPlayerAttachmentImmersive<I, ?> singleton, net.minecraft.world.entity.player.Player player) -
handleLeftClick
public static boolean handleLeftClick(net.minecraft.world.entity.player.Player player) -
handleRightClick
public static int handleRightClick(net.minecraft.world.entity.player.Player player) -
handleRightClickBlockRayTrace
protected static int handleRightClickBlockRayTrace(net.minecraft.world.entity.player.Player player)
-