Class VecDeltaCodec

java.lang.Object
net.minecraft.network.protocol.game.VecDeltaCodec

public class VecDeltaCodec extends Object
  • Field Details

  • Constructor Details

    • VecDeltaCodec

      public VecDeltaCodec()
  • Method Details

    • encode

      @VisibleForTesting static long encode(double p_238018_)
    • decode

      @VisibleForTesting static double decode(long p_238020_)
    • decode

      public Vec3 decode(long p_238022_, long p_238023_, long p_238024_)
    • encodeX

      public long encodeX(Vec3 p_238026_)
    • encodeY

      public long encodeY(Vec3 p_238028_)
    • encodeZ

      public long encodeZ(Vec3 p_238030_)
    • delta

      public Vec3 delta(Vec3 p_238032_)
    • setBase

      public void setBase(Vec3 p_238034_)
    • getBase

      public Vec3 getBase()