Interface Carrier
-
- All Known Subinterfaces:
Barrel,BlastFurnace,BlockCarrier,BrewingStand,Campfire,CarrierBlockEntity,CarrierMinecart<M>,Chest,ChestMinecart,ClientPlayer,Dispenser,Donkey,Dropper,Furnace,FurnaceBlockEntity,Hopper,HopperMinecart,Horse,HorseLike,Llama,LlamaLike,LocalPlayer,Merchant,Mule,MultiBlockCarrier,NameableCarrierBlockEntity,PackHorse,Pillager,Player,RemotePlayer,ServerPlayer,ShulkerBox,SingleBlockCarrier,SkeletonHorse,Smoker,TameableHorse,Trader,TraderLlama,TrappedChest,User,Villager,WanderingTrader,ZombieHorse
public interface CarrierA Carrier is simply something that carries anInventory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CarriedInventory<? extends Carrier>inventory()Returns the inventory that this Carrier is holding.
-
-
-
Method Detail
-
inventory
CarriedInventory<? extends Carrier> inventory()
Returns the inventory that this Carrier is holding.- Returns:
- The inventory this Carrier is holding
-
-