Package net.minecraft.world.border
Class WorldBorder.Properties
java.lang.Object
net.minecraft.world.border.WorldBorder.Properties
- Enclosing class:
WorldBorder
- Mappings:
Namespace Name intermediary net/minecraft/class_2784$class_5200official ddp$cnamed net/minecraft/world/border/WorldBorder$Properties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final longprivate final intprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionProperties(double centerX, double centerZ, double damagePerBlock, double safeZone, int warningBlocks, int warningTime, double size, long sizeLerpTime, double sizeLerpTarget) Properties(WorldBorder worldBorder) -
Method Summary
Modifier and TypeMethodDescriptionstatic WorldBorder.PropertiesfromDynamic(com.mojang.serialization.DynamicLike<?> dynamic, WorldBorder.Properties properties) doubledoubledoubledoubledoublegetSize()doublelongintintvoidwriteNbt(NbtCompound nbt)
-
Field Details
-
centerX
private final double centerX- Mappings:
Namespace Name Mixin selector intermediary field_24123Lnet/minecraft/class_2784$class_5200;field_24123:Dofficial aLddp$c;a:Dnamed centerXLnet/minecraft/world/border/WorldBorder$Properties;centerX:D
-
centerZ
private final double centerZ- Mappings:
Namespace Name Mixin selector intermediary field_24124Lnet/minecraft/class_2784$class_5200;field_24124:Dofficial bLddp$c;b:Dnamed centerZLnet/minecraft/world/border/WorldBorder$Properties;centerZ:D
-
damagePerBlock
private final double damagePerBlock- Mappings:
Namespace Name Mixin selector intermediary field_24125Lnet/minecraft/class_2784$class_5200;field_24125:Dofficial cLddp$c;c:Dnamed damagePerBlockLnet/minecraft/world/border/WorldBorder$Properties;damagePerBlock:D
-
safeZone
private final double safeZone- Mappings:
Namespace Name Mixin selector intermediary field_24126Lnet/minecraft/class_2784$class_5200;field_24126:Dofficial dLddp$c;d:Dnamed safeZoneLnet/minecraft/world/border/WorldBorder$Properties;safeZone:D
-
warningBlocks
private final int warningBlocks- Mappings:
Namespace Name Mixin selector intermediary field_24127Lnet/minecraft/class_2784$class_5200;field_24127:Iofficial eLddp$c;e:Inamed warningBlocksLnet/minecraft/world/border/WorldBorder$Properties;warningBlocks:I
-
warningTime
private final int warningTime- Mappings:
Namespace Name Mixin selector intermediary field_24128Lnet/minecraft/class_2784$class_5200;field_24128:Iofficial fLddp$c;f:Inamed warningTimeLnet/minecraft/world/border/WorldBorder$Properties;warningTime:I
-
size
private final double size- Mappings:
Namespace Name Mixin selector intermediary field_24129Lnet/minecraft/class_2784$class_5200;field_24129:Dofficial gLddp$c;g:Dnamed sizeLnet/minecraft/world/border/WorldBorder$Properties;size:D
-
sizeLerpTime
private final long sizeLerpTime- Mappings:
Namespace Name Mixin selector intermediary field_24130Lnet/minecraft/class_2784$class_5200;field_24130:Jofficial hLddp$c;h:Jnamed sizeLerpTimeLnet/minecraft/world/border/WorldBorder$Properties;sizeLerpTime:J
-
sizeLerpTarget
private final double sizeLerpTarget- Mappings:
Namespace Name Mixin selector intermediary field_24131Lnet/minecraft/class_2784$class_5200;field_24131:Dofficial iLddp$c;i:Dnamed sizeLerpTargetLnet/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 intermediary <init>Lnet/minecraft/class_2784$class_5200;<init>(DDDDIIDJD)Vofficial <init>Lddp$c;<init>(DDDDIIDJD)Vnamed <init>Lnet/minecraft/world/border/WorldBorder$Properties;<init>(DDDDIIDJD)V
-
Properties
Properties(WorldBorder worldBorder) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_2784$class_5200;<init>(Lnet/minecraft/class_2784;)Vofficial <init>Lddp$c;<init>(Lddp;)Vnamed <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 intermediary method_27356Lnet/minecraft/class_2784$class_5200;method_27356()Dofficial aLddp$c;a()Dnamed getCenterXLnet/minecraft/world/border/WorldBorder$Properties;getCenterX()D
-
getCenterZ
public double getCenterZ()- Mappings:
Namespace Name Mixin selector intermediary method_27359Lnet/minecraft/class_2784$class_5200;method_27359()Dofficial bLddp$c;b()Dnamed getCenterZLnet/minecraft/world/border/WorldBorder$Properties;getCenterZ()D
-
getDamagePerBlock
public double getDamagePerBlock()- Mappings:
Namespace Name Mixin selector intermediary method_27360Lnet/minecraft/class_2784$class_5200;method_27360()Dofficial cLddp$c;c()Dnamed getDamagePerBlockLnet/minecraft/world/border/WorldBorder$Properties;getDamagePerBlock()D
-
getSafeZone
public double getSafeZone()- Mappings:
Namespace Name Mixin selector intermediary method_27361Lnet/minecraft/class_2784$class_5200;method_27361()Dofficial dLddp$c;d()Dnamed getSafeZoneLnet/minecraft/world/border/WorldBorder$Properties;getSafeZone()D
-
getWarningBlocks
public int getWarningBlocks()- Mappings:
Namespace Name Mixin selector intermediary method_27362Lnet/minecraft/class_2784$class_5200;method_27362()Iofficial eLddp$c;e()Inamed getWarningBlocksLnet/minecraft/world/border/WorldBorder$Properties;getWarningBlocks()I
-
getWarningTime
public int getWarningTime()- Mappings:
Namespace Name Mixin selector intermediary method_27363Lnet/minecraft/class_2784$class_5200;method_27363()Iofficial fLddp$c;f()Inamed getWarningTimeLnet/minecraft/world/border/WorldBorder$Properties;getWarningTime()I
-
getSize
public double getSize()- Mappings:
Namespace Name Mixin selector intermediary method_27364Lnet/minecraft/class_2784$class_5200;method_27364()Dofficial gLddp$c;g()Dnamed getSizeLnet/minecraft/world/border/WorldBorder$Properties;getSize()D
-
getSizeLerpTime
public long getSizeLerpTime()- Mappings:
Namespace Name Mixin selector intermediary method_27365Lnet/minecraft/class_2784$class_5200;method_27365()Jofficial hLddp$c;h()Jnamed getSizeLerpTimeLnet/minecraft/world/border/WorldBorder$Properties;getSizeLerpTime()J
-
getSizeLerpTarget
public double getSizeLerpTarget()- Mappings:
Namespace Name Mixin selector intermediary method_27366Lnet/minecraft/class_2784$class_5200;method_27366()Dofficial iLddp$c;i()Dnamed getSizeLerpTargetLnet/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 intermediary method_27358Lnet/minecraft/class_2784$class_5200;method_27358(Lcom/mojang/serialization/DynamicLike;Lnet/minecraft/class_2784$class_5200;)Lnet/minecraft/class_2784$class_5200;official aLddp$c;a(Lcom/mojang/serialization/DynamicLike;Lddp$c;)Lddp$c;named fromDynamicLnet/minecraft/world/border/WorldBorder$Properties;fromDynamic(Lcom/mojang/serialization/DynamicLike;Lnet/minecraft/world/border/WorldBorder$Properties;)Lnet/minecraft/world/border/WorldBorder$Properties;
-
writeNbt
- Mappings:
Namespace Name Mixin selector intermediary method_27357Lnet/minecraft/class_2784$class_5200;method_27357(Lnet/minecraft/class_2487;)Vofficial aLddp$c;a(Lqr;)Vnamed writeNbtLnet/minecraft/world/border/WorldBorder$Properties;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-