mirror of https://github.com/FabricMC/yarn.git
99 lines
4.0 KiB
Plaintext
99 lines
4.0 KiB
Plaintext
CLASS net/minecraft/class_1887 net/minecraft/enchantment/Enchantment
|
|
FIELD field_45769 registryEntry Lnet/minecraft/class_6880$class_6883;
|
|
FIELD field_50013 properties Lnet/minecraft/class_1887$class_9427;
|
|
FIELD field_9084 translationKey Ljava/lang/String;
|
|
METHOD <init> (Lnet/minecraft/class_1887$class_9427;)V
|
|
ARG 1 properties
|
|
METHOD method_20742 getMaxPower (I)I
|
|
ARG 1 level
|
|
METHOD method_25949 isAvailableForEnchantedBookOffer ()Z
|
|
COMMENT {@return whether this enchantment will appear in the enchanted book trade
|
|
COMMENT offers of librarian villagers}
|
|
METHOD method_25950 isAvailableForRandomSelection ()Z
|
|
COMMENT {@return whether this enchantment will appear in the enchanting table or
|
|
COMMENT loots with random enchant function}
|
|
METHOD method_53216 getRegistryEntry ()Lnet/minecraft/class_6880$class_6883;
|
|
METHOD method_56109 getApplicableItems ()Lnet/minecraft/class_6862;
|
|
METHOD method_58440 constantCost (I)Lnet/minecraft/class_1887$class_9426;
|
|
ARG 0 base
|
|
METHOD method_58441 leveledCost (II)Lnet/minecraft/class_1887$class_9426;
|
|
ARG 0 base
|
|
ARG 1 perLevel
|
|
METHOD method_58442 properties (Lnet/minecraft/class_6862;IILnet/minecraft/class_1887$class_9426;Lnet/minecraft/class_1887$class_9426;I[Lnet/minecraft/class_1304;)Lnet/minecraft/class_1887$class_9427;
|
|
ARG 0 supportedItems
|
|
ARG 1 weight
|
|
ARG 2 maxLevel
|
|
ARG 3 minCost
|
|
ARG 4 maxCost
|
|
ARG 5 anvilCost
|
|
ARG 6 slots
|
|
METHOD method_58443 properties (Lnet/minecraft/class_6862;Lnet/minecraft/class_6862;IILnet/minecraft/class_1887$class_9426;Lnet/minecraft/class_1887$class_9426;I[Lnet/minecraft/class_1304;)Lnet/minecraft/class_1887$class_9427;
|
|
ARG 0 supportedItems
|
|
ARG 1 primaryItems
|
|
ARG 2 weight
|
|
ARG 3 maxLevel
|
|
ARG 4 minCost
|
|
ARG 5 maxCost
|
|
ARG 6 anvilCost
|
|
ARG 7 slots
|
|
METHOD method_58444 isPrimaryItem (Lnet/minecraft/class_1799;)Z
|
|
ARG 1 stack
|
|
METHOD method_58445 getWeight ()I
|
|
METHOD method_58446 getAnvilCost ()I
|
|
METHOD method_58674 properties (Lnet/minecraft/class_6862;IILnet/minecraft/class_1887$class_9426;Lnet/minecraft/class_1887$class_9426;ILnet/minecraft/class_7699;[Lnet/minecraft/class_1304;)Lnet/minecraft/class_1887$class_9427;
|
|
ARG 0 supportedItems
|
|
ARG 1 weight
|
|
ARG 2 maxLevel
|
|
ARG 3 minCost
|
|
ARG 4 maxCost
|
|
ARG 5 anvilCost
|
|
ARG 6 requiredFeatures
|
|
ARG 7 slots
|
|
METHOD method_58675 onAttack (Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;I)V
|
|
ARG 1 attacket
|
|
ARG 2 target
|
|
ARG 3 level
|
|
METHOD method_8178 onUserDamaged (Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;I)V
|
|
ARG 1 user
|
|
ARG 2 attacker
|
|
ARG 3 level
|
|
METHOD method_8179 getName (I)Lnet/minecraft/class_2561;
|
|
ARG 1 level
|
|
METHOD method_8180 canAccept (Lnet/minecraft/class_1887;)Z
|
|
COMMENT {@return whether this enchantment can exist on an item stack with the
|
|
COMMENT {@code other} enchantment}
|
|
ARG 1 other
|
|
METHOD method_8181 getProtectionAmount (ILnet/minecraft/class_1282;)I
|
|
ARG 1 level
|
|
ARG 2 source
|
|
METHOD method_8182 getMinPower (I)I
|
|
ARG 1 level
|
|
METHOD method_8183 getMaxLevel ()I
|
|
METHOD method_8184 getTranslationKey ()Ljava/lang/String;
|
|
METHOD method_8185 getEquipment (Lnet/minecraft/class_1309;)Ljava/util/Map;
|
|
ARG 1 entity
|
|
METHOD method_8187 getMinLevel ()I
|
|
METHOD method_8188 canCombine (Lnet/minecraft/class_1887;)Z
|
|
COMMENT {@return whether this enchantment can exist on an item stack with the
|
|
COMMENT {@code other} enchantment and the {@code other} enchantment can exist
|
|
COMMENT with this enchantment}
|
|
ARG 1 other
|
|
METHOD method_8189 onTargetDamaged (Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;I)V
|
|
ARG 1 user
|
|
ARG 2 target
|
|
ARG 3 level
|
|
METHOD method_8190 getOrCreateTranslationKey ()Ljava/lang/String;
|
|
METHOD method_8191 byRawId (I)Lnet/minecraft/class_1887;
|
|
ARG 0 id
|
|
METHOD method_8192 isAcceptableItem (Lnet/minecraft/class_1799;)Z
|
|
ARG 1 stack
|
|
METHOD method_8193 isTreasure ()Z
|
|
METHOD method_8195 isCursed ()Z
|
|
METHOD method_8196 getAttackDamage (ILnet/minecraft/class_1299;)F
|
|
ARG 1 level
|
|
ARG 2 entityType
|
|
CLASS class_9426 Cost
|
|
METHOD method_58447 forLevel (I)I
|
|
ARG 1 level
|
|
CLASS class_9427 Properties
|