Package net.minecraft.world
Class LocalDifficulty
java.lang.Object
net.minecraft.world.LocalDifficulty
- Mappings:
Namespace Name named net/minecraft/world/LocalDifficulty
intermediary net/minecraft/class_1266
official btg
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final float
private static final float
private final Difficulty
private final float
-
Constructor Summary
ConstructorDescriptionLocalDifficulty
(Difficulty difficulty, long timeOfDay, long inhabitedTime, float moonSize) -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
boolean
boolean
isHarderThan
(float difficulty) private float
setLocalDifficulty
(Difficulty difficulty, long timeOfDay, long inhabitedTime, float moonSize)
-
Field Details
-
field_29953
private static final float field_29953- See Also:
- Mappings:
Namespace Name Mixin selector named field_29953
Lnet/minecraft/world/LocalDifficulty;field_29953:F
intermediary field_29953
Lnet/minecraft/class_1266;field_29953:F
official a
Lbtg;a:F
-
field_29954
private static final float field_29954- See Also:
- Mappings:
Namespace Name Mixin selector named field_29954
Lnet/minecraft/world/LocalDifficulty;field_29954:F
intermediary field_29954
Lnet/minecraft/class_1266;field_29954:F
official b
Lbtg;b:F
-
field_29955
private static final float field_29955- See Also:
- Mappings:
Namespace Name Mixin selector named field_29955
Lnet/minecraft/world/LocalDifficulty;field_29955:F
intermediary field_29955
Lnet/minecraft/class_1266;field_29955:F
official c
Lbtg;c:F
-
globalDifficulty
- Mappings:
Namespace Name Mixin selector named globalDifficulty
Lnet/minecraft/world/LocalDifficulty;globalDifficulty:Lnet/minecraft/world/Difficulty;
intermediary field_5798
Lnet/minecraft/class_1266;field_5798:Lnet/minecraft/class_1267;
official d
Lbtg;d:Lbtf;
-
localDifficulty
private final float localDifficulty- Mappings:
Namespace Name Mixin selector named localDifficulty
Lnet/minecraft/world/LocalDifficulty;localDifficulty:F
intermediary field_5799
Lnet/minecraft/class_1266;field_5799:F
official e
Lbtg;e:F
-
-
Constructor Details
-
LocalDifficulty
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/LocalDifficulty;<init>(Lnet/minecraft/world/Difficulty;JJF)V
intermediary <init>
Lnet/minecraft/class_1266;<init>(Lnet/minecraft/class_1267;JJF)V
official <init>
Lbtg;<init>(Lbtf;JJF)V
-
-
Method Details
-
getGlobalDifficulty
- Mappings:
Namespace Name Mixin selector named getGlobalDifficulty
Lnet/minecraft/world/LocalDifficulty;getGlobalDifficulty()Lnet/minecraft/world/Difficulty;
intermediary method_5454
Lnet/minecraft/class_1266;method_5454()Lnet/minecraft/class_1267;
official a
Lbtg;a()Lbtf;
-
getLocalDifficulty
public float getLocalDifficulty()- Mappings:
Namespace Name Mixin selector named getLocalDifficulty
Lnet/minecraft/world/LocalDifficulty;getLocalDifficulty()F
intermediary method_5457
Lnet/minecraft/class_1266;method_5457()F
official b
Lbtg;b()F
-
isAtLeastHard
public boolean isAtLeastHard()- Mappings:
Namespace Name Mixin selector named isAtLeastHard
Lnet/minecraft/world/LocalDifficulty;isAtLeastHard()Z
intermediary method_35020
Lnet/minecraft/class_1266;method_35020()Z
official c
Lbtg;c()Z
-
isHarderThan
public boolean isHarderThan(float difficulty) - Mappings:
Namespace Name Mixin selector named isHarderThan
Lnet/minecraft/world/LocalDifficulty;isHarderThan(F)Z
intermediary method_5455
Lnet/minecraft/class_1266;method_5455(F)Z
official a
Lbtg;a(F)Z
-
getClampedLocalDifficulty
public float getClampedLocalDifficulty()- Mappings:
Namespace Name Mixin selector named getClampedLocalDifficulty
Lnet/minecraft/world/LocalDifficulty;getClampedLocalDifficulty()F
intermediary method_5458
Lnet/minecraft/class_1266;method_5458()F
official d
Lbtg;d()F
-
setLocalDifficulty
private float setLocalDifficulty(Difficulty difficulty, long timeOfDay, long inhabitedTime, float moonSize) - Mappings:
Namespace Name Mixin selector named setLocalDifficulty
Lnet/minecraft/world/LocalDifficulty;setLocalDifficulty(Lnet/minecraft/world/Difficulty;JJF)F
intermediary method_5456
Lnet/minecraft/class_1266;method_5456(Lnet/minecraft/class_1267;JJF)F
official a
Lbtg;a(Lbtf;JJF)F
-