Uses of Class
net.minecraft.entity.player.PlayerInventory
Packages that use PlayerInventory
Package
Description
-
Uses of PlayerInventory in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type PlayerInventoryModifier 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
Methods in net.minecraft.block.entity with parameters of type PlayerInventoryModifier and TypeMethodDescriptionBeaconBlockEntity.createMenu(int syncId, PlayerInventory inv, PlayerEntity player)
LecternBlockEntity.createMenu(int syncId, PlayerInventory inv, PlayerEntity player)
LockableContainerBlockEntity.createMenu(int syncId, PlayerInventory inv, PlayerEntity player)
LootableContainerBlockEntity.createMenu(int syncId, PlayerInventory inv, 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
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
Methods in net.minecraft.client.gui.screen.ingame with parameters of type PlayerInventoryModifier and TypeMethodDescriptionHandledScreens.Provider.create(T handler, PlayerInventory playerInventory, Text title)
Constructors in net.minecraft.client.gui.screen.ingame with parameters of type PlayerInventoryModifierConstructorDescriptionAbstractFurnaceScreen(T handler, AbstractFurnaceRecipeBookScreen recipeBook, PlayerInventory inventory, Text title, Identifier background)
AbstractInventoryScreen(T handler, PlayerInventory inventory, Text title)
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)
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, HorseBaseEntity entity)
LecternScreen(LecternScreenHandler handler, PlayerInventory inventory, Text title)
LoomScreen(LoomScreenHandler handler, PlayerInventory inventory, Text title)
MerchantScreen(MerchantScreenHandler handler, 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.entity.player
Fields in net.minecraft.entity.player declared as PlayerInventoryMethods in net.minecraft.entity.player that return PlayerInventoryMethods in net.minecraft.entity.player with parameters of type PlayerInventory -
Uses of PlayerInventory in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type PlayerInventoryModifier and TypeMethodDescriptionStorageMinecartEntity.createMenu(int syncId, PlayerInventory inv, 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
Fields in net.minecraft.recipe declared as PlayerInventory -
Uses of PlayerInventory in net.minecraft.screen
Methods in net.minecraft.screen with parameters of type PlayerInventoryModifier and TypeMethodDescriptionScreenHandlerType.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 inv, PlayerEntity player)
SimpleNamedScreenHandlerFactory.createMenu(int syncId, PlayerInventory inv, PlayerEntity player)
Constructors in net.minecraft.screen with parameters of type PlayerInventoryModifierConstructorDescriptionprotected
AbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory)
protected
AbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory, 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)
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)
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, HorseBaseEntity entity)
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)
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)