类 WorldBorder.Properties
- java.lang.Object
-
- net.minecraft.world.border.WorldBorder.Properties
-
- 封闭类:
- WorldBorder
public static class WorldBorder.Properties extends Object
- Mappings:
Namespace Name official clh$cintermediary net/minecraft/class_2784$class_5200named net/minecraft/world/border/WorldBorder$Properties
-
-
字段概要
字段 修饰符和类型 字段 说明 private doublecenterXprivate doublecenterZprivate doubledamagePerBlockprivate doublesafeZoneprivate doublesizeprivate doublesizeLerpTargetprivate longsizeLerpTimeprivate intwarningBlocksprivate intwarningTime
-
构造器概要
构造器 限定符 构造器 说明 privateProperties(double centerX, double centerZ, double damagePerBlock, double safeZone, int warningBlocks, int warningTime, double size, long sizeLerpTime, double sizeLerpTarget)privateProperties(WorldBorder worldBorder)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static WorldBorder.PropertiesfromDynamic(com.mojang.serialization.DynamicLike<?> dynamicLike, WorldBorder.Properties properties)doublegetCenterX()doublegetCenterZ()doublegetDamagePerBlock()doublegetSafeZone()doublegetSize()doublegetSizeLerpTarget()longgetSizeLerpTime()intgetWarningBlocks()intgetWarningTime()voidwriteNbt(CompoundTag nbt)
-
-
-
字段详细资料
-
centerX
private final double centerX
- Mappings:
Namespace Name Mixin selector official aLclh$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 bLclh$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 cLclh$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 dLclh$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 eLclh$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 fLclh$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 gLclh$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 hLclh$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 iLclh$c;i:Dintermediary field_24131Lnet/minecraft/class_2784$class_5200;field_24131:Dnamed sizeLerpTargetLnet/minecraft/world/border/WorldBorder$Properties;sizeLerpTarget:D
-
-
构造器详细资料
-
Properties
private 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>Lclh$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
private Properties(WorldBorder worldBorder)
- Mappings:
Namespace Name Mixin selector official <init>Lclh$c;<init>(Lclh;)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
-
-
方法详细资料
-
getCenterX
public double getCenterX()
- Mappings:
Namespace Name Mixin selector official aLclh$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 bLclh$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 cLclh$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 dLclh$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 eLclh$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 fLclh$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 gLclh$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 hLclh$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 iLclh$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<?> dynamicLike, WorldBorder.Properties properties)
- Mappings:
Namespace Name Mixin selector official aLclh$c;a(Lcom/mojang/serialization/DynamicLike;Lclh$c;)Lclh$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
public void writeNbt(CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official aLclh$c;a(Lmv;)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/CompoundTag;)V
-
-