Class WorldBorder.Properties

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

public static class WorldBorder.Properties extends Object
Mappings:
Namespace Name
named net/minecraft/world/border/WorldBorder$Properties
intermediary net/minecraft/class_2784$class_5200
official duc$c
  • Field Details

    • centerX

      private final double centerX
      Mappings:
      Namespace Name Mixin selector
      named centerX Lnet/minecraft/world/border/WorldBorder$Properties;centerX:D
      intermediary field_24123 Lnet/minecraft/class_2784$class_5200;field_24123:D
      official a Lduc$c;a:D
    • centerZ

      private final double centerZ
      Mappings:
      Namespace Name Mixin selector
      named centerZ Lnet/minecraft/world/border/WorldBorder$Properties;centerZ:D
      intermediary field_24124 Lnet/minecraft/class_2784$class_5200;field_24124:D
      official b Lduc$c;b:D
    • damagePerBlock

      private final double damagePerBlock
      Mappings:
      Namespace Name Mixin selector
      named damagePerBlock Lnet/minecraft/world/border/WorldBorder$Properties;damagePerBlock:D
      intermediary field_24125 Lnet/minecraft/class_2784$class_5200;field_24125:D
      official c Lduc$c;c:D
    • safeZone

      private final double safeZone
      Mappings:
      Namespace Name Mixin selector
      named safeZone Lnet/minecraft/world/border/WorldBorder$Properties;safeZone:D
      intermediary field_24126 Lnet/minecraft/class_2784$class_5200;field_24126:D
      official d Lduc$c;d:D
    • warningBlocks

      private final int warningBlocks
      Mappings:
      Namespace Name Mixin selector
      named warningBlocks Lnet/minecraft/world/border/WorldBorder$Properties;warningBlocks:I
      intermediary field_24127 Lnet/minecraft/class_2784$class_5200;field_24127:I
      official e Lduc$c;e:I
    • warningTime

      private final int warningTime
      Mappings:
      Namespace Name Mixin selector
      named warningTime Lnet/minecraft/world/border/WorldBorder$Properties;warningTime:I
      intermediary field_24128 Lnet/minecraft/class_2784$class_5200;field_24128:I
      official f Lduc$c;f:I
    • size

      private final double size
      Mappings:
      Namespace Name Mixin selector
      named size Lnet/minecraft/world/border/WorldBorder$Properties;size:D
      intermediary field_24129 Lnet/minecraft/class_2784$class_5200;field_24129:D
      official g Lduc$c;g:D
    • sizeLerpTime

      private final long sizeLerpTime
      Mappings:
      Namespace Name Mixin selector
      named sizeLerpTime Lnet/minecraft/world/border/WorldBorder$Properties;sizeLerpTime:J
      intermediary field_24130 Lnet/minecraft/class_2784$class_5200;field_24130:J
      official h Lduc$c;h:J
    • sizeLerpTarget

      private final double sizeLerpTarget
      Mappings:
      Namespace Name Mixin selector
      named sizeLerpTarget Lnet/minecraft/world/border/WorldBorder$Properties;sizeLerpTarget:D
      intermediary field_24131 Lnet/minecraft/class_2784$class_5200;field_24131:D
      official i Lduc$c;i:D
  • Constructor Details

    • Properties

      Properties(double centerX, double centerZ, double damagePerBlock, double safeZone, int warningBlocks, int warningTime, double size, long sizeLerpTime, double sizeLerpTarget)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/border/WorldBorder$Properties;<init>(DDDDIIDJD)V
      intermediary <init> Lnet/minecraft/class_2784$class_5200;<init>(DDDDIIDJD)V
      official <init> Lduc$c;<init>(DDDDIIDJD)V
    • Properties

      Properties(WorldBorder worldBorder)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/border/WorldBorder$Properties;<init>(Lnet/minecraft/world/border/WorldBorder;)V
      intermediary <init> Lnet/minecraft/class_2784$class_5200;<init>(Lnet/minecraft/class_2784;)V
      official <init> Lduc$c;<init>(Lduc;)V
  • Method Details

    • getCenterX

      public double getCenterX()
      Mappings:
      Namespace Name Mixin selector
      named getCenterX Lnet/minecraft/world/border/WorldBorder$Properties;getCenterX()D
      intermediary method_27356 Lnet/minecraft/class_2784$class_5200;method_27356()D
      official a Lduc$c;a()D
    • getCenterZ

      public double getCenterZ()
      Mappings:
      Namespace Name Mixin selector
      named getCenterZ Lnet/minecraft/world/border/WorldBorder$Properties;getCenterZ()D
      intermediary method_27359 Lnet/minecraft/class_2784$class_5200;method_27359()D
      official b Lduc$c;b()D
    • getDamagePerBlock

      public double getDamagePerBlock()
      Mappings:
      Namespace Name Mixin selector
      named getDamagePerBlock Lnet/minecraft/world/border/WorldBorder$Properties;getDamagePerBlock()D
      intermediary method_27360 Lnet/minecraft/class_2784$class_5200;method_27360()D
      official c Lduc$c;c()D
    • getSafeZone

      public double getSafeZone()
      Mappings:
      Namespace Name Mixin selector
      named getSafeZone Lnet/minecraft/world/border/WorldBorder$Properties;getSafeZone()D
      intermediary method_27361 Lnet/minecraft/class_2784$class_5200;method_27361()D
      official d Lduc$c;d()D
    • getWarningBlocks

      public int getWarningBlocks()
      Mappings:
      Namespace Name Mixin selector
      named getWarningBlocks Lnet/minecraft/world/border/WorldBorder$Properties;getWarningBlocks()I
      intermediary method_27362 Lnet/minecraft/class_2784$class_5200;method_27362()I
      official e Lduc$c;e()I
    • getWarningTime

      public int getWarningTime()
      Mappings:
      Namespace Name Mixin selector
      named getWarningTime Lnet/minecraft/world/border/WorldBorder$Properties;getWarningTime()I
      intermediary method_27363 Lnet/minecraft/class_2784$class_5200;method_27363()I
      official f Lduc$c;f()I
    • getSize

      public double getSize()
      Mappings:
      Namespace Name Mixin selector
      named getSize Lnet/minecraft/world/border/WorldBorder$Properties;getSize()D
      intermediary method_27364 Lnet/minecraft/class_2784$class_5200;method_27364()D
      official g Lduc$c;g()D
    • getSizeLerpTime

      public long getSizeLerpTime()
      Mappings:
      Namespace Name Mixin selector
      named getSizeLerpTime Lnet/minecraft/world/border/WorldBorder$Properties;getSizeLerpTime()J
      intermediary method_27365 Lnet/minecraft/class_2784$class_5200;method_27365()J
      official h Lduc$c;h()J
    • getSizeLerpTarget

      public double getSizeLerpTarget()
      Mappings:
      Namespace Name Mixin selector
      named getSizeLerpTarget Lnet/minecraft/world/border/WorldBorder$Properties;getSizeLerpTarget()D
      intermediary method_27366 Lnet/minecraft/class_2784$class_5200;method_27366()D
      official i Lduc$c;i()D
    • fromDynamic

      public static WorldBorder.Properties fromDynamic(com.mojang.serialization.DynamicLike<?> dynamic, WorldBorder.Properties properties)
      Mappings:
      Namespace Name Mixin selector
      named fromDynamic Lnet/minecraft/world/border/WorldBorder$Properties;fromDynamic(Lcom/mojang/serialization/DynamicLike;Lnet/minecraft/world/border/WorldBorder$Properties;)Lnet/minecraft/world/border/WorldBorder$Properties;
      intermediary method_27358 Lnet/minecraft/class_2784$class_5200;method_27358(Lcom/mojang/serialization/DynamicLike;Lnet/minecraft/class_2784$class_5200;)Lnet/minecraft/class_2784$class_5200;
      official a Lduc$c;a(Lcom/mojang/serialization/DynamicLike;Lduc$c;)Lduc$c;
    • writeNbt

      public void writeNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      named writeNbt Lnet/minecraft/world/border/WorldBorder$Properties;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_27357 Lnet/minecraft/class_2784$class_5200;method_27357(Lnet/minecraft/class_2487;)V
      official a Lduc$c;a(Ltx;)V