net.minecraft.world.item.enchantment

public class ItemEnchantments$Mutable

dai$a
net.minecraft.world.item.enchantment.ItemEnchantments$Mutable
net.minecraft.class_9304$class_9305
net.minecraft.component.type.ItemEnchantmentsComponent$Builder
net.minecraft.src.C_313873_$C_313506_
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
f_314155_
private final boolean
b
showInTooltip
field_49392
showInTooltip
f_314097_

Constructor summary

ModifierConstructor
public (ItemEnchantments enchantmentsComponent)

Method summary

Modifier and TypeMethod
public void
a(jm<dac> arg0, int arg1)
set(Holder<Enchantment> arg0, int arg1)
method_57547(class_6880<class_1887> arg0, int arg1)
set(RegistryEntry<Enchantment> enchantment, int level)
m_319152_(C_203228_<C_1505_> p_330613_, int arg1)
public void
b(jm<dac> arg0, int arg1)
upgrade(Holder<Enchantment> arg0, int arg1)
method_57550(class_6880<class_1887> arg0, int arg1)
add(RegistryEntry<Enchantment> enchantment, int level)
m_323014_(C_203228_<C_1505_> p_332549_, int arg1)
public void
a(Predicate<jm<dac>> arg0)
removeIf(Predicate<Holder<Enchantment>> arg0)
method_57548(Predicate<class_6880<class_1887>> arg0)
remove(Predicate<RegistryEntry<Enchantment>> predicate)
m_319910_(Predicate<C_203228_<C_1505_>> arg0)
public int
a(jm<dac> arg0)
getLevel(Holder<Enchantment> arg0)
method_57546(class_6880<class_1887> arg0)
getLevel(RegistryEntry<Enchantment> enchantment)
m_319403_(C_203228_<C_1505_> arg0)
public Set<Holder<Enchantment>>
a()
keySet()
method_57545()
getEnchantments()
m_318718_()
public ItemEnchantments
b()
toImmutable()
method_57549()
build()
m_321565_()