类的使用
net.minecraft.entity.player.PlayerInventory
-
-
net.minecraft.advancement.criterion中PlayerInventory的使用
参数类型为PlayerInventory的net.minecraft.advancement.criterion中的方法 修饰符和类型 方法 说明 booleanInventoryChangedCriterion.Conditions. matches(PlayerInventory inventory, ItemStack stack, int full, int empty, int occupied)voidInventoryChangedCriterion. trigger(ServerPlayerEntity player, PlayerInventory inventory, ItemStack stack)private voidInventoryChangedCriterion. trigger(ServerPlayerEntity player, PlayerInventory inventory, ItemStack stack, int full, int empty, int occupied) -
net.minecraft.block.entity中PlayerInventory的使用
参数类型为PlayerInventory的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 @Nullable ScreenHandlerBeaconBlockEntity. createMenu(int syncId, PlayerInventory inv, PlayerEntity player)ScreenHandlerLecternBlockEntity. createMenu(int syncId, PlayerInventory inv, PlayerEntity player)@Nullable ScreenHandlerLockableContainerBlockEntity. createMenu(int syncId, PlayerInventory inv, PlayerEntity player)@Nullable ScreenHandlerLootableContainerBlockEntity. createMenu(int syncId, PlayerInventory inv, PlayerEntity player)protected ScreenHandlerBarrelBlockEntity. createScreenHandler(int syncId, PlayerInventory playerInventory)protected ScreenHandlerBlastFurnaceBlockEntity. createScreenHandler(int syncId, PlayerInventory playerInventory)protected ScreenHandlerBrewingStandBlockEntity. createScreenHandler(int syncId, PlayerInventory playerInventory)protected ScreenHandlerChestBlockEntity. createScreenHandler(int syncId, PlayerInventory playerInventory)protected ScreenHandlerDispenserBlockEntity. createScreenHandler(int syncId, PlayerInventory playerInventory)protected ScreenHandlerFurnaceBlockEntity. createScreenHandler(int syncId, PlayerInventory playerInventory)protected ScreenHandlerHopperBlockEntity. createScreenHandler(int syncId, PlayerInventory playerInventory)protected abstract ScreenHandlerLockableContainerBlockEntity. createScreenHandler(int syncId, PlayerInventory playerInventory)protected ScreenHandlerShulkerBoxBlockEntity. createScreenHandler(int syncId, PlayerInventory playerInventory)protected ScreenHandlerSmokerBlockEntity. createScreenHandler(int syncId, PlayerInventory playerInventory) -
net.minecraft.client.gui.screen.ingame中PlayerInventory的使用
参数类型为PlayerInventory的net.minecraft.client.gui.screen.ingame中的方法 修饰符和类型 方法 说明 UHandledScreens.Provider. create(T handler, PlayerInventory playerInventory, Text title) -
net.minecraft.entity.player中PlayerInventory的使用
声明为PlayerInventory的net.minecraft.entity.player中的字段 修饰符和类型 字段 说明 private PlayerInventoryPlayerEntity. inventory返回PlayerInventory的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 PlayerInventoryPlayerEntity. getInventory()参数类型为PlayerInventory的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 voidPlayerInventory. clone(PlayerInventory other) -
net.minecraft.entity.vehicle中PlayerInventory的使用
参数类型为PlayerInventory的net.minecraft.entity.vehicle中的方法 修饰符和类型 方法 说明 @Nullable ScreenHandlerStorageMinecartEntity. createMenu(int syncId, PlayerInventory inv, PlayerEntity player)ScreenHandlerChestMinecartEntity. getScreenHandler(int syncId, PlayerInventory playerInventory)ScreenHandlerHopperMinecartEntity. getScreenHandler(int syncId, PlayerInventory playerInventory)protected abstract ScreenHandlerStorageMinecartEntity. getScreenHandler(int syncId, PlayerInventory playerInventory) -
net.minecraft.recipe中PlayerInventory的使用
声明为PlayerInventory的net.minecraft.recipe中的字段 修饰符和类型 字段 说明 protected PlayerInventoryInputSlotFiller. inventory -
net.minecraft.screen中PlayerInventory的使用
参数类型为PlayerInventory的net.minecraft.screen中的方法 修饰符和类型 方法 说明 TScreenHandlerType. create(int syncId, PlayerInventory playerInventory)TScreenHandlerType.Factory. create(int syncId, PlayerInventory playerInventory)static GenericContainerScreenHandlerGenericContainerScreenHandler. createGeneric9x1(int syncId, PlayerInventory playerInventory)static GenericContainerScreenHandlerGenericContainerScreenHandler. createGeneric9x2(int syncId, PlayerInventory playerInventory)static GenericContainerScreenHandlerGenericContainerScreenHandler. createGeneric9x3(int syncId, PlayerInventory playerInventory)static GenericContainerScreenHandlerGenericContainerScreenHandler. createGeneric9x3(int syncId, PlayerInventory playerInventory, Inventory inventory)static GenericContainerScreenHandlerGenericContainerScreenHandler. createGeneric9x4(int syncId, PlayerInventory playerInventory)static GenericContainerScreenHandlerGenericContainerScreenHandler. createGeneric9x5(int syncId, PlayerInventory playerInventory)static GenericContainerScreenHandlerGenericContainerScreenHandler. createGeneric9x6(int syncId, PlayerInventory playerInventory)static GenericContainerScreenHandlerGenericContainerScreenHandler. createGeneric9x6(int syncId, PlayerInventory playerInventory, Inventory inventory)@Nullable ScreenHandlerScreenHandlerFactory. createMenu(int syncId, PlayerInventory inv, PlayerEntity player)ScreenHandlerSimpleNamedScreenHandlerFactory. createMenu(int syncId, PlayerInventory inv, PlayerEntity player)
-