mirror of https://github.com/FabricMC/yarn.git
16 lines
790 B
Plaintext
16 lines
790 B
Plaintext
CLASS net/minecraft/class_1889 net/minecraft/enchantment/EnchantmentLevelEntry
|
|
COMMENT Represents an entry in an enchantments array, i.e. a pair between
|
|
COMMENT enchantment and level. This is also a weighted entry and is available
|
|
COMMENT for the weighted picker to pick from a list.
|
|
COMMENT
|
|
COMMENT <p>This is usually used where multiple enchantment to level mappings can
|
|
COMMENT exist, such as in enchanting logic. In other cases, vanilla prefers
|
|
COMMENT {@code Map<Enchantment, Integer>} over {@code List<EnchantmentLevelEntry>}.
|
|
COMMENT
|
|
COMMENT <p>This class is immutable. It does not override hashCode or equals.
|
|
FIELD field_9093 enchantment Lnet/minecraft/class_1887;
|
|
FIELD field_9094 level I
|
|
METHOD <init> (Lnet/minecraft/class_1887;I)V
|
|
ARG 1 enchantment
|
|
ARG 2 level
|