Package net.minecraft.world
Class LocalDifficulty
java.lang.Object
net.minecraft.world.LocalDifficulty
- Mappings:
Namespace Name official bdu
intermediary net/minecraft/class_1266
named net/minecraft/world/LocalDifficulty
-
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 official a
Lbdu;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:
- Mappings:
Namespace Name Mixin selector official b
Lbdu;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:
- Mappings:
Namespace Name Mixin selector official c
Lbdu;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
Lbdu;d:Lbdt;
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
Lbdu;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>
Lbdu;<init>(Lbdt;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
Lbdu;a()Lbdt;
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
Lbdu;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
Lbdu;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
Lbdu;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
Lbdu;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
Lbdu;a(Lbdt;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
-