| Package | Description |
|---|---|
| org.cloudburstmc.server.block.behavior | |
| org.cloudburstmc.server.blockentity | |
| org.cloudburstmc.server.blockentity.impl | |
| org.cloudburstmc.server.registry |
| Constructor and Description |
|---|
BlockBehaviorFurnace(BlockEntityType<? extends Furnace> entity) |
BlockBehaviorFurnaceBurning(BlockEntityType<? extends Furnace> entity) |
| 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) |
BlockEntityType<?> |
BlockEntity.getType() |
| Modifier and Type | Method and Description |
|---|---|
T |
BlockEntityFactory.create(BlockEntityType<T> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
| Modifier and Type | Method and Description |
|---|---|
BlockEntityType<?> |
BaseBlockEntity.getType() |
| Constructor and Description |
|---|
BannerBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
BarrelBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
BaseBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
BeaconBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
BedBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
BlastFurnaceBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
BrewingStandBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
CampfireBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
CauldronBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
ChestBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
ComparatorBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
DaylightDetectorBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
EnchantingTableBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
EnderChestBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
FlowerPotBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
FurnaceBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
FurnaceBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position,
InventoryType inventoryType) |
HopperBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
ItemFrameBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
JukeboxBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
LecternBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
MovingBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
MusicBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
PistonBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
ShulkerBoxBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
SignBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
SkullBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
SmokerBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
| Modifier and Type | Method and Description |
|---|---|
BlockEntityType<?> |
BlockEntityRegistry.getBlockEntityType(String persistentId) |
| Modifier and Type | Method and Description |
|---|---|
String |
BlockEntityRegistry.getPersistentId(BlockEntityType<?> type) |
<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.