Class ItemEnchantments.Mutable
java.lang.Object
net.minecraft.world.item.enchantment.ItemEnchantments.Mutable
- Enclosing class:
ItemEnchantments
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap
<Holder<Enchantment>> private final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getLevel
(Holder<Enchantment> p_345430_) keySet()
void
removeIf
(Predicate<Holder<Enchantment>> p_332079_) void
set
(Holder<Enchantment> p_344861_, int p_330832_) void
upgrade
(Holder<Enchantment> p_346263_, int p_331153_)
-
Field Details
-
enchantments
-
showInTooltip
private final boolean showInTooltip
-
-
Constructor Details
-
Mutable
-
-
Method Details
-
set
-
upgrade
-
removeIf
-
getLevel
-
keySet
-
toImmutable
-