net.minecraft.world.item.enchantment

public class ItemEnchantments$Mutable

def$a
net.minecraft.world.item.enchantment.ItemEnchantments$Mutable
net.minecraft.class_9304$class_9305
net.minecraft.component.type.ItemEnchantmentsComponent$Builder
net.minecraft.world.item.enchantment.ItemEnchantments$a

Field summary

Modifier and TypeField
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>
a
enchantments
field_49391
enchantments
private final boolean
b
showInTooltip
field_49392
showInTooltip

Constructor summary

ModifierConstructor
public (ItemEnchantments enchantmentsComponent)

Method summary

Modifier and TypeMethod
public void
a(jq<ddz> arg0, int arg1)
set(Holder<Enchantment> arg0, int arg1)
method_57547(class_6880<class_1887> arg0, int arg1)
set(RegistryEntry<Enchantment> enchantment, int level)
public void
b(jq<ddz> arg0, int arg1)
upgrade(Holder<Enchantment> arg0, int arg1)
method_57550(class_6880<class_1887> arg0, int arg1)
add(RegistryEntry<Enchantment> enchantment, int level)
public void
a(Predicate<jq<ddz>> arg0)
removeIf(Predicate<Holder<Enchantment>> arg0)
method_57548(Predicate<class_6880<class_1887>> arg0)
remove(Predicate<RegistryEntry<Enchantment>> predicate)
public int
a(jq<ddz> arg0)
getLevel(Holder<Enchantment> arg0)
method_57546(class_6880<class_1887> arg0)
getLevel(RegistryEntry<Enchantment> enchantment)
public Set<Holder<Enchantment>>
a()
keySet()
method_57545()
getEnchantments()
public ItemEnchantments
b()
toImmutable()
method_57549()
build()