Bone blocks recipe & ore, biome formatting fix

This commit is contained in:
paulevsGitch 2021-11-22 14:44:18 +03:00
parent 9d9d640d7d
commit ae0efb1f52
18 changed files with 341 additions and 344 deletions

View file

@ -430,6 +430,14 @@ public class CraftingRecipes {
.addMaterial('#', Blocks.END_STONE_BRICKS) .addMaterial('#', Blocks.END_STONE_BRICKS)
.setGroup("end_pots") .setGroup("end_pots")
.build(); .build();
GridRecipe.make(BetterEnd.MOD_ID, "dragon_bone_block", EndBlocks.DRAGON_BONE_BLOCK)
.checkConfig(Configs.RECIPE_CONFIG)
.setOutputCount(8)
.setShape("###", "#D#", "###")
.addMaterial('#', Blocks.BONE_BLOCK)
.addMaterial('D', Items.DRAGON_BREATH)
.build();
} }
private static void registerLantern(String name, Block lantern, Block slab) { private static void registerLantern(String name, Block lantern, Block slab) {

View file

@ -228,33 +228,12 @@ public class EndFeatures {
public static final BCLFeature THIN_UMBRALITH_ARCH = registerChanced("thin_umbralith_arch", new ThinArchFeature(EndBlocks.UMBRALITH.stone), 15); public static final BCLFeature THIN_UMBRALITH_ARCH = registerChanced("thin_umbralith_arch", new ThinArchFeature(EndBlocks.UMBRALITH.stone), 15);
// Ores // // Ores //
public static final BCLFeature THALLASIUM_ORE = registerOre( public static final BCLFeature THALLASIUM_ORE = registerOre("thallasium_ore", EndBlocks.THALLASIUM.ore, 24, 8, 0, 5, 128);
"thallasium_ore",
EndBlocks.THALLASIUM.ore,
24,
8,
0,
5,
128
);
public static final BCLFeature ENDER_ORE = registerOre("ender_ore", EndBlocks.ENDER_ORE, 12, 4, 0, 5, 128); public static final BCLFeature ENDER_ORE = registerOre("ender_ore", EndBlocks.ENDER_ORE, 12, 4, 0, 5, 128);
public static final BCLFeature AMBER_ORE = registerOre("amber_ore", EndBlocks.AMBER_ORE, 24, 6, 0, 5, 128); public static final BCLFeature AMBER_ORE = registerOre("amber_ore", EndBlocks.AMBER_ORE, 24, 6, 0, 5, 128);
public static final BCLFeature VIOLECITE_LAYER = registerLayer( public static final BCLFeature DRAGON_BONE_BLOCK_ORE = registerOre("dragon_bone_ore", EndBlocks.DRAGON_BONE_BLOCK, 24, 8, 0, 5, 128);
"violecite_layer", public static final BCLFeature VIOLECITE_LAYER = registerLayer("violecite_layer", EndBlocks.VIOLECITE, 15, 16, 128, 8);
EndBlocks.VIOLECITE, public static final BCLFeature FLAVOLITE_LAYER = registerLayer("flavolite_layer", EndBlocks.FLAVOLITE, 12, 16, 128, 6);
15,
16,
128,
8
);
public static final BCLFeature FLAVOLITE_LAYER = registerLayer(
"flavolite_layer",
EndBlocks.FLAVOLITE,
12,
16,
128,
6
);
// Buildings // Buildings
public static final BCLFeature CRASHED_SHIP = registerChanced("crashed_ship", new CrashedShipFeature(), 500); public static final BCLFeature CRASHED_SHIP = registerChanced("crashed_ship", new CrashedShipFeature(), 500);

View file

@ -13,7 +13,8 @@ import ru.betterend.world.biome.EndBiome;
public class AmberLandBiome extends EndBiome { public class AmberLandBiome extends EndBiome {
public AmberLandBiome() { public AmberLandBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("amber_land")).setFogColor(255, 184, 71) super(new BCLBiomeDef(BetterEnd.makeID("amber_land"))
.setFogColor(255, 184, 71)
.setFogDensity(2.0F) .setFogDensity(2.0F)
.setPlantsColor(219, 115, 38) .setPlantsColor(219, 115, 38)
.setWaterAndFogColor(145, 108, 72) .setWaterAndFogColor(145, 108, 72)

View file

@ -11,7 +11,8 @@ import ru.betterend.world.biome.EndBiome;
public class BlossomingSpiresBiome extends EndBiome { public class BlossomingSpiresBiome extends EndBiome {
public BlossomingSpiresBiome() { public BlossomingSpiresBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("blossoming_spires")).addCustomData("has_caves", false) super(new BCLBiomeDef(BetterEnd.makeID("blossoming_spires"))
.addCustomData("has_caves", false)
.setFogColor(241, 146, 229) .setFogColor(241, 146, 229)
.setFogDensity(1.7F) .setFogDensity(1.7F)
.setPlantsColor(122, 45, 122) .setPlantsColor(122, 45, 122)

View file

@ -15,7 +15,8 @@ import ru.betterend.world.biome.EndBiome;
public class ChorusForestBiome extends EndBiome { public class ChorusForestBiome extends EndBiome {
public ChorusForestBiome() { public ChorusForestBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("chorus_forest")).setFogColor(87, 26, 87) super(new BCLBiomeDef(BetterEnd.makeID("chorus_forest"))
.setFogColor(87, 26, 87)
.setFogDensity(1.5F) .setFogDensity(1.5F)
.setPlantsColor(122, 45, 122) .setPlantsColor(122, 45, 122)
.setWaterAndFogColor(73, 30, 73) .setWaterAndFogColor(73, 30, 73)
@ -28,14 +29,8 @@ public class ChorusForestBiome extends EndBiome {
.addFeature(EndFeatures.PYTHADENDRON_TREE) .addFeature(EndFeatures.PYTHADENDRON_TREE)
.addFeature(EndFeatures.PYTHADENDRON_BUSH) .addFeature(EndFeatures.PYTHADENDRON_BUSH)
.addFeature(EndFeatures.PURPLE_POLYPORE) .addFeature(EndFeatures.PURPLE_POLYPORE)
.addFeature( .addFeature(Decoration.VEGETAL_DECORATION, Features.CHORUS_PLANT)
Decoration.VEGETAL_DECORATION, .addFeature(Decoration.VEGETAL_DECORATION, Features.CHORUS_PLANT)
Features.CHORUS_PLANT
)
.addFeature(
Decoration.VEGETAL_DECORATION,
Features.CHORUS_PLANT
)
.addFeature(EndFeatures.CHORUS_GRASS) .addFeature(EndFeatures.CHORUS_GRASS)
.addFeature(EndFeatures.CHORUS_MUSHROOM) .addFeature(EndFeatures.CHORUS_MUSHROOM)
.addFeature(EndFeatures.TAIL_MOSS) .addFeature(EndFeatures.TAIL_MOSS)

View file

@ -11,7 +11,8 @@ import ru.betterend.world.biome.EndBiome;
public class CrystalMountainsBiome extends EndBiome { public class CrystalMountainsBiome extends EndBiome {
public CrystalMountainsBiome() { public CrystalMountainsBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("crystal_mountains")).addStructureFeature(EndStructures.MOUNTAIN.getFeatureConfigured()) super(new BCLBiomeDef(BetterEnd.makeID("crystal_mountains"))
.addStructureFeature(EndStructures.MOUNTAIN.getFeatureConfigured())
.setPlantsColor(255, 133, 211) .setPlantsColor(255, 133, 211)
.setSurface(EndBlocks.CRYSTAL_MOSS) .setSurface(EndBlocks.CRYSTAL_MOSS)
.setMusic(EndSounds.MUSIC_OPENSPACE) .setMusic(EndSounds.MUSIC_OPENSPACE)

View file

@ -11,7 +11,8 @@ import ru.betterend.world.biome.EndBiome;
public class DragonGraveyardsBiome extends EndBiome { public class DragonGraveyardsBiome extends EndBiome {
public DragonGraveyardsBiome() { public DragonGraveyardsBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("dragon_graveyards")).setGenChance(0.1F) super(new BCLBiomeDef(BetterEnd.makeID("dragon_graveyards"))
.setGenChance(0.1F)
.setFogColor(244, 46, 79) .setFogColor(244, 46, 79)
.setFogDensity(1.3F) .setFogDensity(1.3F)
.setParticles(EndParticles.FIREFLY, 0.0007F) .setParticles(EndParticles.FIREFLY, 0.0007F)
@ -21,6 +22,7 @@ public class DragonGraveyardsBiome extends EndBiome {
.setWaterAndFogColor(203, 59, 167) .setWaterAndFogColor(203, 59, 167)
.setPlantsColor(244, 46, 79) .setPlantsColor(244, 46, 79)
.addFeature(EndFeatures.OBSIDIAN_PILLAR_BASEMENT) .addFeature(EndFeatures.OBSIDIAN_PILLAR_BASEMENT)
.addFeature(EndFeatures.DRAGON_BONE_BLOCK_ORE)
.addFeature(EndFeatures.FALLEN_PILLAR) .addFeature(EndFeatures.FALLEN_PILLAR)
.addFeature(EndFeatures.OBSIDIAN_BOULDER) .addFeature(EndFeatures.OBSIDIAN_BOULDER)
.addFeature(EndFeatures.GIGANTIC_AMARANITA) .addFeature(EndFeatures.GIGANTIC_AMARANITA)

View file

@ -11,7 +11,8 @@ import ru.betterend.world.biome.EndBiome;
public class DryShrublandBiome extends EndBiome { public class DryShrublandBiome extends EndBiome {
public DryShrublandBiome() { public DryShrublandBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("dry_shrubland")).setFogColor(132, 35, 13) super(new BCLBiomeDef(BetterEnd.makeID("dry_shrubland"))
.setFogColor(132, 35, 13)
.setFogDensity(1.2F) .setFogDensity(1.2F)
.setWaterAndFogColor(113, 88, 53) .setWaterAndFogColor(113, 88, 53)
.setPlantsColor(237, 122, 66) .setPlantsColor(237, 122, 66)

View file

@ -11,7 +11,8 @@ import ru.betterend.world.biome.EndBiome;
public class DustWastelandsBiome extends EndBiome { public class DustWastelandsBiome extends EndBiome {
public DustWastelandsBiome() { public DustWastelandsBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("dust_wastelands")).setFogColor(226, 239, 168) super(new BCLBiomeDef(BetterEnd.makeID("dust_wastelands"))
.setFogColor(226, 239, 168)
.setFogDensity(2) .setFogDensity(2)
.setWaterAndFogColor(192, 180, 131) .setWaterAndFogColor(192, 180, 131)
.setSurface(EndBlocks.ENDSTONE_DUST) .setSurface(EndBlocks.ENDSTONE_DUST)

View file

@ -12,7 +12,8 @@ import ru.betterend.world.biome.EndBiome;
public class GlowingGrasslandsBiome extends EndBiome { public class GlowingGrasslandsBiome extends EndBiome {
public GlowingGrasslandsBiome() { public GlowingGrasslandsBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("glowing_grasslands")).setFogColor(99, 228, 247) super(new BCLBiomeDef(BetterEnd.makeID("glowing_grasslands"))
.setFogColor(99, 228, 247)
.setFogDensity(1.3F) .setFogDensity(1.3F)
.setParticles(EndParticles.FIREFLY, 0.001F) .setParticles(EndParticles.FIREFLY, 0.001F)
.setMusic(EndSounds.MUSIC_OPENSPACE) .setMusic(EndSounds.MUSIC_OPENSPACE)

View file

@ -12,7 +12,8 @@ import ru.betterend.world.biome.EndBiome;
public class LanternWoodsBiome extends EndBiome { public class LanternWoodsBiome extends EndBiome {
public LanternWoodsBiome() { public LanternWoodsBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("lantern_woods")).setFogColor(189, 82, 70) super(new BCLBiomeDef(BetterEnd.makeID("lantern_woods"))
.setFogColor(189, 82, 70)
.setFogDensity(1.1F) .setFogDensity(1.1F)
.setWaterAndFogColor(171, 234, 226) .setWaterAndFogColor(171, 234, 226)
.setPlantsColor(254, 85, 57) .setPlantsColor(254, 85, 57)

View file

@ -12,7 +12,8 @@ import ru.betterend.world.biome.EndBiome;
public class MegalakeBiome extends EndBiome { public class MegalakeBiome extends EndBiome {
public MegalakeBiome() { public MegalakeBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("megalake")).addStructureFeature(EndStructures.MEGALAKE.getFeatureConfigured()) super(new BCLBiomeDef(BetterEnd.makeID("megalake"))
.addStructureFeature(EndStructures.MEGALAKE.getFeatureConfigured())
.setPlantsColor(73, 210, 209) .setPlantsColor(73, 210, 209)
.setFogColor(178, 209, 248) .setFogColor(178, 209, 248)
.setWaterAndFogColor(96, 163, 255) .setWaterAndFogColor(96, 163, 255)

View file

@ -13,7 +13,8 @@ import ru.betterend.world.biome.EndBiome;
public class MegalakeGroveBiome extends EndBiome { public class MegalakeGroveBiome extends EndBiome {
public MegalakeGroveBiome() { public MegalakeGroveBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("megalake_grove")).addStructureFeature(EndStructures.MEGALAKE_SMALL.getFeatureConfigured()) super(new BCLBiomeDef(BetterEnd.makeID("megalake_grove"))
.addStructureFeature(EndStructures.MEGALAKE_SMALL.getFeatureConfigured())
.setPlantsColor(73, 210, 209) .setPlantsColor(73, 210, 209)
.setFogColor(178, 209, 248) .setFogColor(178, 209, 248)
.setWaterAndFogColor(96, 163, 255) .setWaterAndFogColor(96, 163, 255)

View file

@ -12,7 +12,8 @@ import ru.betterend.world.biome.EndBiome;
public class NeonOasisBiome extends EndBiome { public class NeonOasisBiome extends EndBiome {
public NeonOasisBiome() { public NeonOasisBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("neon_oasis")).setGenChance(0.5F) super(new BCLBiomeDef(BetterEnd.makeID("neon_oasis"))
.setGenChance(0.5F)
.setFogColor(226, 239, 168) .setFogColor(226, 239, 168)
.setFogDensity(2) .setFogDensity(2)
.setWaterAndFogColor(106, 238, 215) .setWaterAndFogColor(106, 238, 215)

View file

@ -11,7 +11,8 @@ import ru.betterend.world.biome.EndBiome;
public class PaintedMountainsBiome extends EndBiome { public class PaintedMountainsBiome extends EndBiome {
public PaintedMountainsBiome() { public PaintedMountainsBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("painted_mountains")).addStructureFeature(EndStructures.PAINTED_MOUNTAIN.getFeatureConfigured()) super(new BCLBiomeDef(BetterEnd.makeID("painted_mountains"))
.addStructureFeature(EndStructures.PAINTED_MOUNTAIN.getFeatureConfigured())
.setFogColor(226, 239, 168) .setFogColor(226, 239, 168)
.setFogDensity(2) .setFogDensity(2)
.setWaterAndFogColor(192, 180, 131) .setWaterAndFogColor(192, 180, 131)

View file

@ -13,7 +13,8 @@ import ru.betterend.world.biome.EndBiome;
public class ShadowForestBiome extends EndBiome { public class ShadowForestBiome extends EndBiome {
public ShadowForestBiome() { public ShadowForestBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("shadow_forest")).setFogColor(0, 0, 0) super(new BCLBiomeDef(BetterEnd.makeID("shadow_forest"))
.setFogColor(0, 0, 0)
.setFogDensity(2.5F) .setFogDensity(2.5F)
.setPlantsColor(45, 45, 45) .setPlantsColor(45, 45, 45)
.setWaterAndFogColor(42, 45, 80) .setWaterAndFogColor(42, 45, 80)

View file

@ -12,9 +12,9 @@ import ru.betterend.world.surface.SurfaceBuilders;
public class SulphurSpringsBiome extends EndBiome { public class SulphurSpringsBiome extends EndBiome {
public SulphurSpringsBiome() { public SulphurSpringsBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("sulphur_springs")).addCustomData("has_caves", false) super(new BCLBiomeDef(BetterEnd.makeID("sulphur_springs"))
.setSurface(SurfaceBuilders.SULPHURIC_SURFACE.configured( .addCustomData("has_caves", false)
SurfaceBuilders.DEFAULT_END_CONFIG)) .setSurface(SurfaceBuilders.SULPHURIC_SURFACE.configured(SurfaceBuilders.DEFAULT_END_CONFIG))
.setMusic(EndSounds.MUSIC_OPENSPACE) .setMusic(EndSounds.MUSIC_OPENSPACE)
.setLoop(EndSounds.AMBIENT_SULPHUR_SPRINGS) .setLoop(EndSounds.AMBIENT_SULPHUR_SPRINGS)
.setWaterColor(25, 90, 157) .setWaterColor(25, 90, 157)

View file

@ -12,7 +12,8 @@ import ru.betterend.world.biome.EndBiome;
public class UmbrellaJungleBiome extends EndBiome { public class UmbrellaJungleBiome extends EndBiome {
public UmbrellaJungleBiome() { public UmbrellaJungleBiome() {
super(new BCLBiomeDef(BetterEnd.makeID("umbrella_jungle")).setFogColor(87, 223, 221) super(new BCLBiomeDef(BetterEnd.makeID("umbrella_jungle"))
.setFogColor(87, 223, 221)
.setWaterAndFogColor(119, 198, 253) .setWaterAndFogColor(119, 198, 253)
.setFoliageColor(27, 183, 194) .setFoliageColor(27, 183, 194)
.setFogDensity(2.3F) .setFogDensity(2.3F)