Class LevelStorageComparator

java.lang.Object
net.minecraft.world.level.storage.LevelStorageComparator
All Implemented Interfaces:
Comparable<LevelStorageComparator>

@Environment(CLIENT)
public class LevelStorageComparator
extends Object
implements Comparable<LevelStorageComparator>
Mappings:
Namespace Name
official ats
intermediary net/minecraft/class_638
named net/minecraft/world/level/storage/LevelStorageComparator
  • Field Details

    • fileName

      private final String fileName
      Mappings:
      Namespace Name Mixin selector
      official a Lats;a:Ljava/lang/String;
      intermediary field_2390 Lnet/minecraft/class_638;field_2390:Ljava/lang/String;
      named fileName Lnet/minecraft/world/level/storage/LevelStorageComparator;fileName:Ljava/lang/String;
    • worldName

      private final String worldName
      Mappings:
      Namespace Name Mixin selector
      official b Lats;b:Ljava/lang/String;
      intermediary field_2391 Lnet/minecraft/class_638;field_2391:Ljava/lang/String;
      named worldName Lnet/minecraft/world/level/storage/LevelStorageComparator;worldName:Ljava/lang/String;
    • lastPlayed

      private final long lastPlayed
      Mappings:
      Namespace Name Mixin selector
      official c Lats;c:J
      intermediary field_2392 Lnet/minecraft/class_638;field_2392:J
      named lastPlayed Lnet/minecraft/world/level/storage/LevelStorageComparator;lastPlayed:J
    • size

      private final long size
      Mappings:
      Namespace Name Mixin selector
      official d Lats;d:J
      intermediary field_2393 Lnet/minecraft/class_638;field_2393:J
      named size Lnet/minecraft/world/level/storage/LevelStorageComparator;size:J
    • sameVersion

      private final boolean sameVersion
      Mappings:
      Namespace Name Mixin selector
      official e Lats;e:Z
      intermediary field_2394 Lnet/minecraft/class_638;field_2394:Z
      named sameVersion Lnet/minecraft/world/level/storage/LevelStorageComparator;sameVersion:Z
    • gameMode

      private final LevelInfo.GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official f Lats;f:Ladp$a;
      intermediary field_2395 Lnet/minecraft/class_638;field_2395:Lnet/minecraft/class_102$class_103;
      named gameMode Lnet/minecraft/world/level/storage/LevelStorageComparator;gameMode:Lnet/minecraft/world/level/LevelInfo$GameMode;
    • hardcore

      private final boolean hardcore
      Mappings:
      Namespace Name Mixin selector
      official g Lats;g:Z
      intermediary field_2396 Lnet/minecraft/class_638;field_2396:Z
      named hardcore Lnet/minecraft/world/level/storage/LevelStorageComparator;hardcore:Z
    • cheats

      private final boolean cheats
      Mappings:
      Namespace Name Mixin selector
      official h Lats;h:Z
      intermediary field_2397 Lnet/minecraft/class_638;field_2397:Z
      named cheats Lnet/minecraft/world/level/storage/LevelStorageComparator;cheats:Z
  • Constructor Details

    • LevelStorageComparator

      public LevelStorageComparator​(String fileName, String worldName, long lastPlayed, long size, LevelInfo.GameMode gameMode, boolean sameVersion, boolean hardcore, boolean cheats)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lats;<init>(Ljava/lang/String;Ljava/lang/String;JJLadp$a;ZZZ)V
      intermediary <init> Lnet/minecraft/class_638;<init>(Ljava/lang/String;Ljava/lang/String;JJLnet/minecraft/class_102$class_103;ZZZ)V
      named <init> Lnet/minecraft/world/level/storage/LevelStorageComparator;<init>(Ljava/lang/String;Ljava/lang/String;JJLnet/minecraft/world/level/LevelInfo$GameMode;ZZZ)V
  • Method Details

    • getFileName

      public String getFileName()
      Mappings:
      Namespace Name Mixin selector
      official a Lats;a()Ljava/lang/String;
      intermediary method_2031 Lnet/minecraft/class_638;method_2031()Ljava/lang/String;
      named getFileName Lnet/minecraft/world/level/storage/LevelStorageComparator;getFileName()Ljava/lang/String;
    • getWorldName

      public String getWorldName()
      Mappings:
      Namespace Name Mixin selector
      official b Lats;b()Ljava/lang/String;
      intermediary method_2033 Lnet/minecraft/class_638;method_2033()Ljava/lang/String;
      named getWorldName Lnet/minecraft/world/level/storage/LevelStorageComparator;getWorldName()Ljava/lang/String;
    • getSize

      public long getSize()
      Mappings:
      Namespace Name Mixin selector
      official c Lats;c()J
      intermediary method_2034 Lnet/minecraft/class_638;method_2034()J
      named getSize Lnet/minecraft/world/level/storage/LevelStorageComparator;getSize()J
    • isSameVersion

      public boolean isSameVersion()
      Mappings:
      Namespace Name Mixin selector
      official d Lats;d()Z
      intermediary method_2035 Lnet/minecraft/class_638;method_2035()Z
      named isSameVersion Lnet/minecraft/world/level/storage/LevelStorageComparator;isSameVersion()Z
    • getLastPlayed

      public long getLastPlayed()
      Mappings:
      Namespace Name Mixin selector
      official e Lats;e()J
      intermediary method_2036 Lnet/minecraft/class_638;method_2036()J
      named getLastPlayed Lnet/minecraft/world/level/storage/LevelStorageComparator;getLastPlayed()J
    • compareTo

      public int compareTo​(LevelStorageComparator levelStorageComparator)
      Specified by:
      compareTo in interface Comparable<LevelStorageComparator>
      Mappings:
      Namespace Name Mixin selector
      official a Lats;a(Lats;)I
      intermediary method_2032 Lnet/minecraft/class_638;method_2032(Lnet/minecraft/class_638;)I
      named compareTo Lnet/minecraft/world/level/storage/LevelStorageComparator;compareTo(Lnet/minecraft/world/level/storage/LevelStorageComparator;)I
    • getGameMode

      public LevelInfo.GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official f Lats;f()Ladp$a;
      intermediary method_2037 Lnet/minecraft/class_638;method_2037()Lnet/minecraft/class_102$class_103;
      named getGameMode Lnet/minecraft/world/level/storage/LevelStorageComparator;getGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
    • isHardcore

      public boolean isHardcore()
      Mappings:
      Namespace Name Mixin selector
      official g Lats;g()Z
      intermediary method_2038 Lnet/minecraft/class_638;method_2038()Z
      named isHardcore Lnet/minecraft/world/level/storage/LevelStorageComparator;isHardcore()Z
    • cheatsEnabled

      public boolean cheatsEnabled()
      Mappings:
      Namespace Name Mixin selector
      official h Lats;h()Z
      intermediary method_2039 Lnet/minecraft/class_638;method_2039()Z
      named cheatsEnabled Lnet/minecraft/world/level/storage/LevelStorageComparator;cheatsEnabled()Z