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