mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-10 06:48:34 +00:00
Upstream merge of the region package and things that may have broken with it.
This commit is contained in:
@ -38,7 +38,9 @@ public interface VirtualWorld extends SimpleWorld, Closeable {
|
||||
|
||||
void close(boolean update) throws IOException;
|
||||
|
||||
default void handleBlockInteract(Player player, BlockVector3 pos, BlockInteractEvent event) {}
|
||||
default void handleBlockInteract(Player player, BlockVector3 pos, BlockInteractEvent event) {
|
||||
}
|
||||
|
||||
default void handlePlayerInput(Player player, PlayerInputEvent event) {}
|
||||
default void handlePlayerInput(Player player, PlayerInputEvent event) {
|
||||
}
|
||||
}
|
||||
|
@ -230,7 +230,7 @@ public class HeightMapMCAGenerator extends MCAWriter implements StreamChange, Dr
|
||||
private ImageViewer viewer;
|
||||
// Used for visualizing the world by sending chunk packets
|
||||
// These three variables should be set together
|
||||
// private IQueueExtent packetQueue;
|
||||
// private IQueueExtent packetQueue;
|
||||
private Player player;
|
||||
private BlockVector2 chunkOffset = BlockVector2.ZERO;
|
||||
private EditSession editSession;
|
||||
@ -895,6 +895,11 @@ public class HeightMapMCAGenerator extends MCAWriter implements StreamChange, Dr
|
||||
return getFolder().toPath();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMinY() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean regenerateChunk(int x, int z, @Nullable BiomeType biome, @Nullable Long seed) {
|
||||
// Unsupported
|
||||
|
Reference in New Issue
Block a user