Clarify the methods relating to entities ticking in the void (#1983)

* Clarify the methods relating to entities ticking in the void

* Simplify documentation links to methods and classes that are already in scope

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:
haykam821 2021-01-25 15:19:36 -05:00 committed by GitHub
parent 55c22445e6
commit c60b023328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -256,7 +256,8 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
METHOD method_31471 onSpawnPacket (Lnet/minecraft/class_2604;)V
ARG 1 packet
METHOD method_31472 discard ()V
METHOD method_31473 destroyInVoid ()V
METHOD method_31473 attemptTickInVoid ()V
COMMENT Calls {@link #tickInVoid()} when the entity is 64 blocks below the world's {@linkplain net.minecraft.world.HeightLimitView#getBottomSectionLimit() minimum Y position}.
METHOD method_31476 getChunkPos ()Lnet/minecraft/class_1923;
METHOD method_31477 getBlockX ()I
METHOD method_31478 getBlockY ()I
@ -632,7 +633,10 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
METHOD method_5822 canUsePortals ()Z
METHOD method_5823 afterSpawn ()V
METHOD method_5824 getRenderDistanceMultiplier ()D
METHOD method_5825 destroy ()V
METHOD method_5825 tickInVoid ()V
COMMENT Called when the entity is 64 blocks below the world's {@linkplain net.minecraft.world.HeightLimitView#getBottomSectionLimit() minimum Y position}.
COMMENT
COMMENT <p>{@linkplain LivingEntity Living entities} use this to deal {@linkplain net.minecraft.entity.damage.DamageSource#OUT_OF_WORLD out of world damage}.
METHOD method_5826 setUuid (Ljava/util/UUID;)V
ARG 1 uuid
METHOD method_5828 getRotationVec (F)Lnet/minecraft/class_243;