Skip to content

BlockEvent.PlaceEvent

To use this event use the following import:

groovy
import net.minecraftforge.event.world.BlockEvent.PlaceEvent

Sub-Classes

This event extends the following events and can use all their methods and fields:
EntityPlaceEvent, BlockEvent

Methods

groovy
net.minecraft.entity.player.EntityPlayer getPlayer()
groovy
net.minecraft.util.EnumHand getHand()
groovy
net.minecraft.item.ItemStack getItemInHand()

Contributors

Changelog

© 2024 CleanroomMC. All Rights Reserved.