Class WorldBorder.Serializer

java.lang.Object
net.minecraft.world.border.WorldBorder.Serializer
Enclosing class:
WorldBorder

public static class WorldBorder.Serializer extends Object
  • Field Details

    • 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 Details

    • 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 Details

    • 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()
    • read

      public static WorldBorder.Serializer read(com.mojang.serialization.DynamicLike<?> p_235938_0_, WorldBorder.Serializer p_235938_1_)
    • write

      public void write(CompoundNBT p_235939_1_)