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_342208_) keySet()
void
removeIf
(Predicate<Holder<Enchantment>> p_330896_) void
set
(Holder<Enchantment> p_343732_, int p_330613_) void
upgrade
(Holder<Enchantment> p_345245_, int p_332549_)
-
Field Details
-
enchantments
-
showInTooltip
private final boolean showInTooltip
-
-
Constructor Details
-
Mutable
-
-
Method Details
-
set
-
upgrade
-
removeIf
-
getLevel
-
keySet
-
toImmutable
-