| Package | Description |
|---|---|
| net.minecraft.world | |
| net.minecraftforge.common.util | |
| net.minecraftforge.event | |
| net.minecraftforge.event.world |
| Modifier and Type | Field and Description |
|---|---|
java.util.ArrayList<BlockSnapshot> |
World.capturedBlockSnapshots |
| Modifier and Type | Method and Description |
|---|---|
static BlockSnapshot |
BlockSnapshot.getBlockSnapshot(World world,
BlockPos pos) |
static BlockSnapshot |
BlockSnapshot.getBlockSnapshot(World world,
BlockPos pos,
int flag) |
static BlockSnapshot |
BlockSnapshot.readFromNBT(NBTTagCompound tag) |
| Modifier and Type | Method and Description |
|---|---|
static BlockEvent.EntityPlaceEvent |
ForgeEventFactory.onBlockPlace(Entity entity,
BlockSnapshot blockSnapshot,
EnumFacing direction) |
static BlockEvent.PlaceEvent |
ForgeEventFactory.onPlayerBlockPlace(EntityPlayer player,
BlockSnapshot blockSnapshot,
EnumFacing direction,
EnumHand hand) |
| Modifier and Type | Method and Description |
|---|---|
static BlockEvent.EntityMultiPlaceEvent |
ForgeEventFactory.onMultiBlockPlace(Entity entity,
java.util.List<BlockSnapshot> blockSnapshots,
EnumFacing direction) |
static BlockEvent.MultiPlaceEvent |
ForgeEventFactory.onPlayerMultiBlockPlace(EntityPlayer player,
java.util.List<BlockSnapshot> blockSnapshots,
EnumFacing direction,
EnumHand hand) |
| Modifier and Type | Field and Description |
|---|---|
private BlockSnapshot |
BlockEvent.EntityPlaceEvent.blockSnapshot |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<BlockSnapshot> |
BlockEvent.EntityMultiPlaceEvent.blockSnapshots |
private java.util.List<BlockSnapshot> |
BlockEvent.MultiPlaceEvent.blockSnapshots |
| Modifier and Type | Method and Description |
|---|---|
BlockSnapshot |
BlockEvent.EntityPlaceEvent.getBlockSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<BlockSnapshot> |
BlockEvent.EntityMultiPlaceEvent.getReplacedBlockSnapshots()
Gets a list of BlockSnapshots for all blocks which were replaced by the
placement of the new blocks.
|
java.util.List<BlockSnapshot> |
BlockEvent.MultiPlaceEvent.getReplacedBlockSnapshots()
Gets a list of BlockSnapshots for all blocks which were replaced by the
placement of the new blocks.
|
| Constructor and Description |
|---|
EntityPlaceEvent(BlockSnapshot blockSnapshot,
IBlockState placedAgainst,
Entity entity) |
PlaceEvent(BlockSnapshot blockSnapshot,
IBlockState placedAgainst,
EntityPlayer player,
EnumHand hand)
Deprecated.
|
| Constructor and Description |
|---|
EntityMultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots,
IBlockState placedAgainst,
Entity entity) |
MultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots,
IBlockState placedAgainst,
EntityPlayer player,
EnumHand hand) |