History - net.minecraft.world.item.enchantment.ItemEnchantments
1.21.3
Names
dai
def
Fields
ItemEnchantments: a, EMPTY, field_49385, DEFAULT, f_314789_
ItemEnchantments: a, EMPTY, field_49385, DEFAULT
com.mojang.serialization.Codec<Integer>: d, LEVEL_CODEC, field_49388, ENCHANTMENT_LEVEL_CODEC, f_314123_
com.mojang.serialization.Codec<Integer>: d, LEVEL_CODEC, field_49388, ENCHANTMENT_LEVEL_CODEC
com.mojang.serialization.Codec<it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>>: e, LEVELS_CODEC, field_49753, INLINE_CODEC, f_316166_
com.mojang.serialization.Codec<it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>>: e, LEVELS_CODEC, field_49753, INLINE_CODEC
com.mojang.serialization.Codec<ItemEnchantments>: f, FULL_CODEC, field_49754, BASE_CODEC, f_314760_
com.mojang.serialization.Codec<ItemEnchantments>: f, FULL_CODEC, field_49754, BASE_CODEC
com.mojang.serialization.Codec<ItemEnchantments>: b, CODEC, field_49386, CODEC, f_315579_
com.mojang.serialization.Codec<ItemEnchantments>: b, CODEC, field_49386, CODEC
StreamCodec<RegistryFriendlyByteBuf, ItemEnchantments>: c, STREAM_CODEC, field_49387, PACKET_CODEC, f_316523_
StreamCodec<RegistryFriendlyByteBuf, ItemEnchantments>: c, STREAM_CODEC, field_49387, PACKET_CODEC
it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>: g, enchantments, field_49389, enchantments, f_315809_
it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>: g, enchantments, field_49389, enchantments
boolean: h, showInTooltip, field_49390, showInTooltip, f_316957_
boolean: h, showInTooltip, field_49390, showInTooltip
Constructors
Methods
void (Item$TooltipContext, Consumer<Component>, TooltipFlag): a, addToTooltip, method_57409, appendTooltip, m_319025_
void (Item$TooltipContext, Consumer<Component>, TooltipFlag): a, addToTooltip, method_57409, appendTooltip
<T> HolderSet<T> (HolderLookup$Provider, ResourceKey<Registry<T>>, TagKey<T>): a, getTagOrEmpty, method_59716, getTooltipOrderList, m_318888_
<T> HolderSet<T> (HolderLookup$Provider, ResourceKey<Registry<T>>, TagKey<T>): a, getTagOrEmpty, method_59716, getTooltipOrderList
ItemEnchantments (boolean): a, withTooltip, method_58449, withShowInTooltip, m_323674_
ItemEnchantments (boolean): a, withTooltip, method_58449, withShowInTooltip
Set<Holder<Enchantment>> (): a, keySet, method_57534, getEnchantments, m_324420_
Set<Holder<Enchantment>> (): a, keySet, method_57534, getEnchantments
Set<it.unimi.dsi.fastutil.objects.Object2IntMap$Entry<Holder<Enchantment>>> (): b, entrySet, method_57539, getEnchantmentEntries, m_320130_
Set<it.unimi.dsi.fastutil.objects.Object2IntMap$Entry<Holder<Enchantment>>> (): b, entrySet, method_57539, getEnchantmentEntries
int (): c, size, method_57541, getSize, m_322852_
int (): c, size, method_57541, getSize
boolean (): d, isEmpty, method_57543, isEmpty, m_324000_
boolean (): d, isEmpty, method_57543, isEmpty
int (Holder<Enchantment>): a, getLevel, method_57536, getLevel, m_320299_
int (Holder<Enchantment>): a, getLevel, method_57536, getLevel
1.21.1
Names
Fields
Constructors
Methods
1.21
Names
dah
dai
Fields
int: b, MAX_LEVEL, field_50014, MAX_ENCHANTMENT_LEVEL, f_314187_
com.mojang.serialization.Codec<Integer>: e, LEVEL_CODEC, field_49388, ENCHANTMENT_LEVEL_CODEC, f_314123_
com.mojang.serialization.Codec<Integer>: d, LEVEL_CODEC, field_49388, ENCHANTMENT_LEVEL_CODEC, f_314123_
com.mojang.serialization.Codec<it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>>: f, LEVELS_CODEC, field_49753, INLINE_CODEC, f_316166_
com.mojang.serialization.Codec<it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>>: e, LEVELS_CODEC, field_49753, INLINE_CODEC, f_316166_
com.mojang.serialization.Codec<ItemEnchantments>: g, FULL_CODEC, field_49754, BASE_CODEC, f_314760_
com.mojang.serialization.Codec<ItemEnchantments>: f, FULL_CODEC, field_49754, BASE_CODEC, f_314760_
com.mojang.serialization.Codec<ItemEnchantments>: c, CODEC, field_49386, CODEC, f_315579_
com.mojang.serialization.Codec<ItemEnchantments>: b, CODEC, field_49386, CODEC, f_315579_
StreamCodec<RegistryFriendlyByteBuf, ItemEnchantments>: d, STREAM_CODEC, field_49387, PACKET_CODEC, f_316523_
StreamCodec<RegistryFriendlyByteBuf, ItemEnchantments>: c, STREAM_CODEC, field_49387, PACKET_CODEC, f_316523_
it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>: h, enchantments, field_49389, enchantments, f_315809_
it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>: g, enchantments, field_49389, enchantments, f_315809_
boolean: i, showInTooltip, field_49390, showInTooltip, f_316957_
boolean: h, showInTooltip, field_49390, showInTooltip, f_316957_
Constructors
Methods
int (Enchantment): a, getLevel, method_57536, getLevel, m_320299_
Set<it.unimi.dsi.fastutil.objects.Object2IntMap$Entry<Holder<Enchantment>>> (): b, entrySet, method_57539, getEnchantmentsMap, m_320130_
Set<it.unimi.dsi.fastutil.objects.Object2IntMap$Entry<Holder<Enchantment>>> (): b, entrySet, method_57539, getEnchantmentEntries, m_320130_
int (Holder<Enchantment>): a, getLevel, method_57536, getLevel, m_320299_
1.20.6
Names
dah
net.minecraft.world.item.enchantment.ItemEnchantments
net.minecraft.class_9304
net.minecraft.component.type.ItemEnchantmentsComponent
net.minecraft.src.C_313873_
net.minecraft.world.item.enchantment.ItemEnchantments
Fields
ItemEnchantments: a, EMPTY, field_49385, DEFAULT, f_314789_
int: b, MAX_LEVEL, field_50014, MAX_ENCHANTMENT_LEVEL, f_314187_
com.mojang.serialization.Codec<Integer>: e, LEVEL_CODEC, field_49388, ENCHANTMENT_LEVEL_CODEC, f_314123_
com.mojang.serialization.Codec<it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>>: f, LEVELS_CODEC, field_49753, INLINE_CODEC, f_316166_
com.mojang.serialization.Codec<ItemEnchantments>: g, FULL_CODEC, field_49754, BASE_CODEC, f_314760_
com.mojang.serialization.Codec<ItemEnchantments>: c, CODEC, field_49386, CODEC, f_315579_
StreamCodec<RegistryFriendlyByteBuf, ItemEnchantments>: d, STREAM_CODEC, field_49387, PACKET_CODEC, f_316523_
it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>: h, enchantments, field_49389, enchantments, f_315809_
boolean: i, showInTooltip, field_49390, showInTooltip, f_316957_
Constructors
(it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>, boolean)
Methods
int (Enchantment): a, getLevel, method_57536, getLevel, m_320299_
void (Item$TooltipContext, Consumer<Component>, TooltipFlag): a, addToTooltip, method_57409, appendTooltip, m_319025_
<T> HolderSet<T> (HolderLookup$Provider, ResourceKey<Registry<T>>, TagKey<T>): a, getTagOrEmpty, method_59716, getTooltipOrderList, m_318888_
ItemEnchantments (boolean): a, withTooltip, method_58449, withShowInTooltip, m_323674_
Set<Holder<Enchantment>> (): a, keySet, method_57534, getEnchantments, m_324420_
Set<it.unimi.dsi.fastutil.objects.Object2IntMap$Entry<Holder<Enchantment>>> (): b, entrySet, method_57539, getEnchantmentsMap, m_320130_
int (): c, size, method_57541, getSize, m_322852_
boolean (): d, isEmpty, method_57543, isEmpty, m_324000_