Class WrittenBookImmersive
java.lang.Object
com.hammy275.immersivemc.client.immersive_item.AbstractHandImmersive<WrittenBookInfo>
com.hammy275.immersivemc.client.immersive_item.AbstractItemImmersive<WrittenBookInfo>
com.hammy275.immersivemc.client.immersive_item.WrittenBookImmersive
-
Field Summary
Fields inherited from class com.hammy275.immersivemc.client.immersive_item.AbstractHandImmersive
infos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected WrittenBookInfo
createInfo
(net.minecraft.world.item.ItemStack item, net.minecraft.world.InteractionHand hand) boolean
boolean
itemMatches
(net.minecraft.world.item.ItemStack item) boolean
onLeftClick
(WrittenBookInfo info, net.blf02.vrapi.api.data.IVRData hand, net.blf02.vrapi.api.data.IVRData other) protected void
render
(WrittenBookInfo info, com.mojang.blaze3d.vertex.PoseStack stack, net.blf02.vrapi.api.data.IVRData hand) protected void
tick
(WrittenBookInfo info, net.blf02.vrapi.api.data.IVRData hand, net.blf02.vrapi.api.data.IVRData other) Methods inherited from class com.hammy275.immersivemc.client.immersive_item.AbstractItemImmersive
activeForHand, createInfo, handSwapCandidate
Methods inherited from class com.hammy275.immersivemc.client.immersive_item.AbstractHandImmersive
attemptLeftClickAll, registerAndTickAll, renderAll
-
Constructor Details
-
WrittenBookImmersive
public WrittenBookImmersive()
-
-
Method Details
-
render
protected void render(WrittenBookInfo info, com.mojang.blaze3d.vertex.PoseStack stack, net.blf02.vrapi.api.data.IVRData hand) - Specified by:
render
in classAbstractHandImmersive<WrittenBookInfo>
-
tick
protected void tick(WrittenBookInfo info, net.blf02.vrapi.api.data.IVRData hand, net.blf02.vrapi.api.data.IVRData other) - Specified by:
tick
in classAbstractHandImmersive<WrittenBookInfo>
-
itemMatches
public boolean itemMatches(net.minecraft.world.item.ItemStack item) - Specified by:
itemMatches
in classAbstractItemImmersive<WrittenBookInfo>
-
createInfo
protected WrittenBookInfo createInfo(net.minecraft.world.item.ItemStack item, net.minecraft.world.InteractionHand hand) - Specified by:
createInfo
in classAbstractItemImmersive<WrittenBookInfo>
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in classAbstractHandImmersive<WrittenBookInfo>
-
onLeftClick
public boolean onLeftClick(WrittenBookInfo info, net.blf02.vrapi.api.data.IVRData hand, net.blf02.vrapi.api.data.IVRData other) - Specified by:
onLeftClick
in classAbstractHandImmersive<WrittenBookInfo>
-