Class AbstractVRHandsTracker

java.lang.Object
com.hammy275.immersivemc.server.tracker.vrhand.AbstractVRHandTracker
com.hammy275.immersivemc.server.tracker.vrhand.AbstractVRHandsTracker
Direct Known Subclasses:
FeedAnimalsTracker

public abstract class AbstractVRHandsTracker extends AbstractVRHandTracker
Hacked extends of AbstractVRHandTracker that's intended to be used for both hands instead of one
  • Constructor Details

    • AbstractVRHandsTracker

      public AbstractVRHandsTracker()
  • Method Details

    • shouldRunForHand

      protected boolean shouldRunForHand(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stackInHand, net.blf02.vrapi.api.data.IVRPlayer currentVRData, LastTickData lastVRData)
      Specified by:
      shouldRunForHand in class AbstractVRHandTracker
    • runForHand

      protected void runForHand(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stackInHand, net.blf02.vrapi.api.data.IVRPlayer currentVRData, LastTickData lastVRData)
      Specified by:
      runForHand in class AbstractVRHandTracker
    • shouldRun

      protected abstract boolean shouldRun(net.minecraft.world.entity.player.Player player, net.blf02.vrapi.api.data.IVRPlayer vrPlayer, LastTickData lastVRData)
    • run

      protected abstract void run(net.minecraft.world.entity.player.Player player, net.blf02.vrapi.api.data.IVRPlayer vrPlayer, LastTickData lastVRData)
    • tick

      public void tick(net.minecraft.world.entity.player.Player player, net.blf02.vrapi.api.data.IVRPlayer vrPlayer, LastTickData lastVRData)
      Overrides:
      tick in class AbstractVRHandTracker