Package net.minecraft.world.border
Class WorldBorder.Properties
java.lang.Object
net.minecraft.world.border.WorldBorder.Properties
- Enclosing class:
WorldBorder
- Mappings:
Namespace Name named net/minecraft/world/border/WorldBorder$Properties
intermediary net/minecraft/class_2784$class_5200
official dtv$c
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
private final double
private final double
private final double
private final double
private final double
private final long
private final int
private final int
-
Constructor Summary
ConstructorDescriptionProperties
(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.Properties
fromDynamic
(com.mojang.serialization.DynamicLike<?> dynamic, WorldBorder.Properties properties) double
double
double
double
double
getSize()
double
long
int
int
void
writeNbt
(NbtCompound nbt)
-
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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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>
Ldtv$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>
Ldtv$c;<init>(Ldtv;)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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$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
Ldtv$c;a(Lcom/mojang/serialization/DynamicLike;Ldtv$c;)Ldtv$c;
-
writeNbt
- 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
Ldtv$c;a(Lus;)V
-