2019-04-28 15:44:59 +00:00
|
|
|
package com.boydti.fawe.beta;
|
2019-04-25 10:32:27 +00:00
|
|
|
|
2019-04-30 16:19:10 +00:00
|
|
|
import com.sk89q.jnbt.CompoundTag;
|
2019-04-27 01:15:08 +00:00
|
|
|
import com.sk89q.worldedit.world.biome.BiomeType;
|
|
|
|
import com.sk89q.worldedit.world.block.BaseBlock;
|
|
|
|
import com.sk89q.worldedit.world.block.BlockState;
|
|
|
|
|
2019-04-28 17:36:23 +00:00
|
|
|
/**
|
|
|
|
* Interface for getting blocks
|
|
|
|
*/
|
|
|
|
public interface IGetBlocks extends IBlocks, Trimable {
|
2019-04-27 01:15:08 +00:00
|
|
|
BaseBlock getFullBlock(int x, int y, int z);
|
|
|
|
|
|
|
|
BiomeType getBiome(int x, int z);
|
|
|
|
|
|
|
|
BlockState getBlock(int x, int y, int z);
|
2019-04-28 15:44:59 +00:00
|
|
|
|
2019-04-30 16:19:10 +00:00
|
|
|
CompoundTag getTag(int x, int y, int z);
|
|
|
|
|
2019-04-28 17:36:23 +00:00
|
|
|
@Override
|
|
|
|
boolean trim(boolean aggressive);
|
2019-04-30 16:19:10 +00:00
|
|
|
|
2019-05-01 15:45:18 +00:00
|
|
|
default void optimize() {
|
|
|
|
|
|
|
|
}
|
2019-04-25 10:32:27 +00:00
|
|
|
}
|