2019-04-28 15:44:59 +00:00
|
|
|
package com.boydti.fawe.beta;
|
2019-04-25 10:32:27 +00:00
|
|
|
|
2019-05-02 08:27:33 +00:00
|
|
|
import com.sk89q.jnbt.CompoundTag;
|
2019-04-27 01:15:08 +00:00
|
|
|
import com.sk89q.worldedit.world.biome.BiomeType;
|
2019-05-02 17:38:08 +00:00
|
|
|
import com.sk89q.worldedit.world.block.BlockState;
|
2019-04-27 01:15:08 +00:00
|
|
|
import com.sk89q.worldedit.world.block.BlockStateHolder;
|
|
|
|
|
2019-05-02 17:38:08 +00:00
|
|
|
import java.util.HashMap;
|
2019-05-02 08:27:33 +00:00
|
|
|
import java.util.HashSet;
|
2019-05-02 17:38:08 +00:00
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Set;
|
2019-05-02 08:27:33 +00:00
|
|
|
import java.util.UUID;
|
|
|
|
|
2019-04-28 17:36:23 +00:00
|
|
|
/**
|
|
|
|
* Interface for setting blocks
|
|
|
|
*/
|
2019-04-25 10:32:27 +00:00
|
|
|
public interface ISetBlocks extends IBlocks {
|
2019-04-28 15:44:59 +00:00
|
|
|
boolean setBiome(int x, int y, int z, BiomeType biome);
|
2019-04-27 01:15:08 +00:00
|
|
|
|
2019-04-28 15:44:59 +00:00
|
|
|
boolean setBlock(int x, int y, int z, BlockStateHolder holder);
|
2019-04-28 17:36:23 +00:00
|
|
|
|
|
|
|
boolean isEmpty();
|
2019-05-01 15:45:18 +00:00
|
|
|
|
2019-05-02 08:27:33 +00:00
|
|
|
void setTile(int x, int y, int z, CompoundTag tile);
|
|
|
|
|
|
|
|
void setEntity(CompoundTag tag);
|
|
|
|
|
|
|
|
void removeEntity(UUID uuid);
|
|
|
|
|
2019-05-02 17:38:08 +00:00
|
|
|
BlockState getBlock(int x, int y, int z);
|
|
|
|
|
|
|
|
char[] getArray(int layer);
|
|
|
|
|
|
|
|
BiomeType[] getBiomes();
|
|
|
|
|
|
|
|
Map<Short, CompoundTag> getTiles();
|
|
|
|
|
|
|
|
Set<CompoundTag> getEntities();
|
|
|
|
|
|
|
|
Set<UUID> getEntityRemoves();
|
|
|
|
|
|
|
|
@Override
|
|
|
|
void reset();
|
2019-04-25 10:32:27 +00:00
|
|
|
}
|