Adding c:end_stones
to terrain Blockas and all blocks that are used in surface rules for our end biomes. (#436)
This commit is contained in:
parent
4e008ab208
commit
288bf2e473
5 changed files with 46 additions and 4 deletions
|
@ -31,6 +31,7 @@ import ru.betterend.BetterEnd;
|
|||
import ru.betterend.blocks.basis.EndTerrainBlock;
|
||||
import ru.betterend.blocks.basis.PedestalBlock;
|
||||
import ru.betterend.item.tool.EndHammerItem;
|
||||
import ru.betterend.world.biome.EndBiome;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -139,6 +140,12 @@ public class EndTags {
|
|||
TagAPI.addBlockTag(NamedCommonBlockTags.END_STONES, bl);
|
||||
}
|
||||
|
||||
public static void addBiomeSurfaceToEndGroup(EndBiome b){
|
||||
addEndGround(b.getTopMaterial().getBlock());
|
||||
addEndGround(b.getAltTopMaterial().getBlock());
|
||||
addEndGround(b.getUnderMaterial().getBlock());
|
||||
}
|
||||
|
||||
// TODO make getter for biome top blocks
|
||||
public static void addTerrainTags(Registry<Biome> biomeRegistry) {
|
||||
/*biomeRegistry.forEach((biome) -> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue