| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<List<Block>> |
Block.getNeighboringBlocks() |
List<Block> |
Block.getNeighboringBlocksIfLoaded() |
| Modifier and Type | Method and Description |
|---|---|
Block |
BlockPlaceEvent.getAgainst() |
Block |
BlockPlaceEvent.getBlock() |
Block |
SignChangeEvent.getBlock() |
Block |
BlockEvent.getBlock() |
Block |
BlockUpdateEvent.getBlock() |
Block |
BlockPistonChangeEvent.getBlock() |
Block |
BlockBurnEvent.getBlock() |
Block |
BlockFromToEvent.getBlock() |
Block |
BlockFormEvent.getBlock() |
Block |
BlockIgniteEvent.getBlock() |
Block |
BlockBreakEvent.getBlock() |
Block |
LeavesDecayEvent.getBlock() |
Block |
BlockRedstoneEvent.getBlock() |
Block |
ItemFrameDropItemEvent.getBlock() |
Block |
BlockGrowEvent.getNewState() |
Block |
BlockFormEvent.getNewState() |
Block |
BlockIgniteEvent.getSource() |
Block |
BlockSpreadEvent.getSource() |
Block |
BlockFromToEvent.getTo() |
| Modifier and Type | Method and Description |
|---|---|
Block |
EntityInteractEvent.getBlock() |
Block |
EntityCombustByBlockEvent.getCombuster() |
Block |
EntityBlockChangeEvent.getFrom() |
Block |
EntityBlockChangeEvent.getTo() |
| Modifier and Type | Method and Description |
|---|---|
List<Block> |
EntityExplodeEvent.getBlocks() |
| Constructor and Description |
|---|
EntityBlockChangeEvent(Entity entity,
Block from,
Block to) |
EntityCombustByBlockEvent(Block combuster,
Entity combustee,
int duration) |
EntityInteractEvent(Entity entity,
Block block) |
| Constructor and Description |
|---|
EntityExplodeEvent(Entity entity,
Vector3f position,
List<Block> blocks,
float yield) |
| Modifier and Type | Field and Description |
|---|---|
protected Block |
PlayerGlassBottleFillEvent.target |
| Modifier and Type | Method and Description |
|---|---|
Block |
PlayerBedLeaveEvent.getBed() |
Block |
PlayerBedEnterEvent.getBed() |
Block |
PlayerGlassBottleFillEvent.getBlock() |
Block |
PlayerBlockPickEvent.getBlockClicked() |
Block |
PlayerInteractEvent.getBlockTouched() |
Block |
PlayerGlassBottleFillEvent.getTarget() |
| Constructor and Description |
|---|
PlayerBedEnterEvent(Player player,
Block bed) |
PlayerBedLeaveEvent(Player player,
Block bed) |
PlayerBlockPickEvent(Player player,
Block blockClicked,
ItemInstance item) |
PlayerBucketEmptyEvent(Player who,
Block blockClicked,
BlockFace blockFace,
ItemInstance bucket,
ItemInstance itemInHand) |
PlayerBucketFillEvent(Player who,
Block blockClicked,
BlockFace blockFace,
ItemInstance bucket,
ItemInstance itemInHand) |
PlayerGlassBottleFillEvent(Player player,
Block target,
ItemInstance item) |
PlayerInteractEvent(Player player,
ItemInstance item,
Block block,
Vector3f touch,
BlockFace face) |
PlayerInteractEvent(Player player,
ItemInstance item,
Block block,
Vector3f touch,
BlockFace face,
PlayerInteractEvent.Action action) |
| Constructor and Description |
|---|
RedstoneUpdateEvent(Block source) |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<Block> |
Level.getBlock(int x,
int y,
int z) |
default CompletableFuture<Block> |
Level.getBlock(Vector3i vector) |
default Optional<Block> |
Level.getBlockIfChunkLoaded(int x,
int y,
int z) |
default Optional<Block> |
Level.getBlockIfChunkLoaded(Vector3i vector) |
| Modifier and Type | Method and Description |
|---|---|
Block |
Chunk.getBlock(int x,
int y,
int z) |
Block |
Chunk.setBlock(int x,
int y,
int z,
BlockState state) |
Block |
Chunk.setBlock(int x,
int y,
int z,
BlockState state,
boolean shouldRecalculateLight) |
Copyright © 2017–2018 NukkitX. All rights reserved.