mirror of https://github.com/FabricMC/yarn.git
Map enchantments (#2166)
This commit is contained in:
parent
76d049b459
commit
1a503e5e50
|
@ -1,5 +1,8 @@
|
|||
CLASS net/minecraft/class_1882 net/minecraft/enchantment/DamageEnchantment
|
||||
FIELD field_9063 basePowers [I
|
||||
FIELD field_9064 minMaxPowerDifferences [I
|
||||
FIELD field_9065 typeNames [Ljava/lang/String;
|
||||
FIELD field_9066 powersPerLevel [I
|
||||
FIELD field_9067 typeIndex I
|
||||
METHOD <init> (Lnet/minecraft/class_1887$class_1888;I[Lnet/minecraft/class_1304;)V
|
||||
ARG 1 weight
|
||||
|
|
|
@ -2,6 +2,8 @@ CLASS net/minecraft/class_1900 net/minecraft/enchantment/ProtectionEnchantment
|
|||
FIELD field_9133 protectionType Lnet/minecraft/class_1900$class_1901;
|
||||
METHOD <init> (Lnet/minecraft/class_1887$class_1888;Lnet/minecraft/class_1900$class_1901;[Lnet/minecraft/class_1304;)V
|
||||
ARG 1 weight
|
||||
ARG 2 protectionType
|
||||
ARG 3 slotTypes
|
||||
METHOD method_8237 transformExplosionKnockback (Lnet/minecraft/class_1309;D)D
|
||||
ARG 0 entity
|
||||
ARG 1 velocity
|
||||
|
@ -11,5 +13,8 @@ CLASS net/minecraft/class_1900 net/minecraft/enchantment/ProtectionEnchantment
|
|||
CLASS class_1901 Type
|
||||
FIELD field_9134 powerPerLevel I
|
||||
FIELD field_9135 basePower I
|
||||
METHOD <init> (Ljava/lang/String;III)V
|
||||
ARG 3 basePower
|
||||
ARG 4 powerPerLevel
|
||||
METHOD method_8239 getPowerPerLevel ()I
|
||||
METHOD method_8240 getBasePower ()I
|
||||
|
|
|
@ -3,3 +3,4 @@ CLASS net/minecraft/class_1903 net/minecraft/enchantment/SweepingEnchantment
|
|||
ARG 1 weight
|
||||
ARG 2 slotTypes
|
||||
METHOD method_8241 getMultiplier (I)F
|
||||
ARG 0 level
|
||||
|
|
|
@ -2,6 +2,8 @@ CLASS net/minecraft/class_1906 net/minecraft/enchantment/ThornsEnchantment
|
|||
METHOD <init> (Lnet/minecraft/class_1887$class_1888;[Lnet/minecraft/class_1304;)V
|
||||
ARG 1 weight
|
||||
ARG 2 slotTypes
|
||||
METHOD method_30345 (Ljava/util/Map$Entry;Lnet/minecraft/class_1309;)V
|
||||
ARG 1 entity
|
||||
METHOD method_8242 getDamageAmount (ILjava/util/Random;)I
|
||||
ARG 0 level
|
||||
ARG 1 random
|
||||
|
|
Loading…
Reference in New Issue