Use BentoBox 1.16.1

Removed unused class.
This commit is contained in:
tastybento 2021-03-20 08:09:52 -07:00
parent 8971755bf0
commit 253fcf6483
2 changed files with 1 additions and 28 deletions

View File

@ -59,7 +59,7 @@
<powermock.version>2.0.2</powermock.version>
<!-- More visible way how to change dependency versions -->
<spigot.version>1.16.5-R0.1-SNAPSHOT</spigot.version>
<bentobox.version>1.16.1-SNAPSHOT</bentobox.version>
<bentobox.version>1.16.1</bentobox.version>
<!-- Revision variable removes warning about dynamic version -->
<revision>${build.version}-SNAPSHOT</revision>
<!-- Do not change unless you want different name for local builds. -->

View File

@ -1,27 +0,0 @@
package world.bentobox.boxed.generators;
import org.bukkit.Material;
import nl.rutgerkok.worldgeneratorapi.BaseTerrainGenerator;
import nl.rutgerkok.worldgeneratorapi.BiomeGenerator;
import world.bentobox.boxed.Boxed;
public class PancakeGenerator implements BaseTerrainGenerator {
private Boxed addon;
public PancakeGenerator(Boxed addon) {
this.addon = addon;
}
@Override
public int getHeight(BiomeGenerator biomeGenerator, int x, int z, HeightType type) {
return addon.getSettings().getIslandHeight();
}
@Override
public void setBlocksInChunk(GeneratingChunk chunk) {
chunk.getBlocksForChunk().setRegion(0, 0, 0, CHUNK_SIZE, 63, CHUNK_SIZE, Material.STONE);
}
}