Class LocalDifficulty

java.lang.Object
net.minecraft.world.LocalDifficulty

@Unmodifiable public class LocalDifficulty extends Object
Mappings:
Namespace Name
named net/minecraft/world/LocalDifficulty
intermediary net/minecraft/class_1266
official bqo
  • 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 Lbqo;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 Lbqo;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 Lbqo;c:F
    • globalDifficulty

      private final Difficulty 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 Lbqo;d:Lbqn;
    • 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 Lbqo;e:F
  • Constructor Details

    • LocalDifficulty

      public LocalDifficulty(Difficulty difficulty, long timeOfDay, long inhabitedTime, float moonSize)
      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> Lbqo;<init>(Lbqn;JJF)V
  • Method Details

    • getGlobalDifficulty

      public Difficulty 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 Lbqo;a()Lbqn;
    • 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 Lbqo;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 Lbqo;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 Lbqo;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 Lbqo;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 Lbqo;a(Lbqn;JJF)F