Interface Carrier
- All Known Subinterfaces:
- Barrel,- BlastFurnace,- BlockCarrier,- BrewingStand,- Camel,- Campfire,- CarrierBlockEntity,- CarrierMinecart<M>,- Chest,- ChestMinecart,- ClientPlayer,- Crafter,- Dispenser,- Donkey,- Dropper,- Furnace,- FurnaceBlockEntity,- Hopper,- HopperMinecart,- Horse,- HorseLike,- Llama,- LocalPlayer,- Merchant,- Mule,- MultiBlockCarrier,- NameableCarrierBlockEntity,- PackHorse,- Pillager,- Player,- RemotePlayer,- ServerPlayer,- ShulkerBox,- SingleBlockCarrier,- SkeletonHorse,- Smoker,- TraderLlama,- TrappedChest,- User,- Villager,- VillagerLike,- WanderingTrader,- ZombieHorse
public interface Carrier
A Carrier is simply something that carries an 
Inventory.- 
Method SummaryModifier and TypeMethodDescriptionCarriedInventory<? extends Carrier> Returns the inventory that this Carrier is holding.
- 
Method Details- 
inventoryCarriedInventory<? extends Carrier> inventory()Returns the inventory that this Carrier is holding.- Returns:
- The inventory this Carrier is holding
 
 
-