Class WorldBorder.Serializer

  • Enclosing class:
    WorldBorder

    public static class WorldBorder.Serializer
    extends java.lang.Object
    • Field Detail

      • centerX

        private final double centerX
      • centerZ

        private final double centerZ
      • damagePerBlock

        private final double damagePerBlock
      • safeZone

        private final double safeZone
      • warningBlocks

        private final int warningBlocks
      • warningTime

        private final int warningTime
      • size

        private final double size
      • sizeLerpTime

        private final long sizeLerpTime
      • sizeLerpTarget

        private final double sizeLerpTarget
    • Constructor Detail

      • Serializer

        private Serializer​(double p_i231883_1_,
                           double p_i231883_3_,
                           double p_i231883_5_,
                           double p_i231883_7_,
                           int p_i231883_9_,
                           int p_i231883_10_,
                           double p_i231883_11_,
                           long p_i231883_13_,
                           double p_i231883_15_)
      • Serializer

        private Serializer​(WorldBorder p_i231885_1_)
    • Method Detail

      • getCenterX

        public double getCenterX()
      • getCenterZ

        public double getCenterZ()
      • getDamagePerBlock

        public double getDamagePerBlock()
      • getSafeZone

        public double getSafeZone()
      • getWarningBlocks

        public int getWarningBlocks()
      • getWarningTime

        public int getWarningTime()
      • getSize

        public double getSize()
      • getSizeLerpTime

        public long getSizeLerpTime()
      • getSizeLerpTarget

        public double getSizeLerpTarget()
      • write

        public void write​(CompoundNBT p_235939_1_)