Class LevelSummary

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

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

    • fileName

      private final String fileName
      Mappings:
      Namespace Name Mixin selector
      official a Lats;a:Ljava/lang/String;
      intermediary field_254 Lnet/minecraft/class_103;field_254:Ljava/lang/String;
      named fileName Lnet/minecraft/world/level/storage/LevelSummary;fileName:Ljava/lang/String;
    • displayName

      private final String displayName
      Mappings:
      Namespace Name Mixin selector
      official b Lats;b:Ljava/lang/String;
      intermediary field_255 Lnet/minecraft/class_103;field_255:Ljava/lang/String;
      named displayName Lnet/minecraft/world/level/storage/LevelSummary;displayName:Ljava/lang/String;
    • lastPlayed

      private final long lastPlayed
      Mappings:
      Namespace Name Mixin selector
      official c Lats;c:J
      intermediary field_256 Lnet/minecraft/class_103;field_256:J
      named lastPlayed Lnet/minecraft/world/level/storage/LevelSummary;lastPlayed:J
    • sizeOnDisk

      private final long sizeOnDisk
      Mappings:
      Namespace Name Mixin selector
      official d Lats;d:J
      intermediary field_257 Lnet/minecraft/class_103;field_257:J
      named sizeOnDisk Lnet/minecraft/world/level/storage/LevelSummary;sizeOnDisk:J
    • requiresConversion

      private final boolean requiresConversion
      Mappings:
      Namespace Name Mixin selector
      official e Lats;e:Z
      intermediary field_258 Lnet/minecraft/class_103;field_258:Z
      named requiresConversion Lnet/minecraft/world/level/storage/LevelSummary;requiresConversion:Z
    • gameMode

      private final LevelInfo.GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official f Lats;f:Ladp$a;
      intermediary field_259 Lnet/minecraft/class_103;field_259:Lnet/minecraft/class_1156$class_1157;
      named gameMode Lnet/minecraft/world/level/storage/LevelSummary;gameMode:Lnet/minecraft/world/level/LevelInfo$GameMode;
    • hardcore

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

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

    • LevelSummary

      public LevelSummary(String fileName, String displayName, long lastPlayed, long size, LevelInfo.GameMode gameMode, boolean requiresConversion, 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_103;<init>(Ljava/lang/String;Ljava/lang/String;JJLnet/minecraft/class_1156$class_1157;ZZZ)V
      named <init> Lnet/minecraft/world/level/storage/LevelSummary;<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_256 Lnet/minecraft/class_103;method_256()Ljava/lang/String;
      named getFileName Lnet/minecraft/world/level/storage/LevelSummary;getFileName()Ljava/lang/String;
    • getDisplayName

      public String getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official b Lats;b()Ljava/lang/String;
      intermediary method_258 Lnet/minecraft/class_103;method_258()Ljava/lang/String;
      named getDisplayName Lnet/minecraft/world/level/storage/LevelSummary;getDisplayName()Ljava/lang/String;
    • getSizeOnDisk

      public long getSizeOnDisk()
      Mappings:
      Namespace Name Mixin selector
      official c Lats;c()J
      intermediary method_6608 Lnet/minecraft/class_103;method_6608()J
      named getSizeOnDisk Lnet/minecraft/world/level/storage/LevelSummary;getSizeOnDisk()J
    • requiresConversion

      public boolean requiresConversion()
      Mappings:
      Namespace Name Mixin selector
      official d Lats;d()Z
      intermediary method_259 Lnet/minecraft/class_103;method_259()Z
      named requiresConversion Lnet/minecraft/world/level/storage/LevelSummary;requiresConversion()Z
    • getLastPlayed

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

      public int compareTo(LevelSummary levelSummary)
      Specified by:
      compareTo in interface Comparable<LevelSummary>
      Mappings:
      Namespace Name Mixin selector
      official a Lats;a(Lats;)I
      intermediary method_257 Lnet/minecraft/class_103;method_257(Lnet/minecraft/class_103;)I
      named compareTo Lnet/minecraft/world/level/storage/LevelSummary;compareTo(Lnet/minecraft/world/level/storage/LevelSummary;)I
    • getGameMode

      public LevelInfo.GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official f Lats;f()Ladp$a;
      intermediary method_261 Lnet/minecraft/class_103;method_261()Lnet/minecraft/class_1156$class_1157;
      named getGameMode Lnet/minecraft/world/level/storage/LevelSummary;getGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
    • isHardcore

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

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