Class DoorMoveTracker

java.lang.Object
com.hammy275.immersivemc.server.tracker.vrhand.AbstractVRHandTracker
com.hammy275.immersivemc.server.tracker.vrhand.DoorMoveTracker

public class DoorMoveTracker extends AbstractVRHandTracker
  • Field Details

  • Constructor Details

    • DoorMoveTracker

      public DoorMoveTracker()
  • Method Details

    • preTick

      public void preTick(net.minecraft.world.entity.player.Player player)
      Overrides:
      preTick in class AbstractVRHandTracker
    • 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
    • isEnabledInConfig

      public boolean isEnabledInConfig(ActiveConfig config)
      Specified by:
      isEnabledInConfig in class AbstractVRHandTracker
    • getDirectionToMove

      public static net.minecraft.core.Direction getDirectionToMove(net.minecraft.world.level.block.state.BlockState state)