类 EntityS2CPacket

    • 字段详细资料

      • COORDINATE_SCALE

        private static final double COORDINATE_SCALE
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official j Lqy;j:D
        intermediary field_33335 Lnet/minecraft/class_2684;field_33335:D
        named COORDINATE_SCALE Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;COORDINATE_SCALE:D
      • id

        protected final int id
        Mappings:
        Namespace Name Mixin selector
        official a Lqy;a:I
        intermediary field_12310 Lnet/minecraft/class_2684;field_12310:I
        named id Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;id:I
      • deltaX

        protected final short deltaX
        Mappings:
        Namespace Name Mixin selector
        official b Lqy;b:S
        intermediary field_12309 Lnet/minecraft/class_2684;field_12309:S
        named deltaX Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;deltaX:S
      • deltaY

        protected final short deltaY
        Mappings:
        Namespace Name Mixin selector
        official c Lqy;c:S
        intermediary field_12308 Lnet/minecraft/class_2684;field_12308:S
        named deltaY Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;deltaY:S
      • deltaZ

        protected final short deltaZ
        Mappings:
        Namespace Name Mixin selector
        official d Lqy;d:S
        intermediary field_12307 Lnet/minecraft/class_2684;field_12307:S
        named deltaZ Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;deltaZ:S
      • yaw

        protected final byte yaw
        Mappings:
        Namespace Name Mixin selector
        official e Lqy;e:B
        intermediary field_12312 Lnet/minecraft/class_2684;field_12312:B
        named yaw Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;yaw:B
      • pitch

        protected final byte pitch
        Mappings:
        Namespace Name Mixin selector
        official f Lqy;f:B
        intermediary field_12311 Lnet/minecraft/class_2684;field_12311:B
        named pitch Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;pitch:B
      • onGround

        protected final boolean onGround
        Mappings:
        Namespace Name Mixin selector
        official g Lqy;g:Z
        intermediary field_12306 Lnet/minecraft/class_2684;field_12306:Z
        named onGround Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;onGround:Z
      • rotate

        protected final boolean rotate
        Mappings:
        Namespace Name Mixin selector
        official h Lqy;h:Z
        intermediary field_12305 Lnet/minecraft/class_2684;field_12305:Z
        named rotate Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;rotate:Z
      • positionChanged

        protected final boolean positionChanged
        Mappings:
        Namespace Name Mixin selector
        official i Lqy;i:Z
        intermediary field_20849 Lnet/minecraft/class_2684;field_20849:Z
        named positionChanged Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;positionChanged:Z
    • 构造器详细资料

      • EntityS2CPacket

        protected EntityS2CPacket​(int entityId,
                                  short deltaX,
                                  short deltaY,
                                  short deltaZ,
                                  byte yaw,
                                  byte pitch,
                                  boolean onGround,
                                  boolean rotate,
                                  boolean positionChanged)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lqy;<init>(ISSSBBZZZ)V
        intermediary <init> Lnet/minecraft/class_2684;<init>(ISSSBBZZZ)V
        named <init> Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;<init>(ISSSBBZZZ)V
    • 方法详细资料

      • encodePacketCoordinate

        public static long encodePacketCoordinate​(double coord)
        Mappings:
        Namespace Name Mixin selector
        official a Lqy;a(D)J
        intermediary method_18047 Lnet/minecraft/class_2684;method_18047(D)J
        named encodePacketCoordinate Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;encodePacketCoordinate(D)J
      • decodePacketCoordinate

        public static double decodePacketCoordinate​(long coord)
        Mappings:
        Namespace Name Mixin selector
        official a Lqy;a(J)D
        intermediary method_30301 Lnet/minecraft/class_2684;method_30301(J)D
        named decodePacketCoordinate Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;decodePacketCoordinate(J)D
      • calculateDeltaPosition

        public Vec3d calculateDeltaPosition​(Vec3d orig)
        Mappings:
        Namespace Name Mixin selector
        official a Lqy;a(Ldma;)Ldma;
        intermediary method_30302 Lnet/minecraft/class_2684;method_30302(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
        named calculateDeltaPosition Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;calculateDeltaPosition(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
      • decodePacketCoordinates

        public static Vec3d decodePacketCoordinates​(long x,
                                                    long y,
                                                    long z)
        Mappings:
        Namespace Name Mixin selector
        official a Lqy;a(JJJ)Ldma;
        intermediary method_18695 Lnet/minecraft/class_2684;method_18695(JJJ)Lnet/minecraft/class_243;
        named decodePacketCoordinates Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;decodePacketCoordinates(JJJ)Lnet/minecraft/util/math/Vec3d;
      • apply

        public void apply​(ClientPlayPacketListener clientPlayPacketListener)
        指定者:
        apply 在接口中 Packet<ClientPlayPacketListener>
        Mappings:
        Namespace Name Mixin selector
        official a Lqy;a(Lpi;)V
        intermediary method_11651 Lnet/minecraft/class_2684;method_11651(Lnet/minecraft/class_2602;)V
        named apply Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      • toString

        public String toString()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Lqy;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_2684;toString()Ljava/lang/String;
        named toString Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;toString()Ljava/lang/String;
      • getEntity

        @Nullable
        public @Nullable Entity getEntity​(World world)
        Mappings:
        Namespace Name Mixin selector
        official a Lqy;a(Lbvr;)Lasl;
        intermediary method_11645 Lnet/minecraft/class_2684;method_11645(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
        named getEntity Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getEntity(Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
      • getDeltaX

        public short getDeltaX()
        Mappings:
        Namespace Name Mixin selector
        official b Lqy;b()S
        intermediary method_36150 Lnet/minecraft/class_2684;method_36150()S
        named getDeltaX Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getDeltaX()S
      • getDeltaY

        public short getDeltaY()
        Mappings:
        Namespace Name Mixin selector
        official c Lqy;c()S
        intermediary method_36151 Lnet/minecraft/class_2684;method_36151()S
        named getDeltaY Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getDeltaY()S
      • getDeltaZ

        public short getDeltaZ()
        Mappings:
        Namespace Name Mixin selector
        official d Lqy;d()S
        intermediary method_36152 Lnet/minecraft/class_2684;method_36152()S
        named getDeltaZ Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getDeltaZ()S
      • getYaw

        public byte getYaw()
        Mappings:
        Namespace Name Mixin selector
        official e Lqy;e()B
        intermediary method_11649 Lnet/minecraft/class_2684;method_11649()B
        named getYaw Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getYaw()B
      • getPitch

        public byte getPitch()
        Mappings:
        Namespace Name Mixin selector
        official f Lqy;f()B
        intermediary method_11650 Lnet/minecraft/class_2684;method_11650()B
        named getPitch Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getPitch()B
      • hasRotation

        public boolean hasRotation()
        Mappings:
        Namespace Name Mixin selector
        official g Lqy;g()Z
        intermediary method_11652 Lnet/minecraft/class_2684;method_11652()Z
        named hasRotation Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;hasRotation()Z
      • isPositionChanged

        public boolean isPositionChanged()
        Mappings:
        Namespace Name Mixin selector
        official h Lqy;h()Z
        intermediary method_22826 Lnet/minecraft/class_2684;method_22826()Z
        named isPositionChanged Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;isPositionChanged()Z
      • isOnGround

        public boolean isOnGround()
        Mappings:
        Namespace Name Mixin selector
        official i Lqy;i()Z
        intermediary method_11653 Lnet/minecraft/class_2684;method_11653()Z
        named isOnGround Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;isOnGround()Z