yarn/mappings/net/minecraft/enchantment/Enchantment.mapping

68 lines
2.8 KiB
Plaintext
Raw Normal View History

2019-06-28 17:55:20 -04:00
CLASS net/minecraft/class_1887 net/minecraft/enchantment/Enchantment
FIELD field_9083 type Lnet/minecraft/class_1886;
FIELD field_9084 translationKey Ljava/lang/String;
FIELD field_9085 rarity Lnet/minecraft/class_1887$class_1888;
2019-06-28 17:55:20 -04:00
FIELD field_9086 slotTypes [Lnet/minecraft/class_1304;
METHOD <init> (Lnet/minecraft/class_1887$class_1888;Lnet/minecraft/class_1886;[Lnet/minecraft/class_1304;)V
2018-11-04 07:22:38 -05:00
ARG 1 weight
ARG 2 type
ARG 3 slotTypes
Misc. Issue Resolution (#1401) * PlayerAbilitiesS2CPacket.fovModifier -> walkSpeed (#1392) * GameJoinS2CPacket seed -> sha256Seed (#1360) * checkBlockRerender -> scheduleBlockRerenderIfNecessary (#1332) * StatusEffectType -> StatusEffectCategory (#1036) StatusEffect -> StatusEffectType StatusEfectInstance -> StatusEffect (and related names) * SettingsScreen -> OptionsScreen (#787) AccessibilityScreen -> AccessibilityOptionsScreen Moved OptionsScreen to options package with all the other options screens * Finishes making maximum/minimum -> max/min (#672) (the ones in TreeDecoratorConfig as they have no postfix) DefaultBiomeFeatures moved to world/gen/feature from world/biome (#667) * fix missing file * Revert "StatusEffectType -> StatusEffectCategory (#1036)" This reverts commit 07f887a3d2332539ce07b0d29bcb84c6f5e6bf5b. * fix capitalization Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/world/World.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-05-30 14:31:17 -04:00
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}
2019-06-28 17:55:20 -04:00
METHOD method_8178 onUserDamaged (Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;I)V
2018-11-04 07:22:38 -05:00
ARG 1 user
2019-06-28 17:55:20 -04:00
ARG 2 attacker
ARG 3 level
2019-06-28 17:55:20 -04:00
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
2019-06-28 17:55:20 -04:00
METHOD method_8181 getProtectionAmount (ILnet/minecraft/class_1282;)I
ARG 1 level
ARG 2 source
Misc. Issue Resolution (#1401) * PlayerAbilitiesS2CPacket.fovModifier -> walkSpeed (#1392) * GameJoinS2CPacket seed -> sha256Seed (#1360) * checkBlockRerender -> scheduleBlockRerenderIfNecessary (#1332) * StatusEffectType -> StatusEffectCategory (#1036) StatusEffect -> StatusEffectType StatusEfectInstance -> StatusEffect (and related names) * SettingsScreen -> OptionsScreen (#787) AccessibilityScreen -> AccessibilityOptionsScreen Moved OptionsScreen to options package with all the other options screens * Finishes making maximum/minimum -> max/min (#672) (the ones in TreeDecoratorConfig as they have no postfix) DefaultBiomeFeatures moved to world/gen/feature from world/biome (#667) * fix missing file * Revert "StatusEffectType -> StatusEffectCategory (#1036)" This reverts commit 07f887a3d2332539ce07b0d29bcb84c6f5e6bf5b. * fix capitalization Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/world/World.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-05-30 14:31:17 -04:00
METHOD method_8182 getMinPower (I)I
ARG 1 level
Misc. Issue Resolution (#1401) * PlayerAbilitiesS2CPacket.fovModifier -> walkSpeed (#1392) * GameJoinS2CPacket seed -> sha256Seed (#1360) * checkBlockRerender -> scheduleBlockRerenderIfNecessary (#1332) * StatusEffectType -> StatusEffectCategory (#1036) StatusEffect -> StatusEffectType StatusEfectInstance -> StatusEffect (and related names) * SettingsScreen -> OptionsScreen (#787) AccessibilityScreen -> AccessibilityOptionsScreen Moved OptionsScreen to options package with all the other options screens * Finishes making maximum/minimum -> max/min (#672) (the ones in TreeDecoratorConfig as they have no postfix) DefaultBiomeFeatures moved to world/gen/feature from world/biome (#667) * fix missing file * Revert "StatusEffectType -> StatusEffectCategory (#1036)" This reverts commit 07f887a3d2332539ce07b0d29bcb84c6f5e6bf5b. * fix capitalization Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/world/World.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-05-30 14:31:17 -04:00
METHOD method_8183 getMaxLevel ()I
2019-06-28 17:55:20 -04:00
METHOD method_8184 getTranslationKey ()Ljava/lang/String;
METHOD method_8185 getEquipment (Lnet/minecraft/class_1309;)Ljava/util/Map;
ARG 1 entity
METHOD method_8186 getRarity ()Lnet/minecraft/class_1887$class_1888;
Misc. Issue Resolution (#1401) * PlayerAbilitiesS2CPacket.fovModifier -> walkSpeed (#1392) * GameJoinS2CPacket seed -> sha256Seed (#1360) * checkBlockRerender -> scheduleBlockRerenderIfNecessary (#1332) * StatusEffectType -> StatusEffectCategory (#1036) StatusEffect -> StatusEffectType StatusEfectInstance -> StatusEffect (and related names) * SettingsScreen -> OptionsScreen (#787) AccessibilityScreen -> AccessibilityOptionsScreen Moved OptionsScreen to options package with all the other options screens * Finishes making maximum/minimum -> max/min (#672) (the ones in TreeDecoratorConfig as they have no postfix) DefaultBiomeFeatures moved to world/gen/feature from world/biome (#667) * fix missing file * Revert "StatusEffectType -> StatusEffectCategory (#1036)" This reverts commit 07f887a3d2332539ce07b0d29bcb84c6f5e6bf5b. * fix capitalization Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/world/World.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-05-30 14:31:17 -04:00
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}
2019-06-28 17:55:20 -04:00
ARG 1 other
METHOD method_8189 onTargetDamaged (Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;I)V
2018-11-04 07:22:38 -05:00
ARG 1 user
2019-06-28 17:55:20 -04:00
ARG 2 target
2019-04-16 10:16:45 -04:00
ARG 3 level
2019-06-28 17:55:20 -04:00
METHOD method_8190 getOrCreateTranslationKey ()Ljava/lang/String;
METHOD method_8191 byRawId (I)Lnet/minecraft/class_1887;
ARG 0 id
2019-06-28 17:55:20 -04:00
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_1310;)F
ARG 1 level
2019-06-28 17:55:20 -04:00
ARG 2 group
CLASS class_1888 Rarity
COMMENT The rarity is an attribute of an enchantment.
COMMENT
COMMENT <p>It affects the chance of getting an enchantment from enchanting or
COMMENT loots as well as the combination cost in anvil.
FIELD field_9089 weight I
METHOD <init> (Ljava/lang/String;II)V
ARG 3 weight
METHOD method_8197 getWeight ()I
COMMENT {@return the weight of an enchantment in weighted pickers}