mirror of https://github.com/FabricMC/yarn.git
Map tracked position stuff in Entity (#1697)
* Map tracked position stuff in Entity * Map delta position stuff in EntityS2CPacket EntityS2CPacket seems to sync the entity's tracked position
This commit is contained in:
parent
56b0b7a4c2
commit
37ee48f77a
|
@ -8,6 +8,7 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
|
|||
FIELD field_22468 blockPos Lnet/minecraft/class_2338;
|
||||
FIELD field_23807 inanimate Z
|
||||
FIELD field_25154 chunkPosUpdateRequested Z
|
||||
FIELD field_25750 trackedPosition Lnet/minecraft/class_243;
|
||||
FIELD field_5951 ridingCooldown I
|
||||
FIELD field_5952 onGround Z
|
||||
FIELD field_5953 firstUpdate Z
|
||||
|
@ -230,6 +231,9 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
|
|||
METHOD method_27298 shouldSpawnSprintingParticles ()Z
|
||||
METHOD method_29240 isChunkPosUpdateRequested ()Z
|
||||
METHOD method_29495 refreshPositionAfterTeleport (Lnet/minecraft/class_243;)V
|
||||
METHOD method_30227 getTrackedPosition ()Lnet/minecraft/class_243;
|
||||
METHOD method_30228 updateTrackedPosition (Lnet/minecraft/class_243;)V
|
||||
ARG 1 pos
|
||||
METHOD method_30329 getTeleportTarget (Lnet/minecraft/class_3218;)Lnet/minecraft/class_5454;
|
||||
ARG 1 destination
|
||||
METHOD method_5621 getMountedHeightOffset ()D
|
||||
|
|
|
@ -23,6 +23,10 @@ CLASS net/minecraft/class_2684 net/minecraft/network/packet/s2c/play/EntityS2CPa
|
|||
ARG 2 y
|
||||
ARG 4 z
|
||||
METHOD method_22826 isPositionChanged ()Z
|
||||
METHOD method_30301 decodePacketCoordinate (J)D
|
||||
ARG 0 coord
|
||||
METHOD method_30302 calculateDeltaPosition (Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
|
||||
ARG 1 orig
|
||||
CLASS class_2685 MoveRelative
|
||||
METHOD <init> (ISSSZ)V
|
||||
ARG 1 entityId
|
||||
|
|
Loading…
Reference in New Issue