Class AlphaChunkStorage

java.lang.Object
net.minecraft.world.chunk.storage.AlphaChunkStorage
All Implemented Interfaces:
ChunkStorage

public class AlphaChunkStorage extends Object implements ChunkStorage
Mappings:
Namespace Name
intermediary net/minecraft/class_445
glue class_475
server mg
client to
named net/minecraft/world/chunk/storage/AlphaChunkStorage
  • Field Details

    • dir

      private File dir
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1701 Lnet/minecraft/class_445;field_1701:Ljava/io/File;
      glue field_1859 Lclass_475;field_1859:Ljava/io/File;
      server a Lmg;a:Ljava/io/File;
      client a Lto;a:Ljava/io/File;
      named dir Lnet/minecraft/world/chunk/storage/AlphaChunkStorage;dir:Ljava/io/File;
    • make

      private boolean make
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1702 Lnet/minecraft/class_445;field_1702:Z
      glue field_1860 Lclass_475;field_1860:Z
      server b Lmg;b:Z
      client b Lto;b:Z
      named make Lnet/minecraft/world/chunk/storage/AlphaChunkStorage;make:Z
  • Constructor Details

    • AlphaChunkStorage

      public AlphaChunkStorage(File dir, boolean make)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_445;<init>(Ljava/io/File;Z)V
      glue <init> Lclass_475;<init>(Ljava/io/File;Z)V
      server <init> Lmg;<init>(Ljava/io/File;Z)V
      client <init> Lto;<init>(Ljava/io/File;Z)V
      named <init> Lnet/minecraft/world/chunk/storage/AlphaChunkStorage;<init>(Ljava/io/File;Z)V
  • Method Details

    • getChunkFile

      private File getChunkFile(int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1478 Lnet/minecraft/class_445;method_1478(II)Ljava/io/File;
      glue method_1743 Lclass_475;method_1743(II)Ljava/io/File;
      server a Lmg;a(II)Ljava/io/File;
      client a Lto;a(II)Ljava/io/File;
      named getChunkFile Lnet/minecraft/world/chunk/storage/AlphaChunkStorage;getChunkFile(II)Ljava/io/File;
    • loadChunk

      public Chunk loadChunk(World world, int chunkX, int chunkZ)
      Specified by:
      loadChunk in interface ChunkStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_811 Lnet/minecraft/class_243;method_811(Lnet/minecraft/class_18;II)Lnet/minecraft/class_43;
      glue method_70 Lclass_26;method_70(Lclass_129;II)Lclass_279;
      server a Lan;a(Ldj;II)Lhi;
      client a Lbf;a(Lfd;II)Llm;
      named loadChunk Lnet/minecraft/world/chunk/storage/ChunkStorage;loadChunk(Lnet/minecraft/world/World;II)Lnet/minecraft/world/chunk/Chunk;
    • saveChunk

      public void saveChunk(World world, Chunk chunk)
      Specified by:
      saveChunk in interface ChunkStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_812 Lnet/minecraft/class_243;method_812(Lnet/minecraft/class_18;Lnet/minecraft/class_43;)V
      glue method_71 Lclass_26;method_71(Lclass_129;Lclass_279;)V
      server a Lan;a(Ldj;Lhi;)V
      client a Lbf;a(Lfd;Llm;)V
      named saveChunk Lnet/minecraft/world/chunk/storage/ChunkStorage;saveChunk(Lnet/minecraft/world/World;Lnet/minecraft/world/chunk/Chunk;)V
    • saveChunkToNbt

      public static void saveChunkToNbt(Chunk chunk, World world, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1480 Lnet/minecraft/class_445;method_1480(Lnet/minecraft/class_43;Lnet/minecraft/class_18;Lnet/minecraft/class_8;)V
      glue method_1745 Lclass_475;method_1745(Lclass_279;Lclass_129;Lclass_333;)V
      server a Lmg;a(Lhi;Ldj;Liq;)V
      client a Lto;a(Llm;Lfd;Lnu;)V
      named saveChunkToNbt Lnet/minecraft/world/chunk/storage/AlphaChunkStorage;saveChunkToNbt(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/World;Lnet/minecraft/nbt/NbtCompound;)V
    • loadChunkFromNbt

      public static Chunk loadChunkFromNbt(World world, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1479 Lnet/minecraft/class_445;method_1479(Lnet/minecraft/class_18;Lnet/minecraft/class_8;)Lnet/minecraft/class_43;
      glue method_1744 Lclass_475;method_1744(Lclass_129;Lclass_333;)Lclass_279;
      server a Lmg;a(Ldj;Liq;)Lhi;
      client a Lto;a(Lfd;Lnu;)Llm;
      named loadChunkFromNbt Lnet/minecraft/world/chunk/storage/AlphaChunkStorage;loadChunkFromNbt(Lnet/minecraft/world/World;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/chunk/Chunk;
    • tick

      public void tick()
      Specified by:
      tick in interface ChunkStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_810 Lnet/minecraft/class_243;method_810()V
      glue method_69 Lclass_26;method_69()V
      server a Lan;a()V
      client a Lbf;a()V
      named tick Lnet/minecraft/world/chunk/storage/ChunkStorage;tick()V
    • flush

      public void flush()
      Specified by:
      flush in interface ChunkStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_813 Lnet/minecraft/class_243;method_813()V
      glue method_72 Lclass_26;method_72()V
      server b Lan;b()V
      client b Lbf;b()V
      named flush Lnet/minecraft/world/chunk/storage/ChunkStorage;flush()V
    • saveEntities

      public void saveEntities(World world, Chunk chunk)
      Specified by:
      saveEntities in interface ChunkStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_814 Lnet/minecraft/class_243;method_814(Lnet/minecraft/class_18;Lnet/minecraft/class_43;)V
      glue method_73 Lclass_26;method_73(Lclass_129;Lclass_279;)V
      server b Lan;b(Ldj;Lhi;)V
      client b Lbf;b(Lfd;Llm;)V
      named saveEntities Lnet/minecraft/world/chunk/storage/ChunkStorage;saveEntities(Lnet/minecraft/world/World;Lnet/minecraft/world/chunk/Chunk;)V