Skip to content

Arrow Loose Event

To use this event use the following import:

groovy
import net.minecraftforge.event.entity.player.ArrowLooseEvent

Sub-Classes

This event extends the following events and can use all their methods and fields:
PlayerEvent, LivingEvent, EntityEvent

Methods

groovy
net.minecraft.world.World getWorld()
groovy
boolean hasAmmo()
groovy
int getCharge()
groovy
net.minecraft.item.ItemStack getBow()
groovy
void setCharge(int arg0)

贡献者

页面历史

© 2024 CleanroomMC. All Rights Reserved.