public interface ContainerBlockEntity extends InventoryHolder
| Modifier and Type | Method and Description |
|---|---|
default int[] |
getHopperPullSlots()
Returns list of slot indexes where the item should be pulled from
|
default int[] |
getHopperPushSlots(Direction direction,
Item item)
Returns an array of slot indexes where the item should be pushed to
|
getInventorydefault int[] getHopperPushSlots(Direction direction, Item item)
direction - direction from hopper to this block entityitem - target itemdefault int[] getHopperPullSlots()
Copyright © 2020. All rights reserved.