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
official dha$c
intermediary net/minecraft/class_2784$class_5200
named net/minecraft/world/border/WorldBorder$Properties
  • Field Details

    • centerX

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

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

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

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

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

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

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

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

      private final double sizeLerpTarget
      Mappings:
      Namespace Name Mixin selector
      official i Ldha$c;i:D
      intermediary field_24131 Lnet/minecraft/class_2784$class_5200;field_24131:D
      named sizeLerpTarget Lnet/minecraft/world/border/WorldBorder$Properties;sizeLerpTarget: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
      official <init> Ldha$c;<init>(DDDDIIDJD)V
      intermediary <init> Lnet/minecraft/class_2784$class_5200;<init>(DDDDIIDJD)V
      named <init> Lnet/minecraft/world/border/WorldBorder$Properties;<init>(DDDDIIDJD)V
    • Properties

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

    • getCenterX

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

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

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

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

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

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

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

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

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

      public static WorldBorder.Properties fromDynamic(com.mojang.serialization.DynamicLike<?> dynamic, WorldBorder.Properties properties)
      Mappings:
      Namespace Name Mixin selector
      official a Ldha$c;a(Lcom/mojang/serialization/DynamicLike;Ldha$c;)Ldha$c;
      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;
      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;
    • writeNbt

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