Class BundleContents.Mutable
java.lang.Object
net.minecraft.world.item.component.BundleContents.Mutable
- Enclosing class:
BundleContents
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
findStackIndex
(ItemStack p_328563_) private int
getMaxAmountToAdd
(ItemStack p_335684_) int
int
tryTransfer
(Slot p_333053_, Player p_329130_) org.apache.commons.lang3.math.Fraction
weight()
-
Field Details
-
items
-
weight
private org.apache.commons.lang3.math.Fraction weight
-
-
Constructor Details
-
Mutable
-
-
Method Details
-
clearItems
-
findStackIndex
-
getMaxAmountToAdd
-
tryInsert
-
tryTransfer
-
removeOne
-
weight
public org.apache.commons.lang3.math.Fraction weight() -
toImmutable
-