Package net.minecraft.world.border
Class WorldBorder.Properties
java.lang.Object
net.minecraft.world.border.WorldBorder.Properties
- Enclosing class:
WorldBorder
- Mappings:
Namespace Name official ddp$cintermediary net/minecraft/class_2784$class_5200named 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 official aLddp$c;a:Dintermediary field_24123Lnet/minecraft/class_2784$class_5200;field_24123:Dnamed centerXLnet/minecraft/world/border/WorldBorder$Properties;centerX:D
-
centerZ
private final double centerZ- Mappings:
Namespace Name Mixin selector official bLddp$c;b:Dintermediary field_24124Lnet/minecraft/class_2784$class_5200;field_24124:Dnamed centerZLnet/minecraft/world/border/WorldBorder$Properties;centerZ:D
-
damagePerBlock
private final double damagePerBlock- Mappings:
Namespace Name Mixin selector official cLddp$c;c:Dintermediary field_24125Lnet/minecraft/class_2784$class_5200;field_24125:Dnamed damagePerBlockLnet/minecraft/world/border/WorldBorder$Properties;damagePerBlock:D
-
safeZone
private final double safeZone- Mappings:
Namespace Name Mixin selector official dLddp$c;d:Dintermediary field_24126Lnet/minecraft/class_2784$class_5200;field_24126:Dnamed safeZoneLnet/minecraft/world/border/WorldBorder$Properties;safeZone:D
-
warningBlocks
private final int warningBlocks- Mappings:
Namespace Name Mixin selector official eLddp$c;e:Iintermediary field_24127Lnet/minecraft/class_2784$class_5200;field_24127:Inamed warningBlocksLnet/minecraft/world/border/WorldBorder$Properties;warningBlocks:I
-
warningTime
private final int warningTime- Mappings:
Namespace Name Mixin selector official fLddp$c;f:Iintermediary field_24128Lnet/minecraft/class_2784$class_5200;field_24128:Inamed warningTimeLnet/minecraft/world/border/WorldBorder$Properties;warningTime:I
-
size
private final double size- Mappings:
Namespace Name Mixin selector official gLddp$c;g:Dintermediary field_24129Lnet/minecraft/class_2784$class_5200;field_24129:Dnamed sizeLnet/minecraft/world/border/WorldBorder$Properties;size:D
-
sizeLerpTime
private final long sizeLerpTime- Mappings:
Namespace Name Mixin selector official hLddp$c;h:Jintermediary field_24130Lnet/minecraft/class_2784$class_5200;field_24130:Jnamed sizeLerpTimeLnet/minecraft/world/border/WorldBorder$Properties;sizeLerpTime:J
-
sizeLerpTarget
private final double sizeLerpTarget- Mappings:
Namespace Name Mixin selector official iLddp$c;i:Dintermediary field_24131Lnet/minecraft/class_2784$class_5200;field_24131: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 official <init>Lddp$c;<init>(DDDDIIDJD)Vintermediary <init>Lnet/minecraft/class_2784$class_5200;<init>(DDDDIIDJD)Vnamed <init>Lnet/minecraft/world/border/WorldBorder$Properties;<init>(DDDDIIDJD)V
-
Properties
Properties(WorldBorder worldBorder) - Mappings:
Namespace Name Mixin selector official <init>Lddp$c;<init>(Lddp;)Vintermediary <init>Lnet/minecraft/class_2784$class_5200;<init>(Lnet/minecraft/class_2784;)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 official aLddp$c;a()Dintermediary method_27356Lnet/minecraft/class_2784$class_5200;method_27356()Dnamed getCenterXLnet/minecraft/world/border/WorldBorder$Properties;getCenterX()D
-
getCenterZ
public double getCenterZ()- Mappings:
Namespace Name Mixin selector official bLddp$c;b()Dintermediary method_27359Lnet/minecraft/class_2784$class_5200;method_27359()Dnamed getCenterZLnet/minecraft/world/border/WorldBorder$Properties;getCenterZ()D
-
getDamagePerBlock
public double getDamagePerBlock()- Mappings:
Namespace Name Mixin selector official cLddp$c;c()Dintermediary method_27360Lnet/minecraft/class_2784$class_5200;method_27360()Dnamed getDamagePerBlockLnet/minecraft/world/border/WorldBorder$Properties;getDamagePerBlock()D
-
getSafeZone
public double getSafeZone()- Mappings:
Namespace Name Mixin selector official dLddp$c;d()Dintermediary method_27361Lnet/minecraft/class_2784$class_5200;method_27361()Dnamed getSafeZoneLnet/minecraft/world/border/WorldBorder$Properties;getSafeZone()D
-
getWarningBlocks
public int getWarningBlocks()- Mappings:
Namespace Name Mixin selector official eLddp$c;e()Iintermediary method_27362Lnet/minecraft/class_2784$class_5200;method_27362()Inamed getWarningBlocksLnet/minecraft/world/border/WorldBorder$Properties;getWarningBlocks()I
-
getWarningTime
public int getWarningTime()- Mappings:
Namespace Name Mixin selector official fLddp$c;f()Iintermediary method_27363Lnet/minecraft/class_2784$class_5200;method_27363()Inamed getWarningTimeLnet/minecraft/world/border/WorldBorder$Properties;getWarningTime()I
-
getSize
public double getSize()- Mappings:
Namespace Name Mixin selector official gLddp$c;g()Dintermediary method_27364Lnet/minecraft/class_2784$class_5200;method_27364()Dnamed getSizeLnet/minecraft/world/border/WorldBorder$Properties;getSize()D
-
getSizeLerpTime
public long getSizeLerpTime()- Mappings:
Namespace Name Mixin selector official hLddp$c;h()Jintermediary method_27365Lnet/minecraft/class_2784$class_5200;method_27365()Jnamed getSizeLerpTimeLnet/minecraft/world/border/WorldBorder$Properties;getSizeLerpTime()J
-
getSizeLerpTarget
public double getSizeLerpTarget()- Mappings:
Namespace Name Mixin selector official iLddp$c;i()Dintermediary method_27366Lnet/minecraft/class_2784$class_5200;method_27366()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 official aLddp$c;a(Lcom/mojang/serialization/DynamicLike;Lddp$c;)Lddp$c;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;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 official aLddp$c;a(Lqr;)Vintermediary method_27357Lnet/minecraft/class_2784$class_5200;method_27357(Lnet/minecraft/class_2487;)Vnamed writeNbtLnet/minecraft/world/border/WorldBorder$Properties;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-