net.minecraft.world.item.enchantment

public record Enchantment$EnchantmentDefinition

dac$b
net.minecraft.world.item.enchantment.Enchantment$EnchantmentDefinition
net.minecraft.class_1887$class_9427
net.minecraft.enchantment.Enchantment$Properties
net.minecraft.src.C_1505_$C_313387_
net.minecraft.world.item.enchantment.Enchantment$b

Field summary

Modifier and TypeField
private final TagKey<Item>
a
supportedItems
comp_2506
supportedItems
f_316739_
final Optional<TagKey<Item>>
b
primaryItems
comp_2507
primaryItems
f_314876_
private final int
c
weight
comp_2508
weight
f_315386_
private final int
d
maxLevel
comp_2509
maxLevel
f_315828_
private final Enchantment$Cost
e
minCost
comp_2510
minCost
f_316239_
private final Enchantment$Cost
f
maxCost
comp_2511
maxCost
f_316226_
private final int
g
anvilCost
comp_2512
anvilCost
f_317020_
private final FeatureFlagSet
h
requiredFeatures
comp_2548
requiredFeatures
f_314796_
private final EquipmentSlot[]
i
slots
comp_2513
slots
f_315895_

Constructor summary

ModifierConstructor
public (TagKey<Item> primaryItems, Optional<TagKey<Item>> weight, int maxLevel, int minCost, Enchantment$Cost maxCost, Enchantment$Cost anvilCost, int requiredFeatures, FeatureFlagSet slots, EquipmentSlot[] arg8)

Method summary

Modifier and TypeMethod
public TagKey<Item>
a()
supportedItems()
comp_2506()
supportedItems()
f_316739_()
public Optional<TagKey<Item>>
b()
primaryItems()
comp_2507()
primaryItems()
f_314876_()
public int
c()
weight()
comp_2508()
weight()
f_315386_()
public int
d()
maxLevel()
comp_2509()
maxLevel()
f_315828_()
public Enchantment$Cost
e()
minCost()
comp_2510()
minCost()
f_316239_()
public Enchantment$Cost
f()
maxCost()
comp_2511()
maxCost()
f_316226_()
public int
g()
anvilCost()
comp_2512()
anvilCost()
f_317020_()
public FeatureFlagSet
h()
requiredFeatures()
comp_2548()
requiredFeatures()
f_314796_()
public EquipmentSlot[]
i()
slots()
comp_2513()
slots()
f_315895_()