Document EntityVelocityUpdateS2CPacket and ExplosionS2CPacket (#2521)

This commit is contained in:
enbrain 2021-06-27 19:13:17 +09:00 committed by GitHub
parent 117c139ec9
commit 32152b6855
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -1,4 +1,9 @@
CLASS net/minecraft/class_2743 net/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket
COMMENT Sent when a server modifies an entity's velocity.
COMMENT
COMMENT <p>If the entity is a player, {@link
COMMENT net.minecraft.network.packet.s2c.play.ExplosionS2CPacket} can be used as
COMMENT a replacement.
FIELD field_12561 velocityZ I
FIELD field_12562 velocityY I
FIELD field_12563 velocityX I

View File

@ -1,4 +1,11 @@
CLASS net/minecraft/class_2664 net/minecraft/network/packet/s2c/play/ExplosionS2CPacket
COMMENT Sent when an explosion occurs in the world.
COMMENT
COMMENT <p>The client will update {@linkplain
COMMENT net.minecraft.client.MinecraftClient#player the player}'s velocity as
COMMENT well as performing an explosion.
COMMENT
COMMENT @see net.minecraft.network.packet.s2c.play.EntityVelocityUpdateS2CPacket
FIELD field_12176 playerVelocityX F
FIELD field_12177 z D
FIELD field_12178 y D