Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-266289

Could not save data raids.dat and random_sequences.dat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w45a
    • 23w44a
    • None
    • Confirmed
    • Raids, Save Data
    • Very Important
    • Platform

      How to reproduce (output log)

      1. Open a world, pause the game and look in the output log
      2. Notice there are error messages about saving raids.dat and random_sequences.dat

      How to reproduce (raids not saving)

      1. Find a village and give yourself the bad omen effect
        /locate structure #minecraft:village
        /effect give @s minecraft:bad_omen
        
      2. The raid boss bar appears
      3. Leave and reopen the world
      4. Notice that the raid has vanished

      Error message in the log

      Could not save data cfi@342b30ad
      java.nio.file.NoSuchFileException: C:\Users\Username\AppData\Roaming\.minecraft\saves\23w44a\DIM-1\data\raids.dat
      	at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
      	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
      	at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:236)
      	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
      	at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
      	at sq.a(SourceFile:73)
      	at eec.a(SourceFile:45)
      	at een.b(SourceFile:122)
      	at java.base/java.util.HashMap.forEach(HashMap.java:1421)
      	at een.a(SourceFile:120)
      	at ami.au(SourceFile:822)
      	at ami.a(SourceFile:804)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:541)
      	at net.minecraft.server.MinecraftServer.b(SourceFile:565)
      	at gfy.a(SourceFile:92)
      	at net.minecraft.server.MinecraftServer.w(SourceFile:682)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:269)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      

            boq [Mojang] Bartosz Bok
            Misoloo [Helper] Misode
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: