Class AbstractItemImmersive<I extends AbstractItemInfo>

java.lang.Object
com.hammy275.immersivemc.client.immersive_item.AbstractItemImmersive<I>
Direct Known Subclasses:
WrittenBookImmersive

public abstract class AbstractItemImmersive<I extends AbstractItemInfo> extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected List<I>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    protected abstract I
    createInfo(net.minecraft.world.item.ItemStack item, net.minecraft.world.InteractionHand hand)
     
    abstract boolean
     
    abstract boolean
    itemMatches(net.minecraft.world.item.ItemStack item)
     
    abstract boolean
    onLeftClick(I info, net.blf02.vrapi.api.data.IVRData hand, net.blf02.vrapi.api.data.IVRData other)
     
    void
    registerAndTickAll(net.minecraft.world.item.ItemStack mainStack, net.minecraft.world.item.ItemStack offStack)
     
    protected abstract void
    render(I info, com.mojang.blaze3d.vertex.PoseStack stack, net.blf02.vrapi.api.data.IVRData hand)
     
    void
    renderAll(com.mojang.blaze3d.vertex.PoseStack poseStack)
     
    protected abstract void
    tick(I info, net.blf02.vrapi.api.data.IVRData hand, net.blf02.vrapi.api.data.IVRData other)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • AbstractItemImmersive

      public AbstractItemImmersive()
  • Method Details

    • render

      protected abstract void render(I info, com.mojang.blaze3d.vertex.PoseStack stack, net.blf02.vrapi.api.data.IVRData hand)
    • tick

      protected abstract void tick(I info, net.blf02.vrapi.api.data.IVRData hand, net.blf02.vrapi.api.data.IVRData other)
    • itemMatches

      public abstract boolean itemMatches(net.minecraft.world.item.ItemStack item)
    • createInfo

      protected abstract I createInfo(net.minecraft.world.item.ItemStack item, net.minecraft.world.InteractionHand hand)
    • isEnabled

      public abstract boolean isEnabled()
    • onLeftClick

      public abstract boolean onLeftClick(I info, net.blf02.vrapi.api.data.IVRData hand, net.blf02.vrapi.api.data.IVRData other)
    • attemptLeftClickAll

      public boolean attemptLeftClickAll()
    • registerAndTickAll

      public void registerAndTickAll(net.minecraft.world.item.ItemStack mainStack, net.minecraft.world.item.ItemStack offStack)
    • renderAll

      public void renderAll(com.mojang.blaze3d.vertex.PoseStack poseStack)