Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
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(
|
||||||
|
LevelChunk levelChunk,
|
||||||
private final LevelChunk levelChunk;
|
BlockPos blockPos,
|
||||||
private final BlockPos blockPos;
|
net.minecraft.world.level.block.state.BlockState blockState
|
||||||
private final net.minecraft.world.level.block.state.BlockState blockState;
|
) {
|
||||||
|
|
||||||
private CachedChange(
|
|
||||||
LevelChunk levelChunk,
|
|
||||||
BlockPos blockPos,
|
|
||||||
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(
|
||||||
|
LevelChunk levelChunk,
|
||||||
private final LevelChunk levelChunk;
|
BlockPos blockPos,
|
||||||
private final BlockPos blockPos;
|
net.minecraft.world.level.block.state.BlockState blockState
|
||||||
private final net.minecraft.world.level.block.state.BlockState blockState;
|
) {
|
||||||
|
|
||||||
private CachedChange(
|
|
||||||
LevelChunk levelChunk,
|
|
||||||
BlockPos blockPos,
|
|
||||||
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