yarn/mappings/net/minecraft/entity/effect/StatusEffect.mapping

46 lines
1.8 KiB
Plaintext
Raw Normal View History

2019-06-28 17:55:20 -04:00
CLASS net/minecraft/class_1291 net/minecraft/entity/effect/StatusEffect
FIELD field_18270 type Lnet/minecraft/class_4081;
FIELD field_5883 translationKey Ljava/lang/String;
FIELD field_5885 attributeModifiers Ljava/util/Map;
FIELD field_5886 color I
2020-01-14 15:22:47 -05:00
METHOD <init> (Lnet/minecraft/class_4081;I)V
ARG 1 type
ARG 2 color
2019-06-28 17:55:20 -04:00
METHOD method_18792 getType ()Lnet/minecraft/class_4081;
METHOD method_5552 canApplyUpdateEffect (II)Z
2018-11-04 07:22:38 -05:00
ARG 1 duration
2019-06-28 17:55:20 -04:00
METHOD method_5554 getRawId (Lnet/minecraft/class_1291;)I
2018-11-04 02:51:18 -05:00
ARG 0 type
LivingEntity mappings (#802) * field_6276 -> lastDamageSource field_6226 -> lastDamageTime * getHealthMaximum -> getMaximumHealth * method_6124 -> getPrimeAdversary * addPotionEffect -> addStatusEffect * method_6009 -> onStatusEffectUpgraded method_6020 -> onStatusEffectApplied * clearPotionEffects -> clearStatusEffects * method_6024 -> getLeaningPitch field_6243 -> leaningPitch field_6264 -> lastLeaningPitch * Mapped all the tracking fields. (These are sent by the server and incrementally applied on the client to rubber-band entities into position) * method_18802 -> getMovementSpeed field_6281 -> flyingSpeed * method_18801 -> applyClimbingSpeed * method_6093 -> knockDownwards * cannotMove -> isImmobile * method_18396 -> getArmorVisibility * isEquippedStackValid -> hasStackEquipped * setEquippedStack -> equipStack * attributeContainer -> attributes * method_6039 -> isBlocking method_6061 -> canPierceDefense * method_6040 -> consumeItem * method_6076 -> tickActiveItemStack * method_6072 -> updateLeaningPitch * method_6077 -> canEnterTrapdoor * method_16212 -> getBlockStateUnderFeet (suggestions welcome) * method_6095 -> absorbDamage * field_6271 -> knockbackVelocity (or painFactor) * field_6239 -> roll * field_6228 -> jumpingCooldown * field_6254 -> maxHurtTime * method_6129 -> onStatusEffectRemoved * field_6285 -> effectsChanged * spawnPotionParticles -> tickStatusEffects * method_6031 -> turnHead (as hinted by Mojang) field_6283 -> bodyYaw field_6220 -> prevBodyYaw * field_6255 -> lookDirection (result of turnHead) * method_6038 -> onDismounted (checks collisions and pushes the entity and boat apart) * field_6267 -> diagonalSpeed * field_6261 -> pushCooldown method_6035 -> push (As hinted by Mojang) tickPushing -> tickCramming (applies the cramming rule) * field_6232 -> scoreAmount (appears unused. Value increments a score on the player when this entity is killed - see ServerPlayerEntity.updateKilledAdvancementCriterion) * field_6253 -> lastDamageTaken (Damage amount is stored and applyDamage is called with the difference only if the new damage is higher than it was before) * field_6275 -> prevLookDirection * field_6269 -> defaultMaximumHealth (public, final, value is 20) * (unused - interpolated between 0 and 0.3 when the entity is on the ground, and always 0 when riding) field_6233 -> stepBobbingAmount field_6217 -> prevStepBobbingAmount * (unused - set to a random float when constructing) field_6244 -> randomLargeSeed field_6262 -> randomSmallSeed * Stitch did this. I don't know why. * StatusEffect.method_5555 -> onApplied * canPierceDefense -> tryUseShield * absorbDamage -> tryUseTotem * getBlockStateUnderFeet -> getBlockState * diagonalSpeed -> turningSpeed * Mapped several parameters * removeStatusEffect -> tryRemoveStatusEffect removePotionEffect -> removeStatusEffect * isPotionEffective -> canHaveStatusEffect * More parameters * tryUseShield -> blockedByShield (because "hitsShield" reads like manglish)
2019-08-22 16:25:19 -04:00
METHOD method_5555 onApplied (Lnet/minecraft/class_1309;Lnet/minecraft/class_1325;I)V
ARG 1 entity
ARG 2 attributes
ARG 3 amplifier
2019-06-28 17:55:20 -04:00
METHOD method_5556 getColor ()I
METHOD method_5559 loadTranslationKey ()Ljava/lang/String;
METHOD method_5560 getName ()Lnet/minecraft/class_2561;
2019-06-28 17:55:20 -04:00
METHOD method_5561 isInstant ()Z
LivingEntity mappings (#802) * field_6276 -> lastDamageSource field_6226 -> lastDamageTime * getHealthMaximum -> getMaximumHealth * method_6124 -> getPrimeAdversary * addPotionEffect -> addStatusEffect * method_6009 -> onStatusEffectUpgraded method_6020 -> onStatusEffectApplied * clearPotionEffects -> clearStatusEffects * method_6024 -> getLeaningPitch field_6243 -> leaningPitch field_6264 -> lastLeaningPitch * Mapped all the tracking fields. (These are sent by the server and incrementally applied on the client to rubber-band entities into position) * method_18802 -> getMovementSpeed field_6281 -> flyingSpeed * method_18801 -> applyClimbingSpeed * method_6093 -> knockDownwards * cannotMove -> isImmobile * method_18396 -> getArmorVisibility * isEquippedStackValid -> hasStackEquipped * setEquippedStack -> equipStack * attributeContainer -> attributes * method_6039 -> isBlocking method_6061 -> canPierceDefense * method_6040 -> consumeItem * method_6076 -> tickActiveItemStack * method_6072 -> updateLeaningPitch * method_6077 -> canEnterTrapdoor * method_16212 -> getBlockStateUnderFeet (suggestions welcome) * method_6095 -> absorbDamage * field_6271 -> knockbackVelocity (or painFactor) * field_6239 -> roll * field_6228 -> jumpingCooldown * field_6254 -> maxHurtTime * method_6129 -> onStatusEffectRemoved * field_6285 -> effectsChanged * spawnPotionParticles -> tickStatusEffects * method_6031 -> turnHead (as hinted by Mojang) field_6283 -> bodyYaw field_6220 -> prevBodyYaw * field_6255 -> lookDirection (result of turnHead) * method_6038 -> onDismounted (checks collisions and pushes the entity and boat apart) * field_6267 -> diagonalSpeed * field_6261 -> pushCooldown method_6035 -> push (As hinted by Mojang) tickPushing -> tickCramming (applies the cramming rule) * field_6232 -> scoreAmount (appears unused. Value increments a score on the player when this entity is killed - see ServerPlayerEntity.updateKilledAdvancementCriterion) * field_6253 -> lastDamageTaken (Damage amount is stored and applyDamage is called with the difference only if the new damage is higher than it was before) * field_6275 -> prevLookDirection * field_6269 -> defaultMaximumHealth (public, final, value is 20) * (unused - interpolated between 0 and 0.3 when the entity is on the ground, and always 0 when riding) field_6233 -> stepBobbingAmount field_6217 -> prevStepBobbingAmount * (unused - set to a random float when constructing) field_6244 -> randomLargeSeed field_6262 -> randomSmallSeed * Stitch did this. I don't know why. * StatusEffect.method_5555 -> onApplied * canPierceDefense -> tryUseShield * absorbDamage -> tryUseTotem * getBlockStateUnderFeet -> getBlockState * diagonalSpeed -> turningSpeed * Mapped several parameters * removeStatusEffect -> tryRemoveStatusEffect removePotionEffect -> removeStatusEffect * isPotionEffective -> canHaveStatusEffect * More parameters * tryUseShield -> blockedByShield (because "hitsShield" reads like manglish)
2019-08-22 16:25:19 -04:00
METHOD method_5562 onRemoved (Lnet/minecraft/class_1309;Lnet/minecraft/class_1325;I)V
ARG 1 entity
ARG 2 attributes
ARG 3 amplifier
2020-01-14 15:22:47 -05:00
METHOD method_5563 adjustModifierAmount (ILnet/minecraft/class_1322;)D
ARG 1 amplifier
ARG 2 modifier
2019-06-28 17:55:20 -04:00
METHOD method_5564 applyInstantEffect (Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;Lnet/minecraft/class_1309;ID)V
2018-11-04 07:22:38 -05:00
ARG 1 source
ARG 2 attacker
ARG 3 target
ARG 4 amplifier
2019-06-28 17:55:20 -04:00
METHOD method_5565 getAttributeModifiers ()Ljava/util/Map;
METHOD method_5566 addAttributeModifier (Lnet/minecraft/class_1320;Ljava/lang/String;DLnet/minecraft/class_1322$class_1323;)Lnet/minecraft/class_1291;
2019-04-04 18:04:19 -04:00
ARG 1 attribute
ARG 2 uuid
ARG 3 amount
ARG 5 operation
2019-06-28 17:55:20 -04:00
METHOD method_5567 getTranslationKey ()Ljava/lang/String;
METHOD method_5569 byRawId (I)Lnet/minecraft/class_1291;
ARG 0 rawId
METHOD method_5572 applyUpdateEffect (Lnet/minecraft/class_1309;I)V
ARG 1 entity
METHOD method_5573 isBeneficial ()Z