Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-08 04:20:06 +01:00
More cleanup
Dieser Commit ist enthalten in:
Ursprung
58eae73040
Commit
50ceb4d715
@ -3,10 +3,6 @@ package com.boydti.fawe.beta;
|
|||||||
import com.boydti.fawe.beta.implementation.filter.block.ChunkFilterBlock;
|
import com.boydti.fawe.beta.implementation.filter.block.ChunkFilterBlock;
|
||||||
import com.sk89q.jnbt.CompoundTag;
|
import com.sk89q.jnbt.CompoundTag;
|
||||||
import com.sk89q.worldedit.regions.Region;
|
import com.sk89q.worldedit.regions.Region;
|
||||||
import com.sk89q.worldedit.world.biome.BiomeType;
|
|
||||||
import com.sk89q.worldedit.world.block.BaseBlock;
|
|
||||||
import com.sk89q.worldedit.world.block.BlockState;
|
|
||||||
import com.sk89q.worldedit.world.block.BlockStateHolder;
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import org.jetbrains.annotations.Range;
|
import org.jetbrains.annotations.Range;
|
||||||
|
|
||||||
@ -49,14 +45,6 @@ public interface IChunk extends Trimable, IChunkGet, IChunkSet {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Checks if there are any queued changes for this chunk.
|
|
||||||
*
|
|
||||||
* @return true if no changes are queued for this chunk
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
boolean isEmpty();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter through all the blocks in the chunk
|
* Filter through all the blocks in the chunk
|
||||||
*
|
*
|
||||||
@ -75,25 +63,6 @@ public interface IChunk extends Trimable, IChunkGet, IChunkSet {
|
|||||||
// */
|
// */
|
||||||
// void flood(Flood flood, FilterBlockMask mask, ChunkFilterBlock block);
|
// void flood(Flood flood, FilterBlockMask mask, ChunkFilterBlock block);
|
||||||
|
|
||||||
/* set - queues a change */
|
|
||||||
@Override
|
|
||||||
boolean setBiome(int x, int y, int z, BiomeType biome);
|
|
||||||
|
|
||||||
@Override
|
|
||||||
boolean setTile(int x, int y, int z, CompoundTag tag);
|
|
||||||
|
|
||||||
@Override
|
|
||||||
<T extends BlockStateHolder<T>> boolean setBlock(int x, int y, int z, T block);
|
|
||||||
|
|
||||||
@Override
|
|
||||||
BiomeType getBiomeType(int x, int y, int z);
|
|
||||||
|
|
||||||
@Override
|
|
||||||
BlockState getBlock(int x, int y, int z);
|
|
||||||
|
|
||||||
@Override
|
|
||||||
BaseBlock getFullBlock(int x, int y, int z);
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
CompoundTag getTile(int x, int y, int z);
|
CompoundTag getTile(int x, int y, int z);
|
||||||
|
|
||||||
|
@ -476,6 +476,7 @@ public class MCAChunk implements IChunk {
|
|||||||
return tiles == null ? Collections.emptyMap() : tiles;
|
return tiles == null ? Collections.emptyMap() : tiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public CompoundTag getTile(int x, int y, int z) {
|
public CompoundTag getTile(int x, int y, int z) {
|
||||||
if (tiles == null || tiles.isEmpty()) {
|
if (tiles == null || tiles.isEmpty()) {
|
||||||
return null;
|
return null;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren