| 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(IWorld world,
BlockPos pos) |
static BlockSnapshot |
BlockSnapshot.getBlockSnapshot(IWorld world,
BlockPos pos,
int flag) |
static BlockSnapshot |
BlockSnapshot.readFromNBT(CompoundNBT tag) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ForgeEventFactory.onBlockPlace(Entity entity,
BlockSnapshot blockSnapshot,
Direction direction) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ForgeEventFactory.onMultiBlockPlace(Entity entity,
java.util.List<BlockSnapshot> blockSnapshots,
Direction direction) |
| 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 |
| 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.
|
| Constructor and Description |
|---|
EntityPlaceEvent(BlockSnapshot blockSnapshot,
BlockState placedAgainst,
Entity entity) |
| Constructor and Description |
|---|
EntityMultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots,
BlockState placedAgainst,
Entity entity) |