Biome separation, Smaragdant caves & cave fixes
This commit is contained in:
parent
231794363b
commit
3daf3421ee
44 changed files with 332 additions and 140 deletions
|
@ -196,6 +196,17 @@ public class BlocksHelper {
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (state.isOf(EndBlocks.SMARAGDANT_CRYSTAL)) {
|
||||
POS.setY(POS.getY() - 1);
|
||||
if (world.isAir(POS)) {
|
||||
POS.setY(POS.getY() + 1);
|
||||
while (state.isOf(EndBlocks.SMARAGDANT_CRYSTAL)) {
|
||||
setWithoutUpdate(world, POS, AIR);
|
||||
POS.setY(POS.getY() + 1);
|
||||
state = world.getBlockState(POS);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!state.canPlaceAt(world, POS)) {
|
||||
// Chorus
|
||||
if (state.isOf(Blocks.CHORUS_PLANT)) {
|
||||
|
|
|
@ -11,7 +11,7 @@ import net.minecraft.block.Block;
|
|||
import net.minecraft.util.Identifier;
|
||||
import ru.betterend.registry.EndBiomes;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
import ru.betterend.world.biome.EndBiome;
|
||||
import ru.betterend.world.biome.land.EndBiome;
|
||||
|
||||
public class BonemealUtil {
|
||||
private static final Map<Identifier, Map<Block, GrassList>> GRASS_BIOMES = Maps.newHashMap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue