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$cintermediary net/minecraft/class_2784$class_5200named net/minecraft/world/border/WorldBorder$Properties
-
Field Summary
Fields Modifier and Type Field Description private doublebufferprivate doublecenterXprivate doublecenterZprivate doubledamagePerBlockprivate doublesizeprivate longtargetRemainingTimeprivate doubletargetSizeprivate intwarningBlocksprivate intwarningTime -
Constructor Summary
Constructors Modifier Constructor Description privateProperties(double centerX, double centerZ, double damagePerBlock, double buffer, int warningBlocks, int warningTime, double size, long targetRemainingTime, double targetSize)privateProperties(WorldBorder worldBorder) -
Method Summary
Modifier and Type Method Description static WorldBorder.PropertiesfromDynamic(com.mojang.serialization.DynamicLike<?> dynamicLike, WorldBorder.Properties properties)doublegetBuffer()doublegetCenterX()doublegetCenterZ()doublegetDamagePerBlock()doublegetSize()longgetTargetRemainingTime()doublegetTargetSize()intgetWarningBlocks()intgetWarningTime()voidtoTag(CompoundTag tag)
-
Field Details
-
centerX
private final double centerX- Mappings:
Namespace Name Mixin selector official aLcjj$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 bLcjj$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 cLcjj$c;c:Dintermediary field_24125Lnet/minecraft/class_2784$class_5200;field_24125:Dnamed damagePerBlockLnet/minecraft/world/border/WorldBorder$Properties;damagePerBlock:D
-
buffer
private final double buffer- Mappings:
Namespace Name Mixin selector official dLcjj$c;d:Dintermediary field_24126Lnet/minecraft/class_2784$class_5200;field_24126:Dnamed bufferLnet/minecraft/world/border/WorldBorder$Properties;buffer:D
-
warningBlocks
private final int warningBlocks- Mappings:
Namespace Name Mixin selector official eLcjj$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 fLcjj$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 gLcjj$c;g:Dintermediary field_24129Lnet/minecraft/class_2784$class_5200;field_24129:Dnamed sizeLnet/minecraft/world/border/WorldBorder$Properties;size:D
-
targetRemainingTime
private final long targetRemainingTime- Mappings:
Namespace Name Mixin selector official hLcjj$c;h:Jintermediary field_24130Lnet/minecraft/class_2784$class_5200;field_24130:Jnamed targetRemainingTimeLnet/minecraft/world/border/WorldBorder$Properties;targetRemainingTime:J
-
targetSize
private final double targetSize- Mappings:
Namespace Name Mixin selector official iLcjj$c;i:Dintermediary field_24131Lnet/minecraft/class_2784$class_5200;field_24131:Dnamed targetSizeLnet/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)Vintermediary <init>Lnet/minecraft/class_2784$class_5200;<init>(DDDDIIDJD)Vnamed <init>Lnet/minecraft/world/border/WorldBorder$Properties;<init>(DDDDIIDJD)V
-
Properties
- Mappings:
Namespace Name Mixin selector official <init>Lcjj$c;<init>(Lcjj;)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 aLcjj$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 bLcjj$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 cLcjj$c;c()Dintermediary method_27360Lnet/minecraft/class_2784$class_5200;method_27360()Dnamed getDamagePerBlockLnet/minecraft/world/border/WorldBorder$Properties;getDamagePerBlock()D
-
getBuffer
public double getBuffer()- Mappings:
Namespace Name Mixin selector official dLcjj$c;d()Dintermediary method_27361Lnet/minecraft/class_2784$class_5200;method_27361()Dnamed getBufferLnet/minecraft/world/border/WorldBorder$Properties;getBuffer()D
-
getWarningBlocks
public int getWarningBlocks()- Mappings:
Namespace Name Mixin selector official eLcjj$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 fLcjj$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 gLcjj$c;g()Dintermediary method_27364Lnet/minecraft/class_2784$class_5200;method_27364()Dnamed getSizeLnet/minecraft/world/border/WorldBorder$Properties;getSize()D
-
getTargetRemainingTime
public long getTargetRemainingTime()- Mappings:
Namespace Name Mixin selector official hLcjj$c;h()Jintermediary method_27365Lnet/minecraft/class_2784$class_5200;method_27365()Jnamed getTargetRemainingTimeLnet/minecraft/world/border/WorldBorder$Properties;getTargetRemainingTime()J
-
getTargetSize
public double getTargetSize()- Mappings:
Namespace Name Mixin selector official iLcjj$c;i()Dintermediary method_27366Lnet/minecraft/class_2784$class_5200;method_27366()Dnamed getTargetSizeLnet/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 aLcjj$c;a(Lcom/mojang/serialization/DynamicLike;Lcjj$c;)Lcjj$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;
-
toTag
- Mappings:
Namespace Name Mixin selector official aLcjj$c;a(Lmq;)Vintermediary method_27357Lnet/minecraft/class_2784$class_5200;method_27357(Lnet/minecraft/class_2487;)Vnamed toTagLnet/minecraft/world/border/WorldBorder$Properties;toTag(Lnet/minecraft/nbt/CompoundTag;)V
-