Class InputHandler

java.lang.Object
net.timtaran.interactivemc.util.input.InputHandler

public class InputHandler extends Object
  • Constructor Details

    • InputHandler

      public InputHandler()
  • Method Details

    • attemptGrab

      public static void attemptGrab(PlayerBodyPart playerBodyPart)
      Sends packet to the server to grab an object using the specified playerBodyPart.
      Parameters:
      playerBodyPart - the playerBodyPart attempting to grab
    • attemptRelease

      public static void attemptRelease(PlayerBodyPart playerBodyPart)
      Sends a release packet to the server to remove the grab constraint.
      Parameters:
      playerBodyPart - the playerBodyPart to release
    • updateTriggerState

      public static void updateTriggerState(PlayerBodyPart playerBodyPart, TriggerState triggerState)
    • getTriggerState

      public static TriggerState getTriggerState(PlayerBodyPart playerBodyPart)