Package net.minecraft.world.storage
Class RegionFile.ChunkBuffer
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
net.minecraft.world.storage.RegionFile.ChunkBuffer
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
- RegionFile
class RegionFile.ChunkBuffer extends ByteArrayOutputStream
- Mappings:
Namespace Name official cko$a
intermediary net/minecraft/class_2861$class_2862
named net/minecraft/world/storage/RegionFile$ChunkBuffer
-
Field Summary
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
-
Constructor Summary
Constructors Constructor Description ChunkBuffer(ChunkPos pos)
-
Method Summary
Modifier and Type Method Description void
close()
Methods inherited from class java.io.ByteArrayOutputStream
reset, size, toByteArray, toString, toString, toString, toString, write, write, writeBytes, writeTo
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official b
Lcko$a;b:Lbta;
intermediary field_17656
Lnet/minecraft/class_2861$class_2862;field_17656:Lnet/minecraft/class_1923;
named pos
Lnet/minecraft/world/storage/RegionFile$ChunkBuffer;pos:Lnet/minecraft/util/math/ChunkPos;
-
-
Constructor Details
-
ChunkBuffer
- Mappings:
Namespace Name Mixin selector official <init>
Lcko$a;<init>(Lcko;Lbta;)V
intermediary <init>
Lnet/minecraft/class_2861$class_2862;<init>(Lnet/minecraft/class_2861;Lnet/minecraft/class_1923;)V
named <init>
Lnet/minecraft/world/storage/RegionFile$ChunkBuffer;<init>(Lnet/minecraft/world/storage/RegionFile;Lnet/minecraft/util/math/ChunkPos;)V
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classByteArrayOutputStream
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official close
Lcko$a;close()V
intermediary close
Lnet/minecraft/class_2861$class_2862;close()V
named close
Lnet/minecraft/world/storage/RegionFile$ChunkBuffer;close()V
-