Class ExpandArrowNockEvent

java.lang.Object
com.blamejared.crafttweaker.natives.event.entity.arrow.ExpandArrowNockEvent

@ZenRegister public class ExpandArrowNockEvent extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final IEventBus<net.minecraftforge.event.entity.player.ArrowNockEvent>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.InteractionResultHolder<IItemStack>
    getAction(net.minecraftforge.event.entity.player.ArrowNockEvent internal)
     
    static IItemStack
    getBow(net.minecraftforge.event.entity.player.ArrowNockEvent internal)
     
    static net.minecraft.world.InteractionHand
    getHand(net.minecraftforge.event.entity.player.ArrowNockEvent internal)
     
    static net.minecraft.world.level.Level
    getLevel(net.minecraftforge.event.entity.player.ArrowNockEvent internal)
     
    static boolean
    hasAmmo(net.minecraftforge.event.entity.player.ArrowNockEvent internal)
     
    static void
    setAction(net.minecraftforge.event.entity.player.ArrowNockEvent internal, net.minecraft.world.InteractionResultHolder<IItemStack> action)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BUS

      public static final IEventBus<net.minecraftforge.event.entity.player.ArrowNockEvent> BUS
  • Constructor Details

    • ExpandArrowNockEvent

      public ExpandArrowNockEvent()
  • Method Details

    • getBow

      public static IItemStack getBow(net.minecraftforge.event.entity.player.ArrowNockEvent internal)
    • getLevel

      public static net.minecraft.world.level.Level getLevel(net.minecraftforge.event.entity.player.ArrowNockEvent internal)
    • getHand

      public static net.minecraft.world.InteractionHand getHand(net.minecraftforge.event.entity.player.ArrowNockEvent internal)
    • hasAmmo

      public static boolean hasAmmo(net.minecraftforge.event.entity.player.ArrowNockEvent internal)
    • getAction

      public static net.minecraft.world.InteractionResultHolder<IItemStack> getAction(net.minecraftforge.event.entity.player.ArrowNockEvent internal)
    • setAction

      public static void setAction(net.minecraftforge.event.entity.player.ArrowNockEvent internal, net.minecraft.world.InteractionResultHolder<IItemStack> action)