InventoryHolder
Barrel
, BlastFurnace
, BrewingStand
, Chest
, Container
, Dispenser
, Dropper
, Furnace
, Hopper
, Lectern
, ShulkerBox
, Smoker
public interface BlockInventoryHolder extends InventoryHolder
Modifier and Type | Method | 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 © 2019. All rights reserved.