NBT class to read/modify block's NBT@Deprecated public class NBTBlock extends Object
- Non BlockEntities can not have NBT data. This stores the data to the chunk instead!
- The data is really just on the location. If the block gets broken/changed/exploded/moved etc., the data is still on that location!
| Constructor and Description |
|---|
NBTBlock(org.bukkit.block.Block block)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
NBTCompound |
getData()
Deprecated.
use methods in
NBT class to read/modify block's NBT |
@Deprecated public NBTCompound getData()
NBT class to read/modify block's NBTCopyright © 2015–2026 tr7zw. All rights reserved.