Package net.minecraft.world.border
Class WorldBorder.Properties
java.lang.Object
net.minecraft.world.border.WorldBorder.Properties
- Enclosing class:
- WorldBorder
public static class WorldBorder.Properties extends Object
- Mappings:
Namespace Name official cjj$c
intermediary net/minecraft/class_2784$class_5200
named net/minecraft/world/border/WorldBorder$Properties
-
Field Summary
Fields Modifier and Type Field Description private double
buffer
private double
centerX
private double
centerZ
private double
damagePerBlock
private double
size
private long
targetRemainingTime
private double
targetSize
private int
warningBlocks
private int
warningTime
-
Constructor Summary
Constructors Modifier Constructor Description private
Properties(double centerX, double centerZ, double damagePerBlock, double buffer, int warningBlocks, int warningTime, double size, long targetRemainingTime, double targetSize)
private
Properties(WorldBorder worldBorder)
-
Method Summary
Modifier and Type Method Description static WorldBorder.Properties
fromDynamic(com.mojang.serialization.DynamicLike<?> dynamicLike, WorldBorder.Properties properties)
double
getBuffer()
double
getCenterX()
double
getCenterZ()
double
getDamagePerBlock()
double
getSize()
long
getTargetRemainingTime()
double
getTargetSize()
int
getWarningBlocks()
int
getWarningTime()
void
toTag(CompoundTag tag)
-
Field Details
-
centerX
private final double centerX- Mappings:
Namespace Name Mixin selector official a
Lcjj$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
Lcjj$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
Lcjj$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
-
buffer
private final double buffer- Mappings:
Namespace Name Mixin selector official d
Lcjj$c;d:D
intermediary field_24126
Lnet/minecraft/class_2784$class_5200;field_24126:D
named buffer
Lnet/minecraft/world/border/WorldBorder$Properties;buffer:D
-
warningBlocks
private final int warningBlocks- Mappings:
Namespace Name Mixin selector official e
Lcjj$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
Lcjj$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
Lcjj$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
-
targetRemainingTime
private final long targetRemainingTime- Mappings:
Namespace Name Mixin selector official h
Lcjj$c;h:J
intermediary field_24130
Lnet/minecraft/class_2784$class_5200;field_24130:J
named targetRemainingTime
Lnet/minecraft/world/border/WorldBorder$Properties;targetRemainingTime:J
-
targetSize
private final double targetSize- Mappings:
Namespace Name Mixin selector official i
Lcjj$c;i:D
intermediary field_24131
Lnet/minecraft/class_2784$class_5200;field_24131:D
named targetSize
Lnet/minecraft/world/border/WorldBorder$Properties;targetSize:D
-
-
Constructor Details
-
Properties
private Properties(double centerX, double centerZ, double damagePerBlock, double buffer, int warningBlocks, int warningTime, double size, long targetRemainingTime, double targetSize)- Mappings:
Namespace Name Mixin selector official <init>
Lcjj$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
- Mappings:
Namespace Name Mixin selector official <init>
Lcjj$c;<init>(Lcjj;)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
Lcjj$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
Lcjj$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
Lcjj$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
-
getBuffer
public double getBuffer()- Mappings:
Namespace Name Mixin selector official d
Lcjj$c;d()D
intermediary method_27361
Lnet/minecraft/class_2784$class_5200;method_27361()D
named getBuffer
Lnet/minecraft/world/border/WorldBorder$Properties;getBuffer()D
-
getWarningBlocks
public int getWarningBlocks()- Mappings:
Namespace Name Mixin selector official e
Lcjj$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
Lcjj$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
Lcjj$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
-
getTargetRemainingTime
public long getTargetRemainingTime()- Mappings:
Namespace Name Mixin selector official h
Lcjj$c;h()J
intermediary method_27365
Lnet/minecraft/class_2784$class_5200;method_27365()J
named getTargetRemainingTime
Lnet/minecraft/world/border/WorldBorder$Properties;getTargetRemainingTime()J
-
getTargetSize
public double getTargetSize()- Mappings:
Namespace Name Mixin selector official i
Lcjj$c;i()D
intermediary method_27366
Lnet/minecraft/class_2784$class_5200;method_27366()D
named getTargetSize
Lnet/minecraft/world/border/WorldBorder$Properties;getTargetSize()D
-
fromDynamic
public static WorldBorder.Properties fromDynamic(com.mojang.serialization.DynamicLike<?> dynamicLike, WorldBorder.Properties properties)- Mappings:
Namespace Name Mixin selector official a
Lcjj$c;a(Lcom/mojang/serialization/DynamicLike;Lcjj$c;)Lcjj$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;
-
toTag
- Mappings:
Namespace Name Mixin selector official a
Lcjj$c;a(Lmq;)V
intermediary method_27357
Lnet/minecraft/class_2784$class_5200;method_27357(Lnet/minecraft/class_2487;)V
named toTag
Lnet/minecraft/world/border/WorldBorder$Properties;toTag(Lnet/minecraft/nbt/CompoundTag;)V
-