历史 - net.minecraft.world.item.enchantment.ItemEnchantments

1.21.11

名称

dok

dsu

字段

构造函数

方法

1.21.10

名称

字段

构造函数

方法

1.21.9

名称

djo

dok

字段

构造函数

方法

1.21.8

名称

字段

构造函数

方法

1.21.7

名称

字段

构造函数

方法

1.21.6

名称

dhd

djo

字段

构造函数

方法

1.21.5

名称

ddg

dhd

字段

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>: f, FULL_CODEC, field_49754, BASE_CODEC, f_314760_

it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>: g, enchantments, field_49389, enchantments, f_315809_

it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>: e, enchantments, field_49389, enchantments, f_315809_

boolean: h, showInTooltip, field_49390, showInTooltip, f_316957_

构造函数

(it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>, boolean)

(it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>)

方法

void (Item$TooltipContext, Consumer<Component>, TooltipFlag): a, addToTooltip, method_57409, appendTooltip, m_319025_

ItemEnchantments (boolean): a, withTooltip, method_58449, withShowInTooltip, m_323674_

void (Item$TooltipContext, Consumer<Component>, TooltipFlag, DataComponentGetter): a, addToTooltip, method_57409, appendTooltip, m_319025_

1.21.4

名称

def

ddg

字段

构造函数

方法

1.21.3

名称

dai

def

字段

构造函数

方法

1.21.1

名称

字段

构造函数

方法

1.21

名称

dah

dai

字段

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_

构造函数

方法

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

名称

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

字段

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_

构造函数

(it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>, boolean)

方法

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_