| Package | Description |
|---|---|
| com.aaaaahhhhhhh.bananapuncher714.dimensional.block.library |
Contains the core libraries of the DimensionalBlockLibrary.
|
| com.aaaaahhhhhhh.bananapuncher714.dimensional.block.library.api |
Contains the DimensionalBlockLibrary API.
|
| Modifier and Type | Method and Description |
|---|---|
static DTileEntity |
DimensionalBlocks.getDTileEntityAt(org.bukkit.Location location)
Fetch a
DTileEntity from a given location, if it exists. |
| Modifier and Type | Method and Description |
|---|---|
static DBlockData |
DimensionalBlocks.getDBlockDataOf(DTileEntity entity)
Get the
DBlockData associated with the given tile entity. |
static org.bukkit.Location |
DimensionalBlocks.getLocationOf(DTileEntity entity)
Get the location associated with the given tile entity.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DimensionalBlocks.register(DBlock block,
java.util.function.Supplier<DTileEntity> tileEntity,
java.lang.String id)
Register a custom
DBlock and associate it with a given DTileEntity. |
| Modifier and Type | Method and Description |
|---|---|
DTileEntity |
NMSHandler.getDTileEntityAt(org.bukkit.Location location) |
static DTileEntity |
DBlock.getTileEntity(org.bukkit.Location location)
Get the
DTileEntity at the given location, if it exists. |
| Modifier and Type | Method and Description |
|---|---|
DBlockData |
NMSHandler.getDBlockDataOf(DTileEntity entity) |
org.bukkit.Location |
NMSHandler.getLocationOf(DTileEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NMSHandler.register(DBlock block,
java.util.function.Supplier<DTileEntity> tileEntity,
java.lang.String id) |