Class BagOpenInteractModule

java.lang.Object
com.hammy275.immersivemc.client.interact_module.BagOpenInteractModule
All Implemented Interfaces:
org.vivecraft.api.client.InteractModule

public class BagOpenInteractModule extends Object implements org.vivecraft.api.client.InteractModule
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.resources.Identifier
     
    boolean
    isActive(net.minecraft.client.player.LocalPlayer localPlayer, net.minecraft.world.InteractionHand interactionHand, net.minecraft.world.phys.Vec3 vec3)
     
    boolean
    onPress(net.minecraft.client.player.LocalPlayer localPlayer, net.minecraft.world.InteractionHand interactionHand)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.vivecraft.api.client.InteractModule

    getPriority, reset, swingsArm
  • Constructor Details

    • BagOpenInteractModule

      public BagOpenInteractModule()
  • Method Details

    • getId

      public net.minecraft.resources.Identifier getId()
      Specified by:
      getId in interface org.vivecraft.api.client.InteractModule
    • isActive

      public boolean isActive(net.minecraft.client.player.LocalPlayer localPlayer, net.minecraft.world.InteractionHand interactionHand, net.minecraft.world.phys.Vec3 vec3)
      Specified by:
      isActive in interface org.vivecraft.api.client.InteractModule
    • onPress

      public boolean onPress(net.minecraft.client.player.LocalPlayer localPlayer, net.minecraft.world.InteractionHand interactionHand)
      Specified by:
      onPress in interface org.vivecraft.api.client.InteractModule