Class ToolActions

java.lang.Object
io.github.vampirestudios.vampirelib.api.ToolActions

public class ToolActions extends Object
  • Field Details

    • AXE_DIG

      public static final ToolAction AXE_DIG
      Exposed by axes to allow querying tool behaviours
    • PICKAXE_DIG

      public static final ToolAction PICKAXE_DIG
      Exposed by pickaxes to allow querying tool behaviours
    • SHOVEL_DIG

      public static final ToolAction SHOVEL_DIG
      Exposed by shovels to allow querying tool behaviours
    • HOE_DIG

      public static final ToolAction HOE_DIG
      Exposed by shovels to allow querying tool behaviours
    • SWORD_DIG

      public static final ToolAction SWORD_DIG
      Exposed by swords to allow querying tool behaviours
    • SHEARS_DIG

      public static final ToolAction SHEARS_DIG
      Exposed by shears to allow querying tool behaviours
    • AXE_STRIP

      public static final ToolAction AXE_STRIP
    • AXE_SCRAPE

      public static final ToolAction AXE_SCRAPE
    • AXE_WAX_OFF

      public static final ToolAction AXE_WAX_OFF
    • SHOVEL_FLATTEN

      public static final ToolAction SHOVEL_FLATTEN
    • SWORD_SWEEP

      public static final ToolAction SWORD_SWEEP
      Used during player attack to figure out if a sweep attack should be performed
    • SHEARS_HARVEST

      public static final ToolAction SHEARS_HARVEST
      This action is exposed by shears and corresponds to a harvest action that is triggered with a right click on a block that supports such behaviour. Example: Right click with shears on a beehive with honey level 5 to harvest it
    • SHEARS_CARVE

      public static final ToolAction SHEARS_CARVE
      This action is exposed by shears and corresponds to a carve action that is triggered with a right click on a block that supports such behaviour. Example: Right click with shears o a pumpkin to carve it
    • SHEARS_DISARM

      public static final ToolAction SHEARS_DISARM
      This action is exposed by shears and corresponds to a disarm action that is triggered by breaking a block that supports such behaviour. Example: Breaking a trip wire with shears to disarm it.
    • HOE_TILL

      public static final ToolAction HOE_TILL
    • SHIELD_BLOCK

      public static final ToolAction SHIELD_BLOCK
      A tool action corresponding to the 'block' action of shields.
    • FISHING_ROD_CAST

      public static final ToolAction FISHING_ROD_CAST
      This action corresponds to right-clicking the fishing rod.
    • DEFAULT_AXE_ACTIONS

      public static final Set<ToolAction> DEFAULT_AXE_ACTIONS
    • DEFAULT_HOE_ACTIONS

      public static final Set<ToolAction> DEFAULT_HOE_ACTIONS
    • DEFAULT_SHOVEL_ACTIONS

      public static final Set<ToolAction> DEFAULT_SHOVEL_ACTIONS
    • DEFAULT_PICKAXE_ACTIONS

      public static final Set<ToolAction> DEFAULT_PICKAXE_ACTIONS
    • DEFAULT_SWORD_ACTIONS

      public static final Set<ToolAction> DEFAULT_SWORD_ACTIONS
    • DEFAULT_SHEARS_ACTIONS

      public static final Set<ToolAction> DEFAULT_SHEARS_ACTIONS
    • DEFAULT_SHIELD_ACTIONS

      public static final Set<ToolAction> DEFAULT_SHIELD_ACTIONS
    • DEFAULT_FISHING_ROD_ACTIONS

      public static final Set<ToolAction> DEFAULT_FISHING_ROD_ACTIONS
  • Constructor Details

    • ToolActions

      public ToolActions()