net.minecraft.datafixer.file.nbt

public class ChunkFixer

implements AutoCloseable

net.minecraft.util.filefix.access.ChunkNbt
net.minecraft.class_1_196
net.minecraft.datafixer.file.nbt.ChunkFixer

Field summary

Modifier and TypeField
private final VersionedChunkStorage
storage
field_1_1437
chunkStorage
private final int
targetVersion
field_1_1438
targetVersion

Constructor summary

ModifierConstructor
public (StorageKey storageKey, Path directory, DataFixType datafixType, int targetVersion)

Method summary

Modifier and TypeMethod
public void
updateChunk(ChunkPos pos, CompoundTag dataFixContext, UnaryOperator<CompoundTag> fixer)
method_1_1719(class_1923 arg0, class_2487 arg1, UnaryOperator<class_2487> arg2)
update(ChunkPos chunkPos, NbtCompound context, UnaryOperator<NbtCompound> f)
public void
close()
private CompletionStage
lambda$updateChunk$2(ChunkPos arg0, Optional arg1)
method_1_1717(class_1923 arg0, Optional arg1)
method_1_1717(ChunkPos arg0, Optional chunkNbt)
private CompletableFuture
lambda$updateChunk$3(ChunkPos arg0, CompoundTag arg1)
method_1_1718(class_1923 arg0, class_2487 arg1)
method_1_1718(ChunkPos arg0, NbtCompound chunkNbt)
private Optional
lambda$updateChunk$0(CompoundTag arg0, UnaryOperator arg1, Optional arg2)
method_1_1715(class_2487 arg0, UnaryOperator arg1, Optional arg2)
method_1_1715(NbtCompound arg0, UnaryOperator arg1, Optional chunkNbt)
private NbtCompound
lambda$updateChunk$1(CompoundTag arg0, CompoundTag arg1)
method_1_1716(class_2487 arg0, class_2487 arg1)
method_1_1716(NbtCompound arg0, NbtCompound chunkNbt)