Skip to content

Bonemeal Event

To use this event use the following import:

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

Sub-Classes

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

Methods

groovy
net.minecraft.item.ItemStack getStack()
groovy
net.minecraft.block.state.IBlockState getBlock()
groovy
boolean hasResult()
groovy
net.minecraft.util.EnumHand getHand()
groovy
net.minecraft.util.math.BlockPos getPos()
groovy
net.minecraft.world.World getWorld()

贡献者

页面历史

© 2024 CleanroomMC. All Rights Reserved.