Biome tweaks
This commit is contained in:
parent
0c97c19c1d
commit
2e9c5178b2
|
@ -15,9 +15,6 @@ public class BOPItems
|
|||
|
||||
public static Item mudball;
|
||||
public static Item mud_brick;
|
||||
|
||||
public static Item pile_of_ashes;
|
||||
public static Item chunk_of_flesh;
|
||||
|
||||
public static Item fir_boat;
|
||||
public static Item redwood_boat;
|
||||
|
|
|
@ -95,5 +95,6 @@ public class AlpsBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
|
||||
this.addWeight(BOPClimates.ICE_CAP, 5);
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -95,5 +95,7 @@ public class AlpsFoothillsBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.SLIME, 100, 4, 4));
|
||||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.ENDERMAN, 10, 1, 4));
|
||||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ public class BogMireBiome extends BiomeBOP
|
|||
{
|
||||
public BogMireBiome()
|
||||
{
|
||||
super((new Biome.BiomeBuilder()).surfaceBuilder(new CompositeSurfaceBuilder(BOPBiomeFeatures.MUD_SURFACE_BUILDER, GRASS_DIRT_GRAVEL_SURFACE)).precipitation(Biome.RainType.RAIN).category(Biome.Category.SWAMP).depth(-0.1F).scale(0.05F).temperature(0.55F).downfall(0.9F).waterColor(0x433721).waterFogColor(0x0C0C03).parent((String)null));
|
||||
super((new Biome.BiomeBuilder()).surfaceBuilder(new CompositeSurfaceBuilder(DEFAULT_SURFACE_BUILDER, BOPBiomeFeatures.MUD_SURFACE)).precipitation(Biome.RainType.RAIN).category(Biome.Category.SWAMP).depth(-0.1F).scale(0.05F).temperature(0.55F).downfall(0.9F).waterColor(0x433721).waterFogColor(0x0C0C03).parent((String)null));
|
||||
|
||||
// Mineshafts and Strongholds
|
||||
this.addStructure(Feature.SWAMP_HUT, new SwampHutConfig());
|
||||
|
@ -108,12 +108,12 @@ public class BogMireBiome extends BiomeBOP
|
|||
@OnlyIn(Dist.CLIENT)
|
||||
public int getGrassColor(BlockPos pos)
|
||||
{
|
||||
return 0x5E5C3E;
|
||||
return 0x68584A;
|
||||
}
|
||||
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
public int getFoliageColor(BlockPos pos)
|
||||
{
|
||||
return 0x776F4F;
|
||||
return 0x938060;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -114,6 +114,7 @@ public class BrushlandBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.HUSK, 80, 4, 4));
|
||||
|
||||
this.addWeight(BOPClimates.SAVANNA, 5);
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
|
|
|
@ -110,6 +110,7 @@ public class CherryBlossomGroveBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
|
||||
this.addWeight(BOPClimates.COOL_TEMPERATE, 1);
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
|
|
|
@ -96,6 +96,7 @@ public class ColdDesertBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
|
||||
this.addWeight(BOPClimates.ICE_CAP, 10);
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
|
|
|
@ -85,5 +85,7 @@ public class GravelBeachBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.SLIME, 100, 4, 4));
|
||||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.ENDERMAN, 10, 1, 4));
|
||||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -104,6 +104,7 @@ public class LavenderFieldBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
|
||||
this.addWeight(BOPClimates.MEDITERRANEAN, 5);
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
|
|
|
@ -99,5 +99,7 @@ public class OasisBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.ENDERMAN, 10, 1, 4));
|
||||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.HUSK, 80, 4, 4));
|
||||
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -106,5 +106,6 @@ public class OutbackBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.HUSK, 80, 4, 4));
|
||||
|
||||
this.addWeight(BOPClimates.HOT_DESERT, 7);
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -109,5 +109,6 @@ public class OvergrownCliffsBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.OCELOT, 2, 1, 1));
|
||||
|
||||
this.addWeight(BOPClimates.TROPICAL, 3);
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -119,6 +119,7 @@ public class RainforestBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
|
||||
this.addWeight(BOPClimates.SUBTROPICAL, 7);
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
|
|
|
@ -104,5 +104,6 @@ public class RedwoodForestBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
|
||||
this.addWeight(BOPClimates.WARM_TEMPERATE, 3);
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -102,5 +102,7 @@ public class RedwoodForestEdgeBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.SLIME, 100, 4, 4));
|
||||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.ENDERMAN, 10, 1, 4));
|
||||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -101,5 +101,6 @@ public class ScrublandBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
|
||||
this.addWeight(BOPClimates.SAVANNA, 7);
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ public class SilkgladeBiome extends BiomeBOP
|
|||
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.SPHERE_REPLACE, new SphereReplaceConfig(Blocks.GRAVEL, 7, 2, Lists.newArrayList(Blocks.DIRT, Blocks.GRASS_BLOCK)), TOP_SOLID, new FrequencyConfig(3)));
|
||||
|
||||
// Vegetation
|
||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.RANDOM_FEATURE_LIST, new RandomDefaultFeatureListConfig(new Feature[]{Feature.SWAMP_TREE, BOPBiomeFeatures.BIRCH_POPLAR, BOPBiomeFeatures.COBWEB_BUSH, BOPBiomeFeatures.SMALL_DEAD_TREE, BOPBiomeFeatures.SILK_TREE, BOPBiomeFeatures.FULL_COBWEB_BUSH, BOPBiomeFeatures.FULL_SILK_TREE}, new IFeatureConfig[]{IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG}, new float[]{0.075F, 0.3F, 0.2F, 0.5F, 0.2F, 0.05F, 0.05F}, BOPBiomeFeatures.BUSH, IFeatureConfig.NO_FEATURE_CONFIG), AT_SURFACE_WITH_EXTRA, new AtSurfaceWithExtraConfig(5, 0.4F, 1)));
|
||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.RANDOM_FEATURE_LIST, new RandomDefaultFeatureListConfig(new Feature[]{Feature.SWAMP_TREE, BOPBiomeFeatures.BIRCH_POPLAR, BOPBiomeFeatures.COBWEB_BUSH, BOPBiomeFeatures.SMALL_DEAD_TREE, BOPBiomeFeatures.SILK_TREE, BOPBiomeFeatures.FULL_COBWEB_BUSH, BOPBiomeFeatures.FULL_SILK_TREE}, new IFeatureConfig[]{IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG, IFeatureConfig.NO_FEATURE_CONFIG}, new float[]{0.05F, 0.3F, 0.2F, 0.5F, 0.2F, 0.05F, 0.05F}, BOPBiomeFeatures.BUSH, IFeatureConfig.NO_FEATURE_CONFIG), AT_SURFACE_WITH_EXTRA, new AtSurfaceWithExtraConfig(5, 0.4F, 1)));
|
||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(new StandardGrassFeature(), IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(8)));
|
||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.BUSH, new BushConfig(Blocks.BROWN_MUSHROOM), TWICE_SURFACE_WITH_CHANCE, new ChanceConfig(4)));
|
||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.BUSH, new BushConfig(Blocks.RED_MUSHROOM), TWICE_SURFACE_WITH_CHANCE, new ChanceConfig(8)));
|
||||
|
@ -104,6 +104,7 @@ public class SilkgladeBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.SLIME, 100, 4, 4));
|
||||
|
||||
this.addWeight(BOPClimates.DRY_TEMPERATE, 1);
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
|
|
|
@ -108,6 +108,8 @@ public class XericShrublandBiome extends BiomeBOP
|
|||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.ENDERMAN, 10, 1, 4));
|
||||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.WITCH, 5, 1, 1));
|
||||
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.HUSK, 80, 4, 4));
|
||||
|
||||
this.canSpawnInBiome = false;
|
||||
}
|
||||
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
|
|
|
@ -35,18 +35,6 @@ public class BlockAsh extends Block
|
|||
{
|
||||
return SHAPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IItemProvider getItemDropped(IBlockState state, World worldIn, BlockPos pos, int fortune)
|
||||
{
|
||||
return BOPItems.pile_of_ashes;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int quantityDropped(IBlockState state, Random random)
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
@Override
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
|
|
|
@ -33,18 +33,6 @@ public class BlockFlesh extends Block
|
|||
{
|
||||
return SHAPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IItemProvider getItemDropped(IBlockState state, World worldIn, BlockPos pos, int fortune)
|
||||
{
|
||||
return BOPItems.chunk_of_flesh;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int quantityDropped(IBlockState state, Random random)
|
||||
{
|
||||
return random.nextInt(3);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEntityCollision(IBlockState state, World worldIn, BlockPos pos, Entity entityIn)
|
||||
|
|
|
@ -9,7 +9,6 @@ package biomesoplenty.init;
|
|||
|
||||
import static biomesoplenty.api.item.BOPItems.bop_icon;
|
||||
import static biomesoplenty.api.item.BOPItems.cherry_boat;
|
||||
import static biomesoplenty.api.item.BOPItems.chunk_of_flesh;
|
||||
import static biomesoplenty.api.item.BOPItems.dead_boat;
|
||||
import static biomesoplenty.api.item.BOPItems.ethereal_boat;
|
||||
import static biomesoplenty.api.item.BOPItems.fir_boat;
|
||||
|
@ -20,7 +19,6 @@ import static biomesoplenty.api.item.BOPItems.mahogany_boat;
|
|||
import static biomesoplenty.api.item.BOPItems.mud_brick;
|
||||
import static biomesoplenty.api.item.BOPItems.mudball;
|
||||
import static biomesoplenty.api.item.BOPItems.palm_boat;
|
||||
import static biomesoplenty.api.item.BOPItems.pile_of_ashes;
|
||||
import static biomesoplenty.api.item.BOPItems.record_wanderer;
|
||||
import static biomesoplenty.api.item.BOPItems.redwood_boat;
|
||||
import static biomesoplenty.api.item.BOPItems.umbran_boat;
|
||||
|
@ -28,9 +26,9 @@ import static biomesoplenty.api.item.BOPItems.willow_boat;
|
|||
|
||||
import biomesoplenty.api.sound.BOPSounds;
|
||||
import biomesoplenty.common.entity.item.EntityBoatBOP;
|
||||
import biomesoplenty.common.item.ItemRecordBOP;
|
||||
import biomesoplenty.common.item.ItemBoatBOP;
|
||||
import biomesoplenty.common.item.ItemMudball;
|
||||
import biomesoplenty.common.item.ItemRecordBOP;
|
||||
import biomesoplenty.common.util.inventory.ItemGroupBOP;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
|
@ -41,8 +39,6 @@ public class ModItems
|
|||
{
|
||||
mudball = registerItem(new ItemMudball(), "mudball");
|
||||
mud_brick = registerItem(new Item(new Item.Properties().group(ItemGroupBOP.instance)), "mud_brick");
|
||||
pile_of_ashes = registerItem(new Item(new Item.Properties().group(ItemGroupBOP.instance)), "pile_of_ashes");
|
||||
chunk_of_flesh = registerItem(new Item(new Item.Properties().group(ItemGroupBOP.instance)), "chunk_of_flesh");
|
||||
|
||||
record_wanderer = registerItem(new ItemRecordBOP(BOPSounds.records_wanderer), "record_wanderer");
|
||||
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
|
||||
"item.biomesoplenty.bop_icon": "BOP Icon",
|
||||
"item.biomesoplenty.cherry_boat": "Cherry Boat",
|
||||
"item.biomesoplenty.chunk_of_flesh": "Chunk of Flesh",
|
||||
"item.biomesoplenty.dead_boat": "Dead Boat",
|
||||
"item.biomesoplenty.ethereal_boat": "Ethereal Boat",
|
||||
"item.biomesoplenty.fir_boat": "Fir Boat",
|
||||
|
@ -94,7 +93,6 @@
|
|||
"item.biomesoplenty.mud_brick": "Mud Brick",
|
||||
"item.biomesoplenty.mudball": "Mud Ball",
|
||||
"item.biomesoplenty.palm_boat": "Palm Boat",
|
||||
"item.biomesoplenty.pile_of_ashes": "Pile of Ashes",
|
||||
"item.biomesoplenty.record_wanderer": "Music Disc",
|
||||
"item.biomesoplenty.record_wanderer.desc": "Tim Rurkowski - Wanderer",
|
||||
"item.biomesoplenty.redwood_boat": "Redwood Boat",
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "biomesoplenty:items/chunk_of_flesh"
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "biomesoplenty:items/pile_of_ashes"
|
||||
}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 434 B |
Binary file not shown.
Before Width: | Height: | Size: 369 B |
Loading…
Reference in New Issue