Fixed surface block setting
This commit is contained in:
parent
633c5ad553
commit
2a0f58a729
14 changed files with 73 additions and 21 deletions
|
@ -2,7 +2,6 @@ package ru.betterend.world.biome.land;
|
|||
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.levelgen.SurfaceRules;
|
||||
import ru.bclib.api.biomes.BCLBiomeBuilder;
|
||||
import ru.bclib.api.biomes.SurfaceMaterialProvider;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
|
@ -26,7 +25,7 @@ public class AmberLandBiome extends EndBiome.Config {
|
|||
.music(EndSounds.MUSIC_FOREST)
|
||||
.loop(EndSounds.AMBIENT_AMBER_LAND)
|
||||
.particles(EndParticles.AMBER_SPHERE, 0.001F)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
.feature(EndFeatures.AMBER_ORE)
|
||||
.feature(EndFeatures.END_LAKE_RARE)
|
||||
.feature(EndFeatures.HELIX_TREE)
|
||||
|
|
|
@ -2,7 +2,6 @@ package ru.betterend.world.biome.land;
|
|||
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.levelgen.SurfaceRules;
|
||||
import ru.bclib.api.biomes.BCLBiomeBuilder;
|
||||
import ru.bclib.api.biomes.SurfaceMaterialProvider;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
|
@ -26,7 +25,7 @@ public class BlossomingSpiresBiome extends EndBiome.Config {
|
|||
builder.fogColor(241, 146, 229)
|
||||
.fogDensity(1.7F)
|
||||
.plantsColor(122, 45, 122)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
.music(EndSounds.MUSIC_FOREST)
|
||||
.loop(EndSounds.AMBIENT_BLOSSOMING_SPIRES)
|
||||
.feature(EndFeatures.SPIRE)
|
||||
|
|
|
@ -25,7 +25,7 @@ public class ChorusForestBiome extends EndBiome.Config {
|
|||
.fogDensity(1.5F)
|
||||
.plantsColor(122, 45, 122)
|
||||
.waterAndFogColor(73, 30, 73)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
.particles(ParticleTypes.PORTAL, 0.01F)
|
||||
.loop(EndSounds.AMBIENT_CHORUS_FOREST)
|
||||
.music(EndSounds.MUSIC_DARK)
|
||||
|
|
|
@ -20,7 +20,7 @@ public class CrystalMountainsBiome extends EndBiome.Config {
|
|||
protected void addCustomBuildData(BCLBiomeBuilder builder) {
|
||||
builder.structure(EndStructures.MOUNTAIN.getFeatureConfigured())
|
||||
.plantsColor(255, 133, 211)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
.music(EndSounds.MUSIC_OPENSPACE)
|
||||
.feature(EndFeatures.CRYSTAL_GRASS)
|
||||
.spawn(EntityType.ENDERMAN, 50, 1, 2);
|
||||
|
|
|
@ -24,7 +24,7 @@ public class DragonGraveyardsBiome extends EndBiome.Config {
|
|||
.particles(EndParticles.FIREFLY, 0.0007F)
|
||||
.music(EndSounds.MUSIC_OPENSPACE)
|
||||
.loop(EndSounds.AMBIENT_GLOWING_GRASSLANDS)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
.waterAndFogColor(203, 59, 167)
|
||||
.plantsColor(244, 46, 79)
|
||||
.feature(EndFeatures.OBSIDIAN_PILLAR_BASEMENT)
|
||||
|
|
|
@ -21,7 +21,7 @@ public class DryShrublandBiome extends EndBiome.Config {
|
|||
.fogDensity(1.2F)
|
||||
.waterAndFogColor(113, 88, 53)
|
||||
.plantsColor(237, 122, 66)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
.music(EndSounds.MUSIC_OPENSPACE)
|
||||
.feature(EndFeatures.LUCERNIA_BUSH_RARE)
|
||||
.feature(EndFeatures.ORANGO)
|
||||
|
|
|
@ -20,7 +20,7 @@ public class DustWastelandsBiome extends EndBiome.Config {
|
|||
builder.fogColor(226, 239, 168)
|
||||
.fogDensity(2)
|
||||
.waterAndFogColor(192, 180, 131)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
//TODO: 1.18 removed
|
||||
//.depth(1.5F)
|
||||
.particles(ParticleTypes.WHITE_ASH, 0.01F)
|
||||
|
|
|
@ -23,7 +23,7 @@ public class GlowingGrasslandsBiome extends EndBiome.Config {
|
|||
.particles(EndParticles.FIREFLY, 0.001F)
|
||||
.music(EndSounds.MUSIC_OPENSPACE)
|
||||
.loop(EndSounds.AMBIENT_GLOWING_GRASSLANDS)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
.waterAndFogColor(92, 250, 230)
|
||||
.plantsColor(73, 210, 209)
|
||||
.feature(EndFeatures.END_LAKE_RARE)
|
||||
|
|
|
@ -22,7 +22,7 @@ public class LanternWoodsBiome extends EndBiome.Config {
|
|||
.fogDensity(1.1F)
|
||||
.waterAndFogColor(171, 234, 226)
|
||||
.plantsColor(254, 85, 57)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
.music(EndSounds.MUSIC_FOREST)
|
||||
.particles(EndParticles.GLOWING_SPHERE, 0.001F)
|
||||
.feature(EndFeatures.END_LAKE_NORMAL)
|
||||
|
|
|
@ -28,7 +28,7 @@ public class MegalakeGroveBiome extends EndBiome.Config {
|
|||
.particles(EndParticles.GLOWING_SPHERE, 0.001F)
|
||||
.music(EndSounds.MUSIC_WATER)
|
||||
.loop(EndSounds.AMBIENT_MEGALAKE_GROVE)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
//TODO: 1.18 removed
|
||||
//.depth(0F)
|
||||
.feature(EndFeatures.LACUGROVE)
|
||||
|
|
|
@ -24,7 +24,7 @@ public class PaintedMountainsBiome extends EndBiome.Config {
|
|||
.waterAndFogColor(192, 180, 131)
|
||||
.music(EndSounds.MUSIC_OPENSPACE)
|
||||
.loop(EndSounds.AMBIENT_DUST_WASTELANDS)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
.particles(ParticleTypes.WHITE_ASH, 0.01F)
|
||||
.spawn(EntityType.ENDERMAN, 50, 1, 2);
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ public class ShadowForestBiome extends EndBiome.Config {
|
|||
.fogDensity(2.5F)
|
||||
.plantsColor(45, 45, 45)
|
||||
.waterAndFogColor(42, 45, 80)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
.particles(ParticleTypes.MYCELIUM, 0.01F)
|
||||
.loop(EndSounds.AMBIENT_CHORUS_FOREST)
|
||||
.music(EndSounds.MUSIC_DARK)
|
||||
|
|
|
@ -25,7 +25,7 @@ public class UmbrellaJungleBiome extends EndBiome.Config {
|
|||
.particles(EndParticles.JUNGLE_SPORE, 0.001F)
|
||||
.music(EndSounds.MUSIC_FOREST)
|
||||
.loop(EndSounds.AMBIENT_UMBRELLA_JUNGLE)
|
||||
.surface(SurfaceRules.state(surfaceMaterial().getTopMaterial()))
|
||||
.surface(surfaceMaterial().getTopMaterial())
|
||||
.feature(EndFeatures.END_LAKE)
|
||||
.feature(EndFeatures.UMBRELLA_TREE)
|
||||
.feature(EndFeatures.JELLYSHROOM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue