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