Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-19 09:20:08 +01:00
Minor fawe adapter cleanup
Dieser Commit ist enthalten in:
Ursprung
e2a6e0a4b6
Commit
31110ed703
@ -8,6 +8,7 @@ import com.sk89q.worldedit.bukkit.BukkitPlayer;
|
||||
import com.sk89q.worldedit.bukkit.BukkitWorld;
|
||||
import com.sk89q.worldedit.bukkit.adapter.BukkitImplAdapter;
|
||||
import com.sk89q.worldedit.entity.BaseEntity;
|
||||
import com.sk89q.worldedit.math.BlockVector2;
|
||||
import com.sk89q.worldedit.math.BlockVector3;
|
||||
import com.sk89q.worldedit.math.Vector3;
|
||||
import com.sk89q.worldedit.registry.state.Property;
|
||||
@ -16,7 +17,6 @@ import com.sk89q.worldedit.util.nbt.BinaryTag;
|
||||
import com.sk89q.worldedit.util.nbt.CompoundBinaryTag;
|
||||
import com.sk89q.worldedit.world.DataFixer;
|
||||
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 com.sk89q.worldedit.world.block.BlockType;
|
||||
@ -115,6 +115,26 @@ public interface IDelegateBukkitImplAdapter<T> extends BukkitImplAdapter<T> {
|
||||
return getParent().getInternalBlockStateId(state);
|
||||
}
|
||||
|
||||
@Override
|
||||
default boolean clearContainerBlockContents(World world, BlockVector3 pt) {
|
||||
return getParent().clearContainerBlockContents(world, pt);
|
||||
}
|
||||
|
||||
@Override
|
||||
default void setBiome(Location location, BiomeType biome) {
|
||||
getParent().setBiome(location, biome);
|
||||
}
|
||||
|
||||
@Override
|
||||
default BiomeType getBiome(Location location) {
|
||||
return getParent().getBiome(location);
|
||||
}
|
||||
|
||||
@Override
|
||||
default void sendBiomeUpdates(World world, Iterable<BlockVector2> chunks) {
|
||||
getParent().sendBiomeUpdates(world, chunks);
|
||||
}
|
||||
|
||||
@Override
|
||||
default BlockMaterial getMaterial(BlockType blockType) {
|
||||
return getParent().getMaterial(blockType);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren