Class LocalDifficulty

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

@Unmodifiable public class LocalDifficulty extends Object
Mappings:
Namespace Name
official bjz
intermediary net/minecraft/class_1266
named net/minecraft/world/LocalDifficulty
  • Field Details

    • field_29953

      private static final float field_29953
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbjz;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 Lbjz;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 Lbjz;c:F
      intermediary field_29955 Lnet/minecraft/class_1266;field_29955:F
      named field_29955 Lnet/minecraft/world/LocalDifficulty;field_29955:F
    • globalDifficulty

      private final Difficulty globalDifficulty
      Mappings:
      Namespace Name Mixin selector
      official d Lbjz;d:Lbjy;
      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 Lbjz;e:F
      intermediary field_5799 Lnet/minecraft/class_1266;field_5799:F
      named localDifficulty Lnet/minecraft/world/LocalDifficulty;localDifficulty:F
  • Constructor Details

    • LocalDifficulty

      public LocalDifficulty(Difficulty difficulty, long timeOfDay, long inhabitedTime, float moonSize)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbjz;<init>(Lbjy;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

      public Difficulty getGlobalDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official a Lbjz;a()Lbjy;
      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 Lbjz;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 Lbjz;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 Lbjz;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 Lbjz;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 Lbjz;a(Lbjy;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