From 50ceb4d715dad5f7cf2ba6c848257dcebebdc6a3 Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Thu, 5 Mar 2020 16:10:38 -0500 Subject: [PATCH] More cleanup --- .../java/com/boydti/fawe/beta/IChunk.java | 31 ------------------- .../com/boydti/fawe/jnbt/anvil/MCAChunk.java | 1 + 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/beta/IChunk.java b/worldedit-core/src/main/java/com/boydti/fawe/beta/IChunk.java index 58921adc3..1d5aac946 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/beta/IChunk.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/beta/IChunk.java @@ -3,10 +3,6 @@ package com.boydti.fawe.beta; import com.boydti.fawe.beta.implementation.filter.block.ChunkFilterBlock; import com.sk89q.jnbt.CompoundTag; 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 org.jetbrains.annotations.Range; @@ -49,14 +45,6 @@ public interface IChunk extends Trimable, IChunkGet, IChunkSet { 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 * @@ -75,25 +63,6 @@ public interface IChunk extends Trimable, IChunkGet, IChunkSet { // */ // 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 - > 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 CompoundTag getTile(int x, int y, int z); diff --git a/worldedit-core/src/main/java/com/boydti/fawe/jnbt/anvil/MCAChunk.java b/worldedit-core/src/main/java/com/boydti/fawe/jnbt/anvil/MCAChunk.java index 16cc9f06d..3978abb41 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/jnbt/anvil/MCAChunk.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/jnbt/anvil/MCAChunk.java @@ -476,6 +476,7 @@ public class MCAChunk implements IChunk { return tiles == null ? Collections.emptyMap() : tiles; } + @Override public CompoundTag getTile(int x, int y, int z) { if (tiles == null || tiles.isEmpty()) { return null;