public interface BlockInventoryHolder extends InventoryHolder
Modifier and Type | Method and Description |
---|---|
Block |
getBlock()
Gets the block associated with this holder.
|
getInventory
@NotNull Block getBlock()
IllegalStateException
- if the holder is a block state and is not
placedCopyright © 2022. All rights reserved.