Uses of Class
net.minecraft.entity.player.PlayerInventory
Package
Description
-
Uses of PlayerInventory in net.minecraft.advancement.criterion
Modifier and TypeMethodDescriptionboolean
InventoryChangedCriterion.Conditions.matches
(PlayerInventory inventory, ItemStack stack, int full, int empty, int occupied) void
InventoryChangedCriterion.trigger
(ServerPlayerEntity player, PlayerInventory inventory, ItemStack stack) private void
InventoryChangedCriterion.trigger
(ServerPlayerEntity player, PlayerInventory inventory, ItemStack stack, int full, int empty, int occupied) -
Uses of PlayerInventory in net.minecraft.block.entity
Modifier and TypeMethodDescriptionBeaconBlockEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) LecternBlockEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) LockableContainerBlockEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) LootableContainerBlockEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) protected ScreenHandler
BarrelBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
BlastFurnaceBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
BrewingStandBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
ChestBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
CrafterBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
DispenserBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
FurnaceBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
HopperBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected abstract ScreenHandler
LockableContainerBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
ShulkerBoxBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) protected ScreenHandler
SmokerBlockEntity.createScreenHandler
(int syncId, PlayerInventory playerInventory) -
Uses of PlayerInventory in net.minecraft.client.gui.screen.ingame
Modifier and TypeMethodDescriptionHandledScreens.Provider.create
(T handler, PlayerInventory playerInventory, Text title) ModifierConstructorDescriptionAbstractFurnaceScreen
(T handler, PlayerInventory playerInventory, Text title, Text toggleCraftableButtonText, Identifier background, Identifier litProgressTexture, Identifier burnProgressTexture, List<RecipeBookWidget.Tab> recipeBookTabs) AnvilScreen
(AnvilScreenHandler handler, PlayerInventory inventory, Text title) BeaconScreen
(BeaconScreenHandler handler, PlayerInventory inventory, Text title) BlastFurnaceScreen
(BlastFurnaceScreenHandler container, PlayerInventory inventory, Text title) BrewingStandScreen
(BrewingStandScreenHandler handler, PlayerInventory inventory, Text title) CartographyTableScreen
(CartographyTableScreenHandler handler, PlayerInventory inventory, Text title) CrafterScreen
(CrafterScreenHandler handler, PlayerInventory playerInventory, Text title) CraftingScreen
(CraftingScreenHandler handler, PlayerInventory inventory, Text title) EnchantmentScreen
(EnchantmentScreenHandler handler, PlayerInventory inventory, Text title) ForgingScreen
(T handler, PlayerInventory playerInventory, Text title, Identifier texture) FurnaceScreen
(FurnaceScreenHandler handler, PlayerInventory inventory, Text title) Generic3x3ContainerScreen
(Generic3x3ContainerScreenHandler handler, PlayerInventory inventory, Text title) GenericContainerScreen
(GenericContainerScreenHandler handler, PlayerInventory inventory, Text title) GrindstoneScreen
(GrindstoneScreenHandler handler, PlayerInventory inventory, Text title) HandledScreen
(T handler, PlayerInventory inventory, Text title) HopperScreen
(HopperScreenHandler handler, PlayerInventory inventory, Text title) HorseScreen
(HorseScreenHandler handler, PlayerInventory inventory, AbstractHorseEntity entity, int slotColumnCount) LecternScreen
(LecternScreenHandler handler, PlayerInventory inventory, Text title) LoomScreen
(LoomScreenHandler screenHandler, PlayerInventory inventory, Text title) MerchantScreen
(MerchantScreenHandler handler, PlayerInventory inventory, Text title) RecipeBookScreen
(T handler, RecipeBookWidget<?> recipeBook, PlayerInventory inventory, Text title) ShulkerBoxScreen
(ShulkerBoxScreenHandler handler, PlayerInventory inventory, Text title) SmithingScreen
(SmithingScreenHandler handler, PlayerInventory playerInventory, Text title) SmokerScreen
(SmokerScreenHandler handler, PlayerInventory inventory, Text title) StonecutterScreen
(StonecutterScreenHandler handler, PlayerInventory inventory, Text title) -
Uses of PlayerInventory in net.minecraft.client.option
Modifier and TypeMethodDescriptionvoid
HotbarStorageEntry.serialize
(PlayerInventory playerInventory, DynamicRegistryManager registryManager) -
Uses of PlayerInventory in net.minecraft.entity.player
-
Uses of PlayerInventory in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionAbstractChestBoatEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) StorageMinecartEntity.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) ChestMinecartEntity.getScreenHandler
(int syncId, PlayerInventory playerInventory) HopperMinecartEntity.getScreenHandler
(int syncId, PlayerInventory playerInventory) protected abstract ScreenHandler
StorageMinecartEntity.getScreenHandler
(int syncId, PlayerInventory playerInventory) -
Uses of PlayerInventory in net.minecraft.recipe
Modifier and TypeMethodDescriptionstatic <I extends RecipeInput,
R extends Recipe<I>>
AbstractRecipeScreenHandler.PostFillActionInputSlotFiller.fill
(InputSlotFiller.Handler<R> handler, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn, PlayerInventory inventory, RecipeEntry<R> recipe, boolean craftAll, boolean creative) ModifierConstructorDescriptionprivate
InputSlotFiller
(InputSlotFiller.Handler<R> handler, PlayerInventory inventory, boolean craftAll, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn) -
Uses of PlayerInventory in net.minecraft.screen
Modifier and TypeMethodDescriptionprivate void
CrafterScreenHandler.addSlots
(PlayerInventory playerInventory) ScreenHandlerType.create
(int syncId, PlayerInventory playerInventory) ScreenHandlerType.Factory.create
(int syncId, PlayerInventory playerInventory) GenericContainerScreenHandler.createGeneric9x1
(int syncId, PlayerInventory playerInventory) GenericContainerScreenHandler.createGeneric9x2
(int syncId, PlayerInventory playerInventory) GenericContainerScreenHandler.createGeneric9x3
(int syncId, PlayerInventory playerInventory) GenericContainerScreenHandler.createGeneric9x3
(int syncId, PlayerInventory playerInventory, Inventory inventory) GenericContainerScreenHandler.createGeneric9x4
(int syncId, PlayerInventory playerInventory) GenericContainerScreenHandler.createGeneric9x5
(int syncId, PlayerInventory playerInventory) GenericContainerScreenHandler.createGeneric9x6
(int syncId, PlayerInventory playerInventory) GenericContainerScreenHandler.createGeneric9x6
(int syncId, PlayerInventory playerInventory, Inventory inventory) ScreenHandlerFactory.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) SimpleNamedScreenHandlerFactory.createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) AbstractCraftingScreenHandler.fillInputSlots
(boolean craftAll, boolean creative, RecipeEntry<?> recipe, ServerWorld world, PlayerInventory inventory) AbstractFurnaceScreenHandler.fillInputSlots
(boolean craftAll, boolean creative, RecipeEntry<?> recipe, ServerWorld world, PlayerInventory inventory) AbstractRecipeScreenHandler.fillInputSlots
(boolean craftAll, boolean creative, RecipeEntry<?> recipe, ServerWorld world, PlayerInventory inventory) ModifierConstructorDescriptionprotected
AbstractFurnaceScreenHandler
(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RegistryKey<RecipePropertySet> recipePropertySetKey, RecipeBookType category, int syncId, PlayerInventory platerInventory) protected
AbstractFurnaceScreenHandler
(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RegistryKey<RecipePropertySet> recipePropertySetKey, RecipeBookType category, int syncId, PlayerInventory platerInventory, Inventory inventory, PropertyDelegate propertyDelegate) AnvilScreenHandler
(int syncId, PlayerInventory inventory) AnvilScreenHandler
(int syncId, PlayerInventory inventory, ScreenHandlerContext context) BlastFurnaceScreenHandler
(int syncId, PlayerInventory playerInventory) BlastFurnaceScreenHandler
(int syncId, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate) BrewingStandScreenHandler
(int syncId, PlayerInventory playerInventory) BrewingStandScreenHandler
(int syncId, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate) CartographyTableScreenHandler
(int syncId, PlayerInventory inventory) CartographyTableScreenHandler
(int syncId, PlayerInventory inventory, ScreenHandlerContext context) CrafterScreenHandler
(int syncId, PlayerInventory playerInventory) CrafterScreenHandler
(int syncId, PlayerInventory playerInventory, RecipeInputInventory inputInventory, PropertyDelegate propertyDelegate) CraftingScreenHandler
(int syncId, PlayerInventory playerInventory) CraftingScreenHandler
(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context) EnchantmentScreenHandler
(int syncId, PlayerInventory playerInventory) EnchantmentScreenHandler
(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context) ForgingScreenHandler
(@Nullable ScreenHandlerType<?> type, int syncId, PlayerInventory playerInventory, ScreenHandlerContext context, ForgingSlotsManager forgingSlotsManager) FurnaceScreenHandler
(int syncId, PlayerInventory playerInventory) FurnaceScreenHandler
(int syncId, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate) Generic3x3ContainerScreenHandler
(int syncId, PlayerInventory playerInventory) Generic3x3ContainerScreenHandler
(int syncId, PlayerInventory playerInventory, Inventory inventory) private
GenericContainerScreenHandler
(ScreenHandlerType<?> type, int syncId, PlayerInventory playerInventory, int rows) GenericContainerScreenHandler
(ScreenHandlerType<?> type, int syncId, PlayerInventory playerInventory, Inventory inventory, int rows) GrindstoneScreenHandler
(int syncId, PlayerInventory playerInventory) GrindstoneScreenHandler
(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context) HopperScreenHandler
(int syncId, PlayerInventory playerInventory) HopperScreenHandler
(int syncId, PlayerInventory playerInventory, Inventory inventory) HorseScreenHandler
(int syncId, PlayerInventory playerInventory, Inventory inventory, AbstractHorseEntity entity, int slotColumnCount) LoomScreenHandler
(int syncId, PlayerInventory playerInventory) LoomScreenHandler
(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context) MerchantScreenHandler
(int syncId, PlayerInventory playerInventory) MerchantScreenHandler
(int syncId, PlayerInventory playerInventory, Merchant merchant) PlayerScreenHandler
(PlayerInventory inventory, boolean onServer, PlayerEntity owner) ShulkerBoxScreenHandler
(int syncId, PlayerInventory playerInventory) ShulkerBoxScreenHandler
(int syncId, PlayerInventory playerInventory, Inventory inventory) SmithingScreenHandler
(int syncId, PlayerInventory playerInventory) SmithingScreenHandler
(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context) private
SmithingScreenHandler
(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context, World world) SmokerScreenHandler
(int syncId, PlayerInventory playerInventory) SmokerScreenHandler
(int syncId, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate) StonecutterScreenHandler
(int syncId, PlayerInventory playerInventory) StonecutterScreenHandler
(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)