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_331330_) keySet()
void
removeIf
(Predicate<Holder<Enchantment>> p_332079_) void
set
(Enchantment p_331872_, int p_330832_) void
upgrade
(Enchantment p_330536_, int p_331153_)
-
Field Details
-
enchantments
-
showInTooltip
private final boolean showInTooltip
-
-
Constructor Details
-
Mutable
-
-
Method Details
-
set
-
upgrade
-
removeIf
-
getLevel
-
keySet
-
toImmutable
-