Class WrittenBookImmersive
java.lang.Object
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.AbstractItemImmersive
infos
-
Constructor Summary
-
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
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 classAbstractItemImmersive<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 classAbstractItemImmersive<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 classAbstractItemImmersive<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 classAbstractItemImmersive<WrittenBookInfo>
-