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$Propertiesintermediary net/minecraft/class_2784$class_5200official dut$c
-
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 named centerXLnet/minecraft/world/border/WorldBorder$Properties;centerX:Dintermediary field_24123Lnet/minecraft/class_2784$class_5200;field_24123:Dofficial aLdut$c;a:D
-
centerZ
private final double centerZ- Mappings:
Namespace Name Mixin selector named centerZLnet/minecraft/world/border/WorldBorder$Properties;centerZ:Dintermediary field_24124Lnet/minecraft/class_2784$class_5200;field_24124:Dofficial bLdut$c;b:D
-
damagePerBlock
private final double damagePerBlock- Mappings:
Namespace Name Mixin selector named damagePerBlockLnet/minecraft/world/border/WorldBorder$Properties;damagePerBlock:Dintermediary field_24125Lnet/minecraft/class_2784$class_5200;field_24125:Dofficial cLdut$c;c:D
-
safeZone
private final double safeZone- Mappings:
Namespace Name Mixin selector named safeZoneLnet/minecraft/world/border/WorldBorder$Properties;safeZone:Dintermediary field_24126Lnet/minecraft/class_2784$class_5200;field_24126:Dofficial dLdut$c;d:D
-
warningBlocks
private final int warningBlocks- Mappings:
Namespace Name Mixin selector named warningBlocksLnet/minecraft/world/border/WorldBorder$Properties;warningBlocks:Iintermediary field_24127Lnet/minecraft/class_2784$class_5200;field_24127:Iofficial eLdut$c;e:I
-
warningTime
private final int warningTime- Mappings:
Namespace Name Mixin selector named warningTimeLnet/minecraft/world/border/WorldBorder$Properties;warningTime:Iintermediary field_24128Lnet/minecraft/class_2784$class_5200;field_24128:Iofficial fLdut$c;f:I
-
size
private final double size- Mappings:
Namespace Name Mixin selector named sizeLnet/minecraft/world/border/WorldBorder$Properties;size:Dintermediary field_24129Lnet/minecraft/class_2784$class_5200;field_24129:Dofficial gLdut$c;g:D
-
sizeLerpTime
private final long sizeLerpTime- Mappings:
Namespace Name Mixin selector named sizeLerpTimeLnet/minecraft/world/border/WorldBorder$Properties;sizeLerpTime:Jintermediary field_24130Lnet/minecraft/class_2784$class_5200;field_24130:Jofficial hLdut$c;h:J
-
sizeLerpTarget
private final double sizeLerpTarget- Mappings:
Namespace Name Mixin selector named sizeLerpTargetLnet/minecraft/world/border/WorldBorder$Properties;sizeLerpTarget:Dintermediary field_24131Lnet/minecraft/class_2784$class_5200;field_24131:Dofficial iLdut$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)Vintermediary <init>Lnet/minecraft/class_2784$class_5200;<init>(DDDDIIDJD)Vofficial <init>Ldut$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;)Vintermediary <init>Lnet/minecraft/class_2784$class_5200;<init>(Lnet/minecraft/class_2784;)Vofficial <init>Ldut$c;<init>(Ldut;)V
-
-
Method Details
-
getCenterX
public double getCenterX()- Mappings:
Namespace Name Mixin selector named getCenterXLnet/minecraft/world/border/WorldBorder$Properties;getCenterX()Dintermediary method_27356Lnet/minecraft/class_2784$class_5200;method_27356()Dofficial aLdut$c;a()D
-
getCenterZ
public double getCenterZ()- Mappings:
Namespace Name Mixin selector named getCenterZLnet/minecraft/world/border/WorldBorder$Properties;getCenterZ()Dintermediary method_27359Lnet/minecraft/class_2784$class_5200;method_27359()Dofficial bLdut$c;b()D
-
getDamagePerBlock
public double getDamagePerBlock()- Mappings:
Namespace Name Mixin selector named getDamagePerBlockLnet/minecraft/world/border/WorldBorder$Properties;getDamagePerBlock()Dintermediary method_27360Lnet/minecraft/class_2784$class_5200;method_27360()Dofficial cLdut$c;c()D
-
getSafeZone
public double getSafeZone()- Mappings:
Namespace Name Mixin selector named getSafeZoneLnet/minecraft/world/border/WorldBorder$Properties;getSafeZone()Dintermediary method_27361Lnet/minecraft/class_2784$class_5200;method_27361()Dofficial dLdut$c;d()D
-
getWarningBlocks
public int getWarningBlocks()- Mappings:
Namespace Name Mixin selector named getWarningBlocksLnet/minecraft/world/border/WorldBorder$Properties;getWarningBlocks()Iintermediary method_27362Lnet/minecraft/class_2784$class_5200;method_27362()Iofficial eLdut$c;e()I
-
getWarningTime
public int getWarningTime()- Mappings:
Namespace Name Mixin selector named getWarningTimeLnet/minecraft/world/border/WorldBorder$Properties;getWarningTime()Iintermediary method_27363Lnet/minecraft/class_2784$class_5200;method_27363()Iofficial fLdut$c;f()I
-
getSize
public double getSize()- Mappings:
Namespace Name Mixin selector named getSizeLnet/minecraft/world/border/WorldBorder$Properties;getSize()Dintermediary method_27364Lnet/minecraft/class_2784$class_5200;method_27364()Dofficial gLdut$c;g()D
-
getSizeLerpTime
public long getSizeLerpTime()- Mappings:
Namespace Name Mixin selector named getSizeLerpTimeLnet/minecraft/world/border/WorldBorder$Properties;getSizeLerpTime()Jintermediary method_27365Lnet/minecraft/class_2784$class_5200;method_27365()Jofficial hLdut$c;h()J
-
getSizeLerpTarget
public double getSizeLerpTarget()- Mappings:
Namespace Name Mixin selector named getSizeLerpTargetLnet/minecraft/world/border/WorldBorder$Properties;getSizeLerpTarget()Dintermediary method_27366Lnet/minecraft/class_2784$class_5200;method_27366()Dofficial iLdut$c;i()D
-
fromDynamic
public static WorldBorder.Properties fromDynamic(com.mojang.serialization.DynamicLike<?> dynamic, WorldBorder.Properties properties) - Mappings:
Namespace Name Mixin selector named fromDynamicLnet/minecraft/world/border/WorldBorder$Properties;fromDynamic(Lcom/mojang/serialization/DynamicLike;Lnet/minecraft/world/border/WorldBorder$Properties;)Lnet/minecraft/world/border/WorldBorder$Properties;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 aLdut$c;a(Lcom/mojang/serialization/DynamicLike;Ldut$c;)Ldut$c;
-
writeNbt
- Mappings:
Namespace Name Mixin selector named writeNbtLnet/minecraft/world/border/WorldBorder$Properties;writeNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_27357Lnet/minecraft/class_2784$class_5200;method_27357(Lnet/minecraft/class_2487;)Vofficial aLdut$c;a(Lub;)V
-