Package net.minecraft.entity.player
Class PlayerInventory
java.lang.Object
net.minecraft.entity.player.PlayerInventory
- All Implemented Interfaces:
Iterable<ItemStack>,Inventory,StackReferenceGetter,Clearable,Nameable
- Mappings:
Namespace Name named net/minecraft/entity/player/PlayerInventoryintermediary net/minecraft/class_1661official ddl
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.inventory.Inventory
Inventory.Iterator -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intZero-based index of the body slot.private intprivate final EntityEquipmentstatic final it.unimi.dsi.fastutil.ints.Int2ObjectMap<EquipmentSlot> static final intThe number of columns (9) in the inventory.static final intThe maximum cooldown (5 ticks) applied to timed use items such as the Eye of Ender.private final DefaultedList<ItemStack> static final intThe number of slots (36) in the main (non-hotbar) section of the inventory.private static final Textstatic final intThe slot index (-1) used to indicate no result (item not present / no available space) when querying the inventory's contents or to indicate no preference when inserting an item into the inventory.static final intZero-based index of the offhand slot.final PlayerEntitystatic final intZero-based index of the saddle slot.private intFields inherited from interface net.minecraft.inventory.Inventory
DEFAULT_MAX_INTERACTION_RANGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intprivate intbooleancanPlayerUse(PlayerEntity player) Returns whetherplayercan use this inventory.private booleancanStackAddMore(ItemStack existingStack, ItemStack stack) voidclear()voidclone(PlayerInventory other) booleanbooleanbooleancreateSlotSetPacket(int slot) voiddropAll()dropSelectedItem(boolean entireStack) intintstatic intintgetMatchingSlot(RegistryEntry<Item> item, ItemStack stack) getName()Returns the name of this object.intintintgetSlotWithStack(ItemStack stack) getStack(int slot) Returns the stack currently stored atslot.intbooleaninsertStack(int slot, ItemStack stack) booleaninsertStack(ItemStack stack) booleanisEmpty()Returns whether the inventory consists entirely of empty item stacks.static booleanisValidHotbarIndex(int slot) voidMarks the inventory as modified.voidvoidofferOrDrop(ItemStack stack) voidpopulateRecipeFinder(RecipeFinder finder) voidintvoidremoveStack(int slot) Removes the stack currently stored atslot.removeStack(int slot, int amount) Removes a specific number of items fromslot.voidsetSelectedSlot(int slot) setSelectedStack(ItemStack stack) voidSets the stack stored atslottostack.intsize()Returns the size of the inventory.voidswapSlotWithHotbar(int slot) voidswapStackWithHotbar(ItemStack stack) voidstatic booleanusableWhenFillingSlot(ItemStack stack) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.inventory.Inventory
canTransferTo, containsAny, containsAny, count, getMaxCount, getMaxCountPerStack, getStackReference, getViewingUsers, isValid, iterator, onClose, onOpenMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface net.minecraft.util.Nameable
getCustomName, getDisplayName, getStringifiedName, hasCustomNameMethods inherited from interface net.minecraft.inventory.StackReferenceGetter
getStackReferences
-
Field Details
-
ITEM_USAGE_COOLDOWN
public static final int ITEM_USAGE_COOLDOWNThe maximum cooldown (5 ticks) applied to timed use items such as the Eye of Ender.- See Also:
- Mappings:
Namespace Name Mixin selector named ITEM_USAGE_COOLDOWNLnet/minecraft/entity/player/PlayerInventory;ITEM_USAGE_COOLDOWN:Iintermediary field_30637Lnet/minecraft/class_1661;field_30637:Iofficial bLddl;b:I
-
MAIN_SIZE
public static final int MAIN_SIZEThe number of slots (36) in the main (non-hotbar) section of the inventory.- See Also:
- Mappings:
Namespace Name Mixin selector named MAIN_SIZELnet/minecraft/entity/player/PlayerInventory;MAIN_SIZE:Iintermediary field_30638Lnet/minecraft/class_1661;field_30638:Iofficial cLddl;c:I
-
HOTBAR_SIZE
public static final int HOTBAR_SIZEThe number of columns (9) in the inventory.The same value dictates the size of the player's hotbar, excluding the offhand slot.
- See Also:
- Mappings:
Namespace Name Mixin selector named HOTBAR_SIZELnet/minecraft/entity/player/PlayerInventory;HOTBAR_SIZE:Iintermediary field_30641Lnet/minecraft/class_1661;field_30641:Iofficial dLddl;d:I
-
OFF_HAND_SLOT
public static final int OFF_HAND_SLOTZero-based index of the offhand slot.This value is the result of the sum
MAIN_SIZE (36) + ARMOR_SIZE (4).- See Also:
- Mappings:
Namespace Name Mixin selector named OFF_HAND_SLOTLnet/minecraft/entity/player/PlayerInventory;OFF_HAND_SLOT:Iintermediary field_30639Lnet/minecraft/class_1661;field_30639:Iofficial eLddl;e:I
-
BODY_SLOT
public static final int BODY_SLOTZero-based index of the body slot.- See Also:
- Mappings:
Namespace Name Mixin selector named BODY_SLOTLnet/minecraft/entity/player/PlayerInventory;BODY_SLOT:Iintermediary field_60982Lnet/minecraft/class_1661;field_60982:Iofficial fLddl;f:I
-
SADDLE_SLOT
public static final int SADDLE_SLOTZero-based index of the saddle slot.- See Also:
- Mappings:
Namespace Name Mixin selector named SADDLE_SLOTLnet/minecraft/entity/player/PlayerInventory;SADDLE_SLOT:Iintermediary field_60983Lnet/minecraft/class_1661;field_60983:Iofficial gLddl;g:I
-
NOT_FOUND
public static final int NOT_FOUNDThe slot index (-1) used to indicate no result (item not present / no available space) when querying the inventory's contents or to indicate no preference when inserting an item into the inventory.- See Also:
- Mappings:
Namespace Name Mixin selector named NOT_FOUNDLnet/minecraft/entity/player/PlayerInventory;NOT_FOUND:Iintermediary field_30640Lnet/minecraft/class_1661;field_30640:Iofficial hLddl;h:I
-
EQUIPMENT_SLOTS
- Mappings:
Namespace Name Mixin selector named EQUIPMENT_SLOTSLnet/minecraft/entity/player/PlayerInventory;EQUIPMENT_SLOTS:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_56551Lnet/minecraft/class_1661;field_56551:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;official iLddl;i:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
NAME
- Mappings:
Namespace Name Mixin selector named NAMELnet/minecraft/entity/player/PlayerInventory;NAME:Lnet/minecraft/text/Text;intermediary field_63028Lnet/minecraft/class_1661;field_63028:Lnet/minecraft/class_2561;official kLddl;k:Lyh;
-
main
- Mappings:
Namespace Name Mixin selector named mainLnet/minecraft/entity/player/PlayerInventory;main:Lnet/minecraft/util/collection/DefaultedList;intermediary field_7547Lnet/minecraft/class_1661;field_7547:Lnet/minecraft/class_2371;official lLddl;l:Ljm;
-
selectedSlot
private int selectedSlot- Mappings:
Namespace Name Mixin selector named selectedSlotLnet/minecraft/entity/player/PlayerInventory;selectedSlot:Iintermediary field_7545Lnet/minecraft/class_1661;field_7545:Iofficial mLddl;m:I
-
player
- Mappings:
Namespace Name Mixin selector named playerLnet/minecraft/entity/player/PlayerInventory;player:Lnet/minecraft/entity/player/PlayerEntity;intermediary field_7546Lnet/minecraft/class_1661;field_7546:Lnet/minecraft/class_1657;official jLddl;j:Lddm;
-
equipment
- Mappings:
Namespace Name Mixin selector named equipmentLnet/minecraft/entity/player/PlayerInventory;equipment:Lnet/minecraft/entity/EntityEquipment;intermediary field_56552Lnet/minecraft/class_1661;field_56552:Lnet/minecraft/class_10630;official nLddl;n:Lcgo;
-
changeCount
private int changeCount- Mappings:
Namespace Name Mixin selector named changeCountLnet/minecraft/entity/player/PlayerInventory;changeCount:Iintermediary field_7542Lnet/minecraft/class_1661;field_7542:Iofficial oLddl;o:I
-
-
Constructor Details
-
PlayerInventory
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/player/PlayerInventory;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/EntityEquipment;)Vintermediary <init>Lnet/minecraft/class_1661;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_10630;)Vofficial <init>Lddl;<init>(Lddm;Lcgo;)V
-
-
Method Details
-
getSelectedSlot
public int getSelectedSlot()- Mappings:
Namespace Name Mixin selector named getSelectedSlotLnet/minecraft/entity/player/PlayerInventory;getSelectedSlot()Iintermediary method_67532Lnet/minecraft/class_1661;method_67532()Iofficial gLddl;g()I
-
setSelectedSlot
public void setSelectedSlot(int slot) - Mappings:
Namespace Name Mixin selector named setSelectedSlotLnet/minecraft/entity/player/PlayerInventory;setSelectedSlot(I)Vintermediary method_61496Lnet/minecraft/class_1661;method_61496(I)Vofficial dLddl;d(I)V
-
getSelectedStack
- Mappings:
Namespace Name Mixin selector named getSelectedStackLnet/minecraft/entity/player/PlayerInventory;getSelectedStack()Lnet/minecraft/item/ItemStack;intermediary method_7391Lnet/minecraft/class_1661;method_7391()Lnet/minecraft/class_1799;official hLddl;h()Ldlt;
-
setSelectedStack
- Mappings:
Namespace Name Mixin selector named setSelectedStackLnet/minecraft/entity/player/PlayerInventory;setSelectedStack(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;intermediary method_67531Lnet/minecraft/class_1661;method_67531(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;official bLddl;b(Ldlt;)Ldlt;
-
getHotbarSize
public static int getHotbarSize()- Mappings:
Namespace Name Mixin selector named getHotbarSizeLnet/minecraft/entity/player/PlayerInventory;getHotbarSize()Iintermediary method_7368Lnet/minecraft/class_1661;method_7368()Iofficial iLddl;i()I
-
getMainStacks
- Mappings:
Namespace Name Mixin selector named getMainStacksLnet/minecraft/entity/player/PlayerInventory;getMainStacks()Lnet/minecraft/util/collection/DefaultedList;intermediary method_67533Lnet/minecraft/class_1661;method_67533()Lnet/minecraft/class_2371;official jLddl;j()Ljm;
-
canStackAddMore
- Mappings:
Namespace Name Mixin selector named canStackAddMoreLnet/minecraft/entity/player/PlayerInventory;canStackAddMore(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Zintermediary method_7393Lnet/minecraft/class_1661;method_7393(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Zofficial aLddl;a(Ldlt;Ldlt;)Z
-
getEmptySlot
public int getEmptySlot()- Mappings:
Namespace Name Mixin selector named getEmptySlotLnet/minecraft/entity/player/PlayerInventory;getEmptySlot()Iintermediary method_7376Lnet/minecraft/class_1661;method_7376()Iofficial kLddl;k()I
-
swapStackWithHotbar
- Mappings:
Namespace Name Mixin selector named swapStackWithHotbarLnet/minecraft/entity/player/PlayerInventory;swapStackWithHotbar(Lnet/minecraft/item/ItemStack;)Vintermediary method_65126Lnet/minecraft/class_1661;method_65126(Lnet/minecraft/class_1799;)Vofficial cLddl;c(Ldlt;)V
-
swapSlotWithHotbar
public void swapSlotWithHotbar(int slot) - Mappings:
Namespace Name Mixin selector named swapSlotWithHotbarLnet/minecraft/entity/player/PlayerInventory;swapSlotWithHotbar(I)Vintermediary method_7365Lnet/minecraft/class_1661;method_7365(I)Vofficial eLddl;e(I)V
-
isValidHotbarIndex
public static boolean isValidHotbarIndex(int slot) - Mappings:
Namespace Name Mixin selector named isValidHotbarIndexLnet/minecraft/entity/player/PlayerInventory;isValidHotbarIndex(I)Zintermediary method_7380Lnet/minecraft/class_1661;method_7380(I)Zofficial fLddl;f(I)Z
-
getSlotWithStack
- Mappings:
Namespace Name Mixin selector named getSlotWithStackLnet/minecraft/entity/player/PlayerInventory;getSlotWithStack(Lnet/minecraft/item/ItemStack;)Iintermediary method_7395Lnet/minecraft/class_1661;method_7395(Lnet/minecraft/class_1799;)Iofficial dLddl;d(Ldlt;)I
-
usableWhenFillingSlot
- Mappings:
Namespace Name Mixin selector named usableWhenFillingSlotLnet/minecraft/entity/player/PlayerInventory;usableWhenFillingSlot(Lnet/minecraft/item/ItemStack;)Zintermediary method_61495Lnet/minecraft/class_1661;method_61495(Lnet/minecraft/class_1799;)Zofficial eLddl;e(Ldlt;)Z
-
getMatchingSlot
- Mappings:
Namespace Name Mixin selector named getMatchingSlotLnet/minecraft/entity/player/PlayerInventory;getMatchingSlot(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/item/ItemStack;)Iintermediary method_61494Lnet/minecraft/class_1661;method_61494(Lnet/minecraft/class_6880;Lnet/minecraft/class_1799;)Iofficial aLddl;a(Ljd;Ldlt;)I
-
getSwappableHotbarSlot
public int getSwappableHotbarSlot()- Mappings:
Namespace Name Mixin selector named getSwappableHotbarSlotLnet/minecraft/entity/player/PlayerInventory;getSwappableHotbarSlot()Iintermediary method_7386Lnet/minecraft/class_1661;method_7386()Iofficial lLddl;l()I
-
remove
- Mappings:
Namespace Name Mixin selector named removeLnet/minecraft/entity/player/PlayerInventory;remove(Ljava/util/function/Predicate;ILnet/minecraft/inventory/Inventory;)Iintermediary method_29280Lnet/minecraft/class_1661;method_29280(Ljava/util/function/Predicate;ILnet/minecraft/class_1263;)Iofficial aLddl;a(Ljava/util/function/Predicate;ILccv;)I
-
addStack
- Mappings:
Namespace Name Mixin selector named addStackLnet/minecraft/entity/player/PlayerInventory;addStack(Lnet/minecraft/item/ItemStack;)Iintermediary method_7366Lnet/minecraft/class_1661;method_7366(Lnet/minecraft/class_1799;)Iofficial kLddl;k(Ldlt;)I
-
addStack
- Mappings:
Namespace Name Mixin selector named addStackLnet/minecraft/entity/player/PlayerInventory;addStack(ILnet/minecraft/item/ItemStack;)Iintermediary method_7385Lnet/minecraft/class_1661;method_7385(ILnet/minecraft/class_1799;)Iofficial dLddl;d(ILdlt;)I
-
getOccupiedSlotWithRoomForStack
- Mappings:
Namespace Name Mixin selector named getOccupiedSlotWithRoomForStackLnet/minecraft/entity/player/PlayerInventory;getOccupiedSlotWithRoomForStack(Lnet/minecraft/item/ItemStack;)Iintermediary method_7390Lnet/minecraft/class_1661;method_7390(Lnet/minecraft/class_1799;)Iofficial fLddl;f(Ldlt;)I
-
updateItems
public void updateItems()- Mappings:
Namespace Name Mixin selector named updateItemsLnet/minecraft/entity/player/PlayerInventory;updateItems()Vintermediary method_7381Lnet/minecraft/class_1661;method_7381()Vofficial mLddl;m()V
-
insertStack
- Mappings:
Namespace Name Mixin selector named insertStackLnet/minecraft/entity/player/PlayerInventory;insertStack(Lnet/minecraft/item/ItemStack;)Zintermediary method_7394Lnet/minecraft/class_1661;method_7394(Lnet/minecraft/class_1799;)Zofficial gLddl;g(Ldlt;)Z
-
insertStack
- Mappings:
Namespace Name Mixin selector named insertStackLnet/minecraft/entity/player/PlayerInventory;insertStack(ILnet/minecraft/item/ItemStack;)Zintermediary method_7367Lnet/minecraft/class_1661;method_7367(ILnet/minecraft/class_1799;)Zofficial cLddl;c(ILdlt;)Z
-
offerOrDrop
- Mappings:
Namespace Name Mixin selector named offerOrDropLnet/minecraft/entity/player/PlayerInventory;offerOrDrop(Lnet/minecraft/item/ItemStack;)Vintermediary method_7398Lnet/minecraft/class_1661;method_7398(Lnet/minecraft/class_1799;)Vofficial hLddl;h(Ldlt;)V
-
offer
- Mappings:
Namespace Name Mixin selector named offerLnet/minecraft/entity/player/PlayerInventory;offer(Lnet/minecraft/item/ItemStack;Z)Vintermediary method_32338Lnet/minecraft/class_1661;method_32338(Lnet/minecraft/class_1799;Z)Vofficial aLddl;a(Ldlt;Z)V
-
createSlotSetPacket
- Mappings:
Namespace Name Mixin selector named createSlotSetPacketLnet/minecraft/entity/player/PlayerInventory;createSlotSetPacket(I)Lnet/minecraft/network/packet/s2c/play/SetPlayerInventoryS2CPacket;intermediary method_61497Lnet/minecraft/class_1661;method_61497(I)Lnet/minecraft/class_9835;official gLddl;g(I)Lagy;
-
removeStack
Removes a specific number of items fromslot.- Specified by:
removeStackin interfaceInventory- Returns:
- the removed items as a stack
- Mappings:
Namespace Name Mixin selector named removeStackLnet/minecraft/inventory/Inventory;removeStack(II)Lnet/minecraft/item/ItemStack;intermediary method_5434Lnet/minecraft/class_1263;method_5434(II)Lnet/minecraft/class_1799;official aLccv;a(II)Ldlt;
-
removeOne
- Mappings:
Namespace Name Mixin selector named removeOneLnet/minecraft/entity/player/PlayerInventory;removeOne(Lnet/minecraft/item/ItemStack;)Vintermediary method_7378Lnet/minecraft/class_1661;method_7378(Lnet/minecraft/class_1799;)Vofficial iLddl;i(Ldlt;)V
-
removeStack
Removes the stack currently stored atslot.- Specified by:
removeStackin interfaceInventory- Returns:
- the stack previously stored at the indicated slot
- Mappings:
Namespace Name Mixin selector named removeStackLnet/minecraft/inventory/Inventory;removeStack(I)Lnet/minecraft/item/ItemStack;intermediary method_5441Lnet/minecraft/class_1263;method_5441(I)Lnet/minecraft/class_1799;official bLccv;b(I)Ldlt;
-
setStack
Sets the stack stored atslottostack. -
writeData
- Mappings:
Namespace Name Mixin selector named writeDataLnet/minecraft/entity/player/PlayerInventory;writeData(Lnet/minecraft/storage/WriteView$ListAppender;)Vintermediary method_7384Lnet/minecraft/class_1661;method_7384(Lnet/minecraft/class_11372$class_11373;)Vofficial aLddl;a(Lfns$a;)V
-
readData
- Mappings:
Namespace Name Mixin selector named readDataLnet/minecraft/entity/player/PlayerInventory;readData(Lnet/minecraft/storage/ReadView$TypedListReadView;)Vintermediary method_7397Lnet/minecraft/class_1661;method_7397(Lnet/minecraft/class_11368$class_11369;)Vofficial aLddl;a(Lfnq$a;)V
-
size
public int size()Returns the size of the inventory.The inventory should support the slot ID from
0tosize() - 1. This should remain constant throughout the inventory's lifetime. -
isEmpty
public boolean isEmpty()Returns whether the inventory consists entirely of empty item stacks.- Specified by:
isEmptyin interfaceInventory- Returns:
- whether the inventory consists entirely of empty item stacks
- Mappings:
Namespace Name Mixin selector named isEmptyLnet/minecraft/inventory/Inventory;isEmpty()Zintermediary method_5442Lnet/minecraft/class_1263;method_5442()Zofficial cLccv;c()Z
-
getStack
Returns the stack currently stored atslot.If the slot is empty, or is outside the bounds of this inventory, this returns
ItemStack.EMPTY.- Specified by:
getStackin interfaceInventory- Returns:
- the stack currently stored at
slot - Mappings:
Namespace Name Mixin selector named getStackLnet/minecraft/inventory/Inventory;getStack(I)Lnet/minecraft/item/ItemStack;intermediary method_5438Lnet/minecraft/class_1263;method_5438(I)Lnet/minecraft/class_1799;official aLccv;a(I)Ldlt;
-
getName
Returns the name of this object.This should return the custom name if it exists, otherwise the default name. This should not have styling applied.
- Specified by:
getNamein interfaceNameable- Returns:
- the name of this object
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/util/Nameable;getName()Lnet/minecraft/text/Text;intermediary method_5477Lnet/minecraft/class_1275;method_5477()Lnet/minecraft/class_2561;official apLcdg;ap()Lyh;
-
dropAll
public void dropAll()- Mappings:
Namespace Name Mixin selector named dropAllLnet/minecraft/entity/player/PlayerInventory;dropAll()Vintermediary method_7388Lnet/minecraft/class_1661;method_7388()Vofficial nLddl;n()V
-
markDirty
public void markDirty()Marks the inventory as modified. Implementations should call this method every time the inventory is changed in any way.- Specified by:
markDirtyin interfaceInventory- See Also:
- API Note:
- Implementations should mark the inventory for synchronization or
saving in this method. Since this is called frequently, it is not recommended to
synchronize or save the inventory directly in this method. If this inventory is
implemented in a block entity, then it should always call
super.markDirty();to ensure the block entity gets saved. - Mappings:
Namespace Name Mixin selector named markDirtyLnet/minecraft/inventory/Inventory;markDirty()Vintermediary method_5431Lnet/minecraft/class_1263;method_5431()Vofficial eLccv;e()V
-
getChangeCount
public int getChangeCount()- Mappings:
Namespace Name Mixin selector named getChangeCountLnet/minecraft/entity/player/PlayerInventory;getChangeCount()Iintermediary method_7364Lnet/minecraft/class_1661;method_7364()Iofficial oLddl;o()I
-
canPlayerUse
Returns whetherplayercan use this inventory.This is called by
ScreenHandler.canUse(net.minecraft.screen.ScreenHandlerContext, net.minecraft.entity.player.PlayerEntity, net.minecraft.block.Block).- Specified by:
canPlayerUsein interfaceInventory- Returns:
- whether
playercan use this inventory - See Also:
- API Note:
- Implementations should check the distance between the inventory
holder and
player. For convenience, this interface offers two methods used by block entities to implement this check. - Mappings:
Namespace Name Mixin selector named canPlayerUseLnet/minecraft/inventory/Inventory;canPlayerUse(Lnet/minecraft/entity/player/PlayerEntity;)Zintermediary method_5443Lnet/minecraft/class_1263;method_5443(Lnet/minecraft/class_1657;)Zofficial aLccv;a(Lddm;)Z
-
contains
- Mappings:
Namespace Name Mixin selector named containsLnet/minecraft/entity/player/PlayerInventory;contains(Lnet/minecraft/item/ItemStack;)Zintermediary method_7379Lnet/minecraft/class_1661;method_7379(Lnet/minecraft/class_1799;)Zofficial jLddl;j(Ldlt;)Z
-
contains
- Mappings:
Namespace Name Mixin selector named containsLnet/minecraft/entity/player/PlayerInventory;contains(Lnet/minecraft/registry/tag/TagKey;)Zintermediary method_7382Lnet/minecraft/class_1661;method_7382(Lnet/minecraft/class_6862;)Zofficial aLddl;a(Lbef;)Z
-
contains
- Mappings:
Namespace Name Mixin selector named containsLnet/minecraft/entity/player/PlayerInventory;contains(Ljava/util/function/Predicate;)Zintermediary method_55753Lnet/minecraft/class_1661;method_55753(Ljava/util/function/Predicate;)Zofficial bLddl;b(Ljava/util/function/Predicate;)Z
-
clone
- Mappings:
Namespace Name Mixin selector named cloneLnet/minecraft/entity/player/PlayerInventory;clone(Lnet/minecraft/entity/player/PlayerInventory;)Vintermediary method_7377Lnet/minecraft/class_1661;method_7377(Lnet/minecraft/class_1661;)Vofficial aLddl;a(Lddl;)V
-
clear
public void clear() -
populateRecipeFinder
- Mappings:
Namespace Name Mixin selector named populateRecipeFinderLnet/minecraft/entity/player/PlayerInventory;populateRecipeFinder(Lnet/minecraft/recipe/RecipeFinder;)Vintermediary method_7387Lnet/minecraft/class_1661;method_7387(Lnet/minecraft/class_9875;)Vofficial aLddl;a(Lddu;)V
-
dropSelectedItem
- Mappings:
Namespace Name Mixin selector named dropSelectedItemLnet/minecraft/entity/player/PlayerInventory;dropSelectedItem(Z)Lnet/minecraft/item/ItemStack;intermediary method_37417Lnet/minecraft/class_1661;method_37417(Z)Lnet/minecraft/class_1799;official aLddl;a(Z)Ldlt;
-