Class ExpandArrowNockEvent
java.lang.Object
com.blamejared.crafttweaker.natives.event.entity.arrow.ExpandArrowNockEvent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.InteractionResultHolder<IItemStack>getAction(net.minecraftforge.event.entity.player.ArrowNockEvent internal) static IItemStackgetBow(net.minecraftforge.event.entity.player.ArrowNockEvent internal) static net.minecraft.world.InteractionHandgetHand(net.minecraftforge.event.entity.player.ArrowNockEvent internal) static net.minecraft.world.level.LevelgetLevel(net.minecraftforge.event.entity.player.ArrowNockEvent internal) static booleanhasAmmo(net.minecraftforge.event.entity.player.ArrowNockEvent internal) static voidsetAction(net.minecraftforge.event.entity.player.ArrowNockEvent internal, net.minecraft.world.InteractionResultHolder<IItemStack> action)
-
Field Details
-
BUS
-
-
Constructor Details
-
ExpandArrowNockEvent
public ExpandArrowNockEvent()
-
-
Method Details
-
getBow
-
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)
-