implements TooltipProvider
ddg | |
net.minecraft.world.item.enchantment.ItemEnchantments | |
net.minecraft.class_9304 | |
net.minecraft.component.type.ItemEnchantmentsComponent | |
net.minecraft.world.item.enchantment.ItemEnchantments |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
public static final ItemEnchantments |
| ||||||||
private static final com.mojang.serialization.Codec<Integer> |
| ||||||||
private static final com.mojang.serialization.Codec<it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>> |
| ||||||||
private static final com.mojang.serialization.Codec<ItemEnchantments> |
| ||||||||
public static final com.mojang.serialization.Codec<ItemEnchantments> |
| ||||||||
public static final StreamCodec<RegistryFriendlyByteBuf, ItemEnchantments> |
| ||||||||
final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>> |
| ||||||||
final boolean |
|
Constructor summary
Modifier | Constructor |
---|---|
(it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>> enchantments, boolean showInTooltip) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
public int |
| ||||||||
public void |
| ||||||||
private static <T> HolderSet<T> |
| ||||||||
public ItemEnchantments |
| ||||||||
public Set<Holder<Enchantment>> |
| ||||||||
public Set<it.unimi.dsi.fastutil.objects.Object2IntMap$Entry<Holder<Enchantment>>> |
| ||||||||
public int |
| ||||||||
public boolean |
|