Class ClientVRSubscriber
java.lang.Object
com.hammy275.immersivemc.client.subscribe.ClientVRSubscriber
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intprotected static booleanhandleInfo(AbstractPlayerAttachmentImmersive<?, ?> singleton, AbstractPlayerAttachmentInfo info, org.vivecraft.api.data.VRPose vrPose) protected static <I extends ImmersiveInfo>
booleanhandleInfos(Immersive<I, ?> singleton, org.vivecraft.api.data.VRPose vrPose, net.minecraft.world.InteractionHand hand) static voidimmersiveTickVR(net.minecraft.world.entity.player.Player player) static voidsetCooldown(int cooldown)
-
Field Details
-
cooldown
protected static int cooldown
-
-
Constructor Details
-
ClientVRSubscriber
public ClientVRSubscriber()
-
-
Method Details
-
setCooldown
public static void setCooldown(int cooldown) -
getCooldown
public static int getCooldown() -
immersiveTickVR
public static void immersiveTickVR(net.minecraft.world.entity.player.Player player) -
handleInfos
protected static <I extends ImmersiveInfo> boolean handleInfos(Immersive<I, ?> singleton, org.vivecraft.api.data.VRPose vrPose, net.minecraft.world.InteractionHand hand) -
handleInfo
protected static boolean handleInfo(AbstractPlayerAttachmentImmersive<?, ?> singleton, AbstractPlayerAttachmentInfo info, org.vivecraft.api.data.VRPose vrPose)
-