Package net.minecraft.world.border
Class WorldBorder.Properties
java.lang.Object
net.minecraft.world.border.WorldBorder.Properties
- Enclosing class:
WorldBorder
- Mappings:
Namespace Name official cxe$c
intermediary net/minecraft/class_2784$class_5200
named net/minecraft/world/border/WorldBorder$Properties
-
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 official a
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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>
Lcxe$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>
Lcxe$c;<init>(Lcxe;)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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$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
Lcxe$c;a(Lcom/mojang/serialization/DynamicLike;Lcxe$c;)Lcxe$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
- Mappings:
Namespace Name Mixin selector official a
Lcxe$c;a(Lpj;)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
-