mirror of https://github.com/FabricMC/yarn.git
Travel javadocs (#2568)
* Travel method javadocs * moved param doc to param * fix * Fix a typo * Fix a typo 2.0 electric boogaloo * Update mappings/net/minecraft/entity/LivingEntity.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
parent
11f052803c
commit
b054090c81
|
@ -484,7 +484,13 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity
|
|||
METHOD method_6090 takeShieldHit (Lnet/minecraft/class_1309;)V
|
||||
ARG 1 attacker
|
||||
METHOD method_6091 travel (Lnet/minecraft/class_243;)V
|
||||
COMMENT Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.
|
||||
COMMENT
|
||||
COMMENT <p>See vanilla examples of {@linkplain net.minecraft.entity.passive.HorseBaseEntity#travel
|
||||
COMMENT custom horse vehicle} and {@linkplain net.minecraft.entity.mob.FlyingEntity#travel
|
||||
COMMENT flying entities}.
|
||||
ARG 1 movementInput
|
||||
COMMENT represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order
|
||||
METHOD method_6092 addStatusEffect (Lnet/minecraft/class_1293;)Z
|
||||
COMMENT Adds a status effect to this entity without specifying a source entity.
|
||||
COMMENT
|
||||
|
|
Loading…
Reference in New Issue