| Modifier and Type | Method and Description |
|---|---|
static Timing |
Timings.getBlockEntityTiming(BlockEntity blockEntity) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BlockEntityFactory<T extends BlockEntity> |
class |
BlockEntityType<T extends BlockEntity> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Banner |
interface |
Barrel |
interface |
Beacon |
interface |
Bed |
interface |
Bell |
interface |
BlastFurnace |
interface |
BrewingStand |
interface |
Campfire |
interface |
Cauldron |
interface |
Chest |
interface |
CommandBlock |
interface |
Comparator |
interface |
DaylightDetector |
interface |
Dispenser |
interface |
Dropper |
interface |
EnchantingTable |
interface |
EnderChest |
interface |
EndGateway |
interface |
EndPortal |
interface |
FlowerPot |
interface |
Furnace |
interface |
Hopper |
interface |
ItemFrame |
interface |
Jigsaw |
interface |
Jukebox |
interface |
Lectern |
interface |
MobSpawner |
interface |
MovingBlock |
interface |
NetherReactor |
interface |
Noteblock |
interface |
Piston |
interface |
ShulkerBox |
interface |
Sign |
interface |
Skull |
interface |
Smoker |
interface |
StructureBlock |
| Modifier and Type | Method and Description |
|---|---|
static <T extends BlockEntity> |
BlockEntityType.from(Identifier identifier,
Class<T> entityClass) |
static <T extends BlockEntity> |
BlockEntityType.from(String identifier,
Class<T> entityClass) |
| Modifier and Type | Class and Description |
|---|---|
class |
BannerBlockEntity |
class |
BarrelBlockEntity |
class |
BaseBlockEntity |
class |
BeaconBlockEntity
author: Rover656
|
class |
BedBlockEntity
Created by CreeperFace on 2.6.2017.
|
class |
BlastFurnaceBlockEntity |
class |
BrewingStandBlockEntity |
class |
CampfireBlockEntity |
class |
CauldronBlockEntity
author: CreeperFace
Nukkit Project
|
class |
ChestBlockEntity
author: MagicDroidX
Nukkit Project
|
class |
ComparatorBlockEntity |
class |
DaylightDetectorBlockEntity |
class |
EnchantingTableBlockEntity
author: MagicDroidX
Nukkit Project
|
class |
EnderChestBlockEntity |
class |
FlowerPotBlockEntity
Created by Snake1999 on 2016/2/4.
|
class |
FurnaceBlockEntity |
class |
HopperBlockEntity
Created by CreeperFace on 8.5.2017.
|
class |
ItemFrameBlockEntity
Created by Pub4Game on 03.07.2016.
|
class |
JukeboxBlockEntity |
class |
LecternBlockEntity |
class |
MovingBlockEntity
Created by CreeperFace on 11.4.2017.
|
class |
MusicBlockEntity |
class |
PistonBlockEntity |
class |
ShulkerBoxBlockEntity
Created by PetteriM1
|
class |
SignBlockEntity
author: MagicDroidX
Nukkit Project
|
class |
SkullBlockEntity
Created by Snake1999 on 2016/2/3.
|
class |
SmokerBlockEntity |
class |
UnknownBlockEntity |
| Modifier and Type | Method and Description |
|---|---|
BlockEntity |
MovingBlockEntity.getBlockEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
MovingBlockEntity.setBlockEntity(BlockEntity blockEntity) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ContainerInventory.sendBlockEventPacket(BlockEntity block,
int eventData) |
| Modifier and Type | Method and Description |
|---|---|
BlockEntity |
Level.getBlockEntity(com.nukkitx.math.vector.Vector3i pos) |
BlockEntity |
Level.getLoadedBlockEntity(com.nukkitx.math.vector.Vector3i pos) |
| Modifier and Type | Method and Description |
|---|---|
Set<BlockEntity> |
Level.getBlockEntities() |
Collection<BlockEntity> |
Level.getChunkBlockEntities(int chunkX,
int chunkZ) |
Collection<BlockEntity> |
Level.getLoadedBlockEntities(int chunkX,
int chunkZ) |
| Modifier and Type | Method and Description |
|---|---|
void |
Level.addBlockEntity(BlockEntity blockEntity) |
void |
Level.removeBlockEntity(BlockEntity entity) |
void |
Level.scheduleBlockEntityUpdate(BlockEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
BlockEntity |
Chunk.getBlockEntity(int x,
int y,
int z) |
BlockEntity |
IChunk.getBlockEntity(int x,
int y,
int z) |
BlockEntity |
LockableChunk.getBlockEntity(int x,
int y,
int z) |
BlockEntity |
UnsafeChunk.getBlockEntity(int x,
int y,
int z) |
| Modifier and Type | Method and Description |
|---|---|
Set<BlockEntity> |
Chunk.getBlockEntities() |
Collection<BlockEntity> |
IChunk.getBlockEntities()
Gets an immutable copy of all block entities within the current chunk.
|
Collection<BlockEntity> |
LockableChunk.getBlockEntities() |
Collection<BlockEntity> |
UnsafeChunk.getBlockEntities()
Gets an immutable copy of all block entities within the current chunk.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Chunk.addBlockEntity(BlockEntity blockEntity) |
void |
IChunk.addBlockEntity(BlockEntity blockEntity) |
void |
LockableChunk.addBlockEntity(BlockEntity blockEntity) |
void |
UnsafeChunk.addBlockEntity(BlockEntity blockEntity) |
void |
Chunk.removeBlockEntity(BlockEntity blockEntity) |
void |
IChunk.removeBlockEntity(BlockEntity blockEntity) |
void |
LockableChunk.removeBlockEntity(BlockEntity blockEntity) |
void |
UnsafeChunk.removeBlockEntity(BlockEntity blockEntity) |
| Modifier and Type | Method and Description |
|---|---|
<T extends BlockEntity> |
BlockEntityRegistry.newEntity(BlockEntityType<T> type,
Block block) |
<T extends BlockEntity> |
BlockEntityRegistry.newEntity(BlockEntityType<T> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position)
Creates new entity of given type
|
<T extends BlockEntity> |
BlockEntityRegistry.newEntity(BlockEntityType<T> type,
PluginContainer plugin,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position)
Creates new entity of given type from specific plugin factory
|
<T extends BlockEntity> |
BlockEntityRegistry.register(PluginContainer plugin,
BlockEntityType<T> type,
BlockEntityFactory<T> factory,
int priority) |
Copyright © 2020. All rights reserved.