Uses of Record Class
net.minecraft.enchantment.Enchantment.class_9426
Packages that use Enchantment.class_9426
-
Uses of Enchantment.class_9426 in net.minecraft.enchantment
Fields in net.minecraft.enchantment declared as Enchantment.class_9426Modifier and TypeFieldDescriptionprivate final Enchantment.class_9426
Enchantment.class_9427.maxCost
The field for themaxCost
record component.private final Enchantment.class_9426
Enchantment.class_9427.minCost
The field for theminCost
record component.Methods in net.minecraft.enchantment that return Enchantment.class_9426Modifier and TypeMethodDescriptionEnchantment.class_9427.maxCost()
Returns the value of themaxCost
record component.static Enchantment.class_9426
Enchantment.method_58440
(int int2) static Enchantment.class_9426
Enchantment.method_58441
(int int2, int int3) Enchantment.class_9427.minCost()
Returns the value of theminCost
record component.Methods in net.minecraft.enchantment with parameters of type Enchantment.class_9426Modifier and TypeMethodDescriptionstatic Enchantment.class_9427
Enchantment.method_58442
(TagKey<Item> tagKey, int int2, int int3, Enchantment.class_9426 class_9426, Enchantment.class_9426 class_94262, int int4, EquipmentSlot[] equipmentSlot) static Enchantment.class_9427
Enchantment.method_58443
(TagKey<Item> tagKey, TagKey<Item> tagKey2, int int2, int int3, Enchantment.class_9426 class_9426, Enchantment.class_9426 class_94262, int int4, EquipmentSlot[] equipmentSlot) Constructors in net.minecraft.enchantment with parameters of type Enchantment.class_9426ModifierConstructorDescriptionclass_9427
(TagKey<Item> tagKey, Optional<TagKey<Item>> optional, int int2, int int3, Enchantment.class_9426 class_9426, Enchantment.class_9426 class_94262, int int4, EquipmentSlot[] equipmentSlot)