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.unmapped.C_qlclfxvn$C_vbojeisc
net.minecraft.component.type.ItemEnchantmentsComponent$Builder
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
f_omibnext
enchantments
enchantments
f_314155_
private final boolean
b
showInTooltip
field_49392
f_lvvemeqz
showInTooltip
shownInTooltip
f_314097_

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)
m_gpwlqqlc(C_cjzoxshv<C_jxtrubuh> arg0, int arg1)
set(RegistryEntry<Enchantment> enchantment, int level)
set(Holder<Enchantment> enchantment, int level)
m_319152_(C_203228_<C_1505_> p_330613_, int arg1)
public void
b(jq<ddz> arg0, int arg1)
upgrade(Holder<Enchantment> arg0, int arg1)
method_57550(class_6880<class_1887> arg0, int arg1)
m_emkouuul(C_cjzoxshv<C_jxtrubuh> arg0, int arg1)
add(RegistryEntry<Enchantment> enchantment, int level)
upgrade(Holder<Enchantment> enchantment, int level)
m_323014_(C_203228_<C_1505_> p_332549_, int arg1)
public void
a(Predicate<jq<ddz>> arg0)
removeIf(Predicate<Holder<Enchantment>> arg0)
method_57548(Predicate<class_6880<class_1887>> arg0)
m_tatgilpr(Predicate<C_cjzoxshv<C_jxtrubuh>> arg0)
remove(Predicate<RegistryEntry<Enchantment>> predicate)
removeIf(Predicate<Holder<Enchantment>> predicate)
m_319910_(Predicate<C_203228_<C_1505_>> arg0)
public int
a(jq<ddz> arg0)
getLevel(Holder<Enchantment> arg0)
method_57546(class_6880<class_1887> arg0)
m_wsnzisby(C_cjzoxshv<C_jxtrubuh> arg0)
getLevel(RegistryEntry<Enchantment> enchantment)
getLevel(Holder<Enchantment> enchantment)
m_319403_(C_203228_<C_1505_> arg0)
public Set<Holder<Enchantment>>
a()
keySet()
method_57545()
m_wdbjobvh()
getEnchantments()
getEnchantments()
m_318718_()
public ItemEnchantments
b()
toImmutable()
method_57549()
m_gmievggf()
build()
build()
m_321565_()