geforkt von Mirrors/FastAsyncWorldEdit
Replace CachedChange class with record
Dieser Commit ist enthalten in:
Ursprung
e5cbdec67e
Commit
ca5640e89e
@ -275,21 +275,11 @@ public class PaperweightFaweWorldNativeAccess implements WorldNativeAccess<Level
|
|||||||
cachedChunksToSend.clear();
|
cachedChunksToSend.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final class CachedChange {
|
private static final record CachedChange(
|
||||||
|
|
||||||
private final LevelChunk levelChunk;
|
|
||||||
private final BlockPos blockPos;
|
|
||||||
private final net.minecraft.world.level.block.state.BlockState blockState;
|
|
||||||
|
|
||||||
private CachedChange(
|
|
||||||
LevelChunk levelChunk,
|
LevelChunk levelChunk,
|
||||||
BlockPos blockPos,
|
BlockPos blockPos,
|
||||||
net.minecraft.world.level.block.state.BlockState blockState
|
net.minecraft.world.level.block.state.BlockState blockState
|
||||||
) {
|
) {
|
||||||
this.levelChunk = levelChunk;
|
|
||||||
this.blockPos = blockPos;
|
|
||||||
this.blockState = blockState;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -275,21 +275,11 @@ public class PaperweightFaweWorldNativeAccess implements WorldNativeAccess<Level
|
|||||||
cachedChunksToSend.clear();
|
cachedChunksToSend.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final class CachedChange {
|
private static final record CachedChange(
|
||||||
|
|
||||||
private final LevelChunk levelChunk;
|
|
||||||
private final BlockPos blockPos;
|
|
||||||
private final net.minecraft.world.level.block.state.BlockState blockState;
|
|
||||||
|
|
||||||
private CachedChange(
|
|
||||||
LevelChunk levelChunk,
|
LevelChunk levelChunk,
|
||||||
BlockPos blockPos,
|
BlockPos blockPos,
|
||||||
net.minecraft.world.level.block.state.BlockState blockState
|
net.minecraft.world.level.block.state.BlockState blockState
|
||||||
) {
|
) {
|
||||||
this.levelChunk = levelChunk;
|
|
||||||
this.blockPos = blockPos;
|
|
||||||
this.blockState = blockState;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren