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