Re-added Orchard
|
@ -21,6 +21,7 @@ public class BOPBiomes
|
||||||
public static Optional<Biome> lavender_fields = Optional.empty();
|
public static Optional<Biome> lavender_fields = Optional.empty();
|
||||||
public static Optional<Biome> maple_woods = Optional.empty();
|
public static Optional<Biome> maple_woods = Optional.empty();
|
||||||
public static Optional<Biome> meadow = Optional.empty();
|
public static Optional<Biome> meadow = Optional.empty();
|
||||||
|
public static Optional<Biome> orchard = Optional.empty();
|
||||||
public static Optional<Biome> redwood_forest = Optional.empty();
|
public static Optional<Biome> redwood_forest = Optional.empty();
|
||||||
public static Optional<Biome> seasonal_forest = Optional.empty();
|
public static Optional<Biome> seasonal_forest = Optional.empty();
|
||||||
public static Optional<Biome> shrubland = Optional.empty();
|
public static Optional<Biome> shrubland = Optional.empty();
|
||||||
|
|
|
@ -276,7 +276,6 @@ public class BOPBlocks
|
||||||
public static Block willow_vine;
|
public static Block willow_vine;
|
||||||
|
|
||||||
public static Block short_grass;
|
public static Block short_grass;
|
||||||
public static Block bush;
|
|
||||||
public static Block barley;
|
public static Block barley;
|
||||||
public static Block dune_grass;
|
public static Block dune_grass;
|
||||||
public static Block desert_grass;
|
public static Block desert_grass;
|
||||||
|
@ -288,9 +287,6 @@ public class BOPBlocks
|
||||||
public static Block tiny_cactus;
|
public static Block tiny_cactus;
|
||||||
public static Block cattail;
|
public static Block cattail;
|
||||||
public static Block tall_cattail;
|
public static Block tall_cattail;
|
||||||
public static Block root;
|
|
||||||
public static Block reed;
|
|
||||||
public static Block watergrass;
|
|
||||||
|
|
||||||
public static Block toadstool;
|
public static Block toadstool;
|
||||||
public static Block glowshroom;
|
public static Block glowshroom;
|
||||||
|
|
|
@ -13,7 +13,7 @@ import biomesoplenty.api.block.BOPBlocks;
|
||||||
import biomesoplenty.api.enums.BOPClimates;
|
import biomesoplenty.api.enums.BOPClimates;
|
||||||
import biomesoplenty.common.biome.BiomeBOP;
|
import biomesoplenty.common.biome.BiomeBOP;
|
||||||
import biomesoplenty.common.world.gen.feature.BOPBiomeFeatures;
|
import biomesoplenty.common.world.gen.feature.BOPBiomeFeatures;
|
||||||
import biomesoplenty.common.world.gen.feature.ShortGrassFeature;
|
import biomesoplenty.common.world.gen.feature.StandardGrassFeature;
|
||||||
import net.minecraft.entity.EntityType;
|
import net.minecraft.entity.EntityType;
|
||||||
import net.minecraft.entity.EnumCreatureType;
|
import net.minecraft.entity.EnumCreatureType;
|
||||||
import net.minecraft.init.Blocks;
|
import net.minecraft.init.Blocks;
|
||||||
|
@ -29,6 +29,7 @@ import net.minecraft.world.gen.feature.LiquidsConfig;
|
||||||
import net.minecraft.world.gen.feature.MinableConfig;
|
import net.minecraft.world.gen.feature.MinableConfig;
|
||||||
import net.minecraft.world.gen.feature.ProbabilityConfig;
|
import net.minecraft.world.gen.feature.ProbabilityConfig;
|
||||||
import net.minecraft.world.gen.feature.RandomDefaultFeatureListConfig;
|
import net.minecraft.world.gen.feature.RandomDefaultFeatureListConfig;
|
||||||
|
import net.minecraft.world.gen.feature.SeaGrassConfig;
|
||||||
import net.minecraft.world.gen.feature.SphereReplaceConfig;
|
import net.minecraft.world.gen.feature.SphereReplaceConfig;
|
||||||
import net.minecraft.world.gen.feature.structure.MineshaftConfig;
|
import net.minecraft.world.gen.feature.structure.MineshaftConfig;
|
||||||
import net.minecraft.world.gen.feature.structure.MineshaftStructure;
|
import net.minecraft.world.gen.feature.structure.MineshaftStructure;
|
||||||
|
@ -85,11 +86,12 @@ public class DeadSwampBiome extends BiomeBOP
|
||||||
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.SPHERE_REPLACE, new SphereReplaceConfig(Blocks.CLAY, 4, 1, Lists.newArrayList(BOPBlocks.loamy_dirt, Blocks.CLAY)), TOP_SOLID, new FrequencyConfig(1)));
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.SPHERE_REPLACE, new SphereReplaceConfig(Blocks.CLAY, 4, 1, Lists.newArrayList(BOPBlocks.loamy_dirt, Blocks.CLAY)), TOP_SOLID, new FrequencyConfig(1)));
|
||||||
|
|
||||||
// Vegetation
|
// Vegetation
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.RANDOM_FEATURE_LIST, new RandomDefaultFeatureListConfig(new Feature[]{BOPBiomeFeatures.DEAD_TREE}, new IFeatureConfig[]{IFeatureConfig.NO_FEATURE_CONFIG}, new float[]{0.2F}, BOPBiomeFeatures.DYING_TREE, IFeatureConfig.NO_FEATURE_CONFIG), AT_SURFACE_WITH_EXTRA, new AtSurfaceWithExtraConfig((int)0.9F, 0.2F, 1)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.RANDOM_FEATURE_LIST, new RandomDefaultFeatureListConfig(new Feature[]{BOPBiomeFeatures.DEAD_TREE}, new IFeatureConfig[]{IFeatureConfig.NO_FEATURE_CONFIG}, new float[]{0.2F}, BOPBiomeFeatures.DYING_TREE, IFeatureConfig.NO_FEATURE_CONFIG), AT_SURFACE_WITH_EXTRA, new AtSurfaceWithExtraConfig(1, 0.2F, 1)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(new ShortGrassFeature(), IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(4)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(new StandardGrassFeature(), IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(5)));
|
||||||
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.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)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.BUSH, new BushConfig(Blocks.RED_MUSHROOM), TWICE_SURFACE_WITH_CHANCE, new ChanceConfig(8)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.PUMPKIN, IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE_WITH_CHANCE, new ChanceConfig(32)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.PUMPKIN, IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE_WITH_CHANCE, new ChanceConfig(32)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.SEA_GRASS, new SeaGrassConfig(64, 0.6D), TOP_SOLID_ONCE, IPlacementConfig.NO_PLACEMENT_CONFIG));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.WATER), HEIGHT_BIASED_RANGE, new CountRangeConfig(50, 8, 8, 256)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.WATER), HEIGHT_BIASED_RANGE, new CountRangeConfig(50, 8, 8, 256)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.LAVA), HEIGHT_VERY_BIASED_RANGE, new CountRangeConfig(20, 8, 16, 256)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.LAVA), HEIGHT_VERY_BIASED_RANGE, new CountRangeConfig(20, 8, 16, 256)));
|
||||||
this.addFeature(GenerationStage.Decoration.UNDERGROUND_DECORATION, createCompositeFeature(Feature.FOSSILS, IFeatureConfig.NO_FEATURE_CONFIG, WITH_CHANCE, new ChanceConfig(64)));
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_DECORATION, createCompositeFeature(Feature.FOSSILS, IFeatureConfig.NO_FEATURE_CONFIG, WITH_CHANCE, new ChanceConfig(64)));
|
||||||
|
|
|
@ -0,0 +1,126 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright 2014-2019, the Biomes O' Plenty Team
|
||||||
|
*
|
||||||
|
* This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License.
|
||||||
|
*
|
||||||
|
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
|
||||||
|
******************************************************************************/
|
||||||
|
package biomesoplenty.common.biome.overworld;
|
||||||
|
|
||||||
|
import com.google.common.collect.Lists;
|
||||||
|
|
||||||
|
import biomesoplenty.api.block.BOPBlocks;
|
||||||
|
import biomesoplenty.api.enums.BOPClimates;
|
||||||
|
import biomesoplenty.common.biome.BiomeBOP;
|
||||||
|
import biomesoplenty.common.world.gen.feature.BOPBiomeFeatures;
|
||||||
|
import biomesoplenty.common.world.gen.feature.StandardGrassFeature;
|
||||||
|
import net.minecraft.entity.EntityType;
|
||||||
|
import net.minecraft.entity.EnumCreatureType;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Fluids;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
import net.minecraft.world.biome.Biome;
|
||||||
|
import net.minecraft.world.gen.GenerationStage;
|
||||||
|
import net.minecraft.world.gen.feature.BushConfig;
|
||||||
|
import net.minecraft.world.gen.feature.DoublePlantConfig;
|
||||||
|
import net.minecraft.world.gen.feature.Feature;
|
||||||
|
import net.minecraft.world.gen.feature.IFeatureConfig;
|
||||||
|
import net.minecraft.world.gen.feature.LakesConfig;
|
||||||
|
import net.minecraft.world.gen.feature.LiquidsConfig;
|
||||||
|
import net.minecraft.world.gen.feature.MinableConfig;
|
||||||
|
import net.minecraft.world.gen.feature.ProbabilityConfig;
|
||||||
|
import net.minecraft.world.gen.feature.RandomDefaultFeatureListConfig;
|
||||||
|
import net.minecraft.world.gen.feature.SphereReplaceConfig;
|
||||||
|
import net.minecraft.world.gen.feature.structure.MineshaftConfig;
|
||||||
|
import net.minecraft.world.gen.feature.structure.MineshaftStructure;
|
||||||
|
import net.minecraft.world.gen.feature.structure.StrongholdConfig;
|
||||||
|
import net.minecraft.world.gen.placement.AtSurfaceWithExtraConfig;
|
||||||
|
import net.minecraft.world.gen.placement.ChanceConfig;
|
||||||
|
import net.minecraft.world.gen.placement.CountRangeConfig;
|
||||||
|
import net.minecraft.world.gen.placement.DepthAverageConfig;
|
||||||
|
import net.minecraft.world.gen.placement.DungeonRoomConfig;
|
||||||
|
import net.minecraft.world.gen.placement.FrequencyConfig;
|
||||||
|
import net.minecraft.world.gen.placement.IPlacementConfig;
|
||||||
|
import net.minecraft.world.gen.placement.LakeChanceConfig;
|
||||||
|
import net.minecraft.world.gen.surfacebuilders.CompositeSurfaceBuilder;
|
||||||
|
import net.minecraftforge.api.distmarker.Dist;
|
||||||
|
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||||
|
|
||||||
|
public class OrchardBiome extends BiomeBOP
|
||||||
|
{
|
||||||
|
public OrchardBiome()
|
||||||
|
{
|
||||||
|
super((new Biome.BiomeBuilder()).surfaceBuilder(new CompositeSurfaceBuilder(DEFAULT_SURFACE_BUILDER, GRASS_DIRT_GRAVEL_SURFACE)).precipitation(Biome.RainType.RAIN).category(Biome.Category.PLAINS).depth(0.05F).scale(0.1F).temperature(0.8F).downfall(0.7F).waterColor(4159204).waterFogColor(329011).parent((String)null));
|
||||||
|
|
||||||
|
// Mineshafts and Strongholds
|
||||||
|
this.addStructure(Feature.MINESHAFT, new MineshaftConfig(0.004D, MineshaftStructure.Type.NORMAL));
|
||||||
|
this.addStructure(Feature.STRONGHOLD, new StrongholdConfig());
|
||||||
|
|
||||||
|
this.addCarver(GenerationStage.Carving.AIR, createWorldCarverWrapper(CAVE_WORLD_CARVER, new ProbabilityConfig(0.14285715F)));
|
||||||
|
this.addCarver(GenerationStage.Carving.AIR, createWorldCarverWrapper(CANYON_WORLD_CARVER, new ProbabilityConfig(0.02F)));
|
||||||
|
|
||||||
|
this.addStructureFeatures();
|
||||||
|
|
||||||
|
// Lakes
|
||||||
|
this.addFeature(GenerationStage.Decoration.LOCAL_MODIFICATIONS, createCompositeFeature(Feature.LAKES, new LakesConfig(Blocks.WATER), LAKE_WATER, new LakeChanceConfig(4)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.LOCAL_MODIFICATIONS, createCompositeFeature(Feature.LAKES, new LakesConfig(Blocks.LAVA), LAVA_LAKE, new LakeChanceConfig(80)));
|
||||||
|
|
||||||
|
// Underground
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_STRUCTURES, createCompositeFeature(Feature.DUNGEONS, IFeatureConfig.NO_FEATURE_CONFIG, DUNGEON_ROOM, new DungeonRoomConfig(8)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.DIRT.getDefaultState(), 33), COUNT_RANGE, new CountRangeConfig(10, 0, 0, 256)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.GRAVEL.getDefaultState(), 33), COUNT_RANGE, new CountRangeConfig(8, 0, 0, 256)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.GRANITE.getDefaultState(), 33), COUNT_RANGE, new CountRangeConfig(10, 0, 0, 80)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.DIORITE.getDefaultState(), 33), COUNT_RANGE, new CountRangeConfig(10, 0, 0, 80)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.ANDESITE.getDefaultState(), 33), COUNT_RANGE, new CountRangeConfig(10, 0, 0, 80)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.COAL_ORE.getDefaultState(), 17), COUNT_RANGE, new CountRangeConfig(20, 0, 0, 128)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.IRON_ORE.getDefaultState(), 9), COUNT_RANGE, new CountRangeConfig(20, 0, 0, 64)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.GOLD_ORE.getDefaultState(), 9), COUNT_RANGE, new CountRangeConfig(2, 0, 0, 32)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.REDSTONE_ORE.getDefaultState(), 8), COUNT_RANGE, new CountRangeConfig(8, 0, 0, 16)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.DIAMOND_ORE.getDefaultState(), 8), COUNT_RANGE, new CountRangeConfig(1, 0, 0, 16)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.LAPIS_ORE.getDefaultState(), 7), DEPTH_AVERAGE, new DepthAverageConfig(1, 16, 16)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.SPHERE_REPLACE, new SphereReplaceConfig(Blocks.SAND, 7, 2, Lists.newArrayList(Blocks.DIRT, Blocks.GRASS_BLOCK)), TOP_SOLID, new FrequencyConfig(3)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.SPHERE_REPLACE, new SphereReplaceConfig(Blocks.CLAY, 4, 1, Lists.newArrayList(Blocks.DIRT, Blocks.CLAY)), TOP_SOLID, new FrequencyConfig(1)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.SPHERE_REPLACE, new SphereReplaceConfig(Blocks.GRAVEL, 6, 2, Lists.newArrayList(Blocks.DIRT, Blocks.GRASS_BLOCK)), TOP_SOLID, new FrequencyConfig(1)));
|
||||||
|
|
||||||
|
// Vegetation
|
||||||
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.RANDOM_FEATURE_LIST, new RandomDefaultFeatureListConfig(new Feature[]{BOPBiomeFeatures.FLOWERING_OAK_TREE}, new IFeatureConfig[]{IFeatureConfig.NO_FEATURE_CONFIG}, new float[]{0.2F}, BOPBiomeFeatures.BIG_FLOWERING_OAK_TREE, IFeatureConfig.NO_FEATURE_CONFIG), AT_SURFACE_WITH_EXTRA, new AtSurfaceWithExtraConfig(2, 0.1F, 1)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFlowerFeature(BOPBiomeFeatures.MEADOW_FLOWERS, SURFACE_PLUS_32, new FrequencyConfig(5)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(new StandardGrassFeature(), IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(10)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.WATER), HEIGHT_BIASED_RANGE, new CountRangeConfig(50, 8, 8, 256)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.LAVA), HEIGHT_VERY_BIASED_RANGE, new CountRangeConfig(20, 8, 16, 256)));
|
||||||
|
this.addFeature(GenerationStage.Decoration.TOP_LAYER_MODIFICATION, createCompositeFeature(Feature.ICE_AND_SNOW, IFeatureConfig.NO_FEATURE_CONFIG, PASSTHROUGH, IPlacementConfig.NO_PLACEMENT_CONFIG));
|
||||||
|
|
||||||
|
// Entity spawning
|
||||||
|
this.addSpawn(EnumCreatureType.CREATURE, new Biome.SpawnListEntry(EntityType.SHEEP, 12, 4, 4));
|
||||||
|
this.addSpawn(EnumCreatureType.CREATURE, new Biome.SpawnListEntry(EntityType.PIG, 10, 4, 4));
|
||||||
|
this.addSpawn(EnumCreatureType.CREATURE, new Biome.SpawnListEntry(EntityType.CHICKEN, 10, 4, 4));
|
||||||
|
this.addSpawn(EnumCreatureType.CREATURE, new Biome.SpawnListEntry(EntityType.COW, 8, 4, 4));
|
||||||
|
this.addSpawn(EnumCreatureType.CREATURE, new Biome.SpawnListEntry(EntityType.HORSE, 5, 2, 6));
|
||||||
|
this.addSpawn(EnumCreatureType.CREATURE, new Biome.SpawnListEntry(EntityType.DONKEY, 1, 1, 3));
|
||||||
|
this.addSpawn(EnumCreatureType.WATER_CREATURE, new Biome.SpawnListEntry(EntityType.SQUID, 10, 1, 2));
|
||||||
|
this.addSpawn(EnumCreatureType.AMBIENT, new Biome.SpawnListEntry(EntityType.BAT, 10, 8, 8));
|
||||||
|
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.SPIDER, 100, 4, 4));
|
||||||
|
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.ZOMBIE, 95, 4, 4));
|
||||||
|
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.ZOMBIE_VILLAGER, 5, 1, 1));
|
||||||
|
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.SKELETON, 100, 4, 4));
|
||||||
|
this.addSpawn(EnumCreatureType.MONSTER, new Biome.SpawnListEntry(EntityType.CREEPER, 100, 4, 4));
|
||||||
|
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.addWeight(BOPClimates.MEDITERRANEAN, 5);
|
||||||
|
this.addWeight(BOPClimates.WARM_TEMPERATE, 3);
|
||||||
|
}
|
||||||
|
|
||||||
|
@OnlyIn(Dist.CLIENT)
|
||||||
|
public int getGrassColor(BlockPos pos)
|
||||||
|
{
|
||||||
|
return 0xA9DB69;
|
||||||
|
}
|
||||||
|
|
||||||
|
@OnlyIn(Dist.CLIENT)
|
||||||
|
public int getFoliageColor(BlockPos pos)
|
||||||
|
{
|
||||||
|
return 0xC9F75D;
|
||||||
|
}
|
||||||
|
}
|
|
@ -73,9 +73,9 @@ public class WastelandBiome extends BiomeBOP
|
||||||
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.LAPIS_ORE.getDefaultState(), 7), DEPTH_AVERAGE, new DepthAverageConfig(1, 16, 16)));
|
this.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, createCompositeFeature(Feature.MINABLE, new MinableConfig(MinableConfig.IS_ROCK, Blocks.LAPIS_ORE.getDefaultState(), 7), DEPTH_AVERAGE, new DepthAverageConfig(1, 16, 16)));
|
||||||
|
|
||||||
// Vegetation
|
// Vegetation
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.RANDOM_FEATURE_LIST, new RandomDefaultFeatureListConfig(new Feature[]{BOPBiomeFeatures.DYING_TREE}, new IFeatureConfig[]{IFeatureConfig.NO_FEATURE_CONFIG}, new float[]{0.1F}, BOPBiomeFeatures.DEAD_TREE, IFeatureConfig.NO_FEATURE_CONFIG), AT_SURFACE_WITH_EXTRA, new AtSurfaceWithExtraConfig((int)0.5F, 0.1F, 1)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.RANDOM_FEATURE_LIST, new RandomDefaultFeatureListConfig(new Feature[]{BOPBiomeFeatures.DEAD_TREE_WASTELAND}, new IFeatureConfig[]{IFeatureConfig.NO_FEATURE_CONFIG}, new float[]{0.2F}, BOPBiomeFeatures.DYING_TREE_WASTELAND, IFeatureConfig.NO_FEATURE_CONFIG), AT_SURFACE_WITH_EXTRA, new AtSurfaceWithExtraConfig((int)0.5F, 0.1F, 1)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFlowerFeature(BOPBiomeFeatures.WASTELAND_FLOWERS, SURFACE_PLUS_32, new FrequencyConfig(2)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFlowerFeature(BOPBiomeFeatures.WASTELAND_FLOWERS, SURFACE_PLUS_32, new FrequencyConfig(1)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(new WastelandGrassFeature(), IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(8)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(new WastelandGrassFeature(), IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(4)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.WATER), HEIGHT_BIASED_RANGE, new CountRangeConfig(50, 8, 8, 256)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.WATER), HEIGHT_BIASED_RANGE, new CountRangeConfig(50, 8, 8, 256)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.LAVA), HEIGHT_VERY_BIASED_RANGE, new CountRangeConfig(20, 8, 16, 256)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.LAVA), HEIGHT_VERY_BIASED_RANGE, new CountRangeConfig(20, 8, 16, 256)));
|
||||||
this.addFeature(GenerationStage.Decoration.TOP_LAYER_MODIFICATION, createCompositeFeature(Feature.ICE_AND_SNOW, IFeatureConfig.NO_FEATURE_CONFIG, PASSTHROUGH, IPlacementConfig.NO_PLACEMENT_CONFIG));
|
this.addFeature(GenerationStage.Decoration.TOP_LAYER_MODIFICATION, createCompositeFeature(Feature.ICE_AND_SNOW, IFeatureConfig.NO_FEATURE_CONFIG, PASSTHROUGH, IPlacementConfig.NO_PLACEMENT_CONFIG));
|
||||||
|
|
|
@ -93,12 +93,12 @@ public class WetlandBiome extends BiomeBOP
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.RANDOM_FEATURE_LIST, new RandomDefaultFeatureListConfig(new Feature[]{BOPBiomeFeatures.TALL_SPRUCE_TREE}, new IFeatureConfig[]{IFeatureConfig.NO_FEATURE_CONFIG}, new float[]{0.33333334F}, BOPBiomeFeatures.WILLOW_TREE, IFeatureConfig.NO_FEATURE_CONFIG), AT_SURFACE_WITH_EXTRA, new AtSurfaceWithExtraConfig(10, 0.1F, 1)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.RANDOM_FEATURE_LIST, new RandomDefaultFeatureListConfig(new Feature[]{BOPBiomeFeatures.TALL_SPRUCE_TREE}, new IFeatureConfig[]{IFeatureConfig.NO_FEATURE_CONFIG}, new float[]{0.33333334F}, BOPBiomeFeatures.WILLOW_TREE, IFeatureConfig.NO_FEATURE_CONFIG), AT_SURFACE_WITH_EXTRA, new AtSurfaceWithExtraConfig(10, 0.1F, 1)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFlowerFeature(BOPBiomeFeatures.WETLAND_FLOWERS, SURFACE_PLUS_32, new FrequencyConfig(3)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFlowerFeature(BOPBiomeFeatures.WETLAND_FLOWERS, SURFACE_PLUS_32, new FrequencyConfig(3)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(new FernGrassFeature(), IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(8)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(new FernGrassFeature(), IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(8)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.DOUBLE_PLANT, new DoublePlantConfig(BOPBlocks.tall_cattail.getDefaultState()), SURFACE_PLUS_32, new FrequencyConfig(6)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.DOUBLE_PLANT, new DoublePlantConfig(BOPBlocks.tall_cattail.getDefaultState()), SURFACE_PLUS_32, new FrequencyConfig(2)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.BUSH, new BushConfig(BOPBlocks.cattail), TWICE_SURFACE_WITH_CHANCE, new ChanceConfig(3)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.BUSH, new BushConfig(BOPBlocks.cattail), TWICE_SURFACE, new FrequencyConfig(4)));
|
||||||
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.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)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.BUSH, new BushConfig(Blocks.RED_MUSHROOM), TWICE_SURFACE_WITH_CHANCE, new ChanceConfig(8)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.BUSH, new BushConfig(BOPBlocks.toadstool), TWICE_SURFACE_WITH_CHANCE, new ChanceConfig(6)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.BUSH, new BushConfig(BOPBlocks.toadstool), TWICE_SURFACE_WITH_CHANCE, new ChanceConfig(6)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.WATERLILY, IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(4)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.WATERLILY, IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(7)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.REED, IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(15)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.REED, IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE, new FrequencyConfig(15)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.PUMPKIN, IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE_WITH_CHANCE, new ChanceConfig(32)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.PUMPKIN, IFeatureConfig.NO_FEATURE_CONFIG, TWICE_SURFACE_WITH_CHANCE, new ChanceConfig(32)));
|
||||||
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.WATER), HEIGHT_BIASED_RANGE, new CountRangeConfig(50, 8, 8, 256)));
|
this.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, createCompositeFeature(Feature.LIQUIDS, new LiquidsConfig(Fluids.WATER), HEIGHT_BIASED_RANGE, new CountRangeConfig(50, 8, 8, 256)));
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
package biomesoplenty.common.block;
|
package biomesoplenty.common.block;
|
||||||
|
|
||||||
|
import biomesoplenty.api.block.BOPBlocks;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.BlockBush;
|
import net.minecraft.block.BlockBush;
|
||||||
import net.minecraft.block.BlockDoublePlant;
|
import net.minecraft.block.BlockDoublePlant;
|
||||||
|
@ -20,9 +21,12 @@ import net.minecraft.state.EnumProperty;
|
||||||
import net.minecraft.state.properties.DoubleBlockHalf;
|
import net.minecraft.state.properties.DoubleBlockHalf;
|
||||||
import net.minecraft.util.IItemProvider;
|
import net.minecraft.util.IItemProvider;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
import net.minecraft.world.IBlockReader;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraftforge.common.EnumPlantType;
|
||||||
|
import net.minecraftforge.common.IPlantable;
|
||||||
|
|
||||||
public class BlockDoublePlantBOP extends BlockDoublePlant
|
public class BlockDoublePlantBOP extends BlockDoublePlant implements IPlantable
|
||||||
{
|
{
|
||||||
public static final EnumProperty<DoubleBlockHalf> field_208063_b = BlockDoublePlant.HALF;
|
public static final EnumProperty<DoubleBlockHalf> field_208063_b = BlockDoublePlant.HALF;
|
||||||
private final Block field_196392_b;
|
private final Block field_196392_b;
|
||||||
|
@ -57,4 +61,17 @@ public class BlockDoublePlantBOP extends BlockDoublePlant
|
||||||
world.setBlockState(pos, Blocks.AIR.getDefaultState(), 11);
|
world.setBlockState(pos, Blocks.AIR.getDefaultState(), 11);
|
||||||
return java.util.Arrays.asList(new ItemStack(this.field_196392_b, 2));
|
return java.util.Arrays.asList(new ItemStack(this.field_196392_b, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public EnumPlantType getPlantType(IBlockReader world, BlockPos pos)
|
||||||
|
{
|
||||||
|
Block block = world.getBlockState(pos).getBlock();
|
||||||
|
|
||||||
|
if (block == BOPBlocks.tall_cattail)
|
||||||
|
{
|
||||||
|
return EnumPlantType.Beach;
|
||||||
|
}
|
||||||
|
|
||||||
|
return EnumPlantType.Plains;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,8 +55,18 @@ public class BlockMud extends Block
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canSustainPlant(IBlockState state, IBlockReader world, BlockPos pos, EnumFacing facing, net.minecraftforge.common.IPlantable plantable)
|
public boolean canSustainPlant(IBlockState state, IBlockReader world, BlockPos pos, EnumFacing facing, net.minecraftforge.common.IPlantable plantable) {
|
||||||
{
|
net.minecraftforge.common.EnumPlantType type = plantable.getPlantType(world, pos.offset(facing));
|
||||||
return false;
|
|
||||||
|
switch (type) {
|
||||||
|
case Desert: return false;
|
||||||
|
case Nether: return false;
|
||||||
|
case Crop: return false;
|
||||||
|
case Cave: return false;
|
||||||
|
case Plains: return false;
|
||||||
|
case Water: return true;
|
||||||
|
case Beach: return false;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,8 +10,10 @@ package biomesoplenty.common.block;
|
||||||
import biomesoplenty.api.block.BOPBlocks;
|
import biomesoplenty.api.block.BOPBlocks;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.BlockBush;
|
import net.minecraft.block.BlockBush;
|
||||||
|
import net.minecraft.block.BlockGrass;
|
||||||
import net.minecraft.block.state.IBlockState;
|
import net.minecraft.block.state.IBlockState;
|
||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
import net.minecraft.util.DamageSource;
|
import net.minecraft.util.DamageSource;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.shapes.VoxelShape;
|
import net.minecraft.util.math.shapes.VoxelShape;
|
||||||
|
@ -23,7 +25,6 @@ import net.minecraftforge.common.IPlantable;
|
||||||
public class BlockPlantBOP extends BlockBush implements IPlantable
|
public class BlockPlantBOP extends BlockBush implements IPlantable
|
||||||
{
|
{
|
||||||
protected static final VoxelShape NORMAL = Block.makeCuboidShape(2.0D, 0.0D, 2.0D, 14.0D, 13.0D, 14.0D);
|
protected static final VoxelShape NORMAL = Block.makeCuboidShape(2.0D, 0.0D, 2.0D, 14.0D, 13.0D, 14.0D);
|
||||||
protected static final VoxelShape ROOT = Block.makeCuboidShape(2.0D, 2.0D, 2.0D, 14.0D, 16.0D, 14.0D);
|
|
||||||
|
|
||||||
public BlockPlantBOP(Block.Properties properties)
|
public BlockPlantBOP(Block.Properties properties)
|
||||||
{
|
{
|
||||||
|
@ -35,11 +36,6 @@ public class BlockPlantBOP extends BlockBush implements IPlantable
|
||||||
{
|
{
|
||||||
Block block = state.getBlock();
|
Block block = state.getBlock();
|
||||||
|
|
||||||
if (block == BOPBlocks.root)
|
|
||||||
{
|
|
||||||
return ROOT;
|
|
||||||
}
|
|
||||||
|
|
||||||
return NORMAL;
|
return NORMAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,9 +54,9 @@ public class BlockPlantBOP extends BlockBush implements IPlantable
|
||||||
{
|
{
|
||||||
return EnumPlantType.Beach;
|
return EnumPlantType.Beach;
|
||||||
}
|
}
|
||||||
if (block == BOPBlocks.watergrass)
|
if (block == BOPBlocks.tiny_cactus)
|
||||||
{
|
{
|
||||||
return EnumPlantType.Water;
|
return EnumPlantType.Desert;
|
||||||
}
|
}
|
||||||
|
|
||||||
return EnumPlantType.Plains;
|
return EnumPlantType.Plains;
|
||||||
|
|
|
@ -16,6 +16,7 @@ import biomesoplenty.common.world.gen.feature.tree.BushTreeFeature;
|
||||||
import biomesoplenty.common.world.gen.feature.tree.MahoganyTreeFeature;
|
import biomesoplenty.common.world.gen.feature.tree.MahoganyTreeFeature;
|
||||||
import biomesoplenty.common.world.gen.feature.tree.RedwoodTreeFeature;
|
import biomesoplenty.common.world.gen.feature.tree.RedwoodTreeFeature;
|
||||||
import biomesoplenty.common.world.gen.feature.tree.TaigaTreeFeature;
|
import biomesoplenty.common.world.gen.feature.tree.TaigaTreeFeature;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.init.Blocks;
|
import net.minecraft.init.Blocks;
|
||||||
import net.minecraft.world.gen.feature.AbstractFlowersFeature;
|
import net.minecraft.world.gen.feature.AbstractFlowersFeature;
|
||||||
import net.minecraft.world.gen.feature.AbstractTreeFeature;
|
import net.minecraft.world.gen.feature.AbstractTreeFeature;
|
||||||
|
@ -29,9 +30,12 @@ public class BOPBiomeFeatures
|
||||||
public static final AbstractTreeFeature<NoFeatureConfig> OAK_TREE = new BasicTreeFeature.Builder().create();
|
public static final AbstractTreeFeature<NoFeatureConfig> OAK_TREE = new BasicTreeFeature.Builder().create();
|
||||||
public static final AbstractTreeFeature<NoFeatureConfig> BIG_OAK_TREE = new BigTreeFeature.Builder().create();
|
public static final AbstractTreeFeature<NoFeatureConfig> BIG_OAK_TREE = new BigTreeFeature.Builder().create();
|
||||||
public static final AbstractTreeFeature<NoFeatureConfig> JACARANDA_TREE = new BasicTreeFeature.Builder().log(BOPBlocks.jacaranda_log.getDefaultState()).leaves(BOPBlocks.jacaranda_leaves.getDefaultState()).create();
|
public static final AbstractTreeFeature<NoFeatureConfig> JACARANDA_TREE = new BasicTreeFeature.Builder().log(BOPBlocks.jacaranda_log.getDefaultState()).leaves(BOPBlocks.jacaranda_leaves.getDefaultState()).create();
|
||||||
|
public static final AbstractTreeFeature<NoFeatureConfig> FLOWERING_OAK_TREE = new BasicTreeFeature.Builder().altLeaves(BOPBlocks.flowering_oak_leaves.getDefaultState()).create();
|
||||||
public static final AbstractTreeFeature<NoFeatureConfig> BIG_FLOWERING_OAK_TREE = new BigTreeFeature.Builder().altLeaves(BOPBlocks.flowering_oak_leaves.getDefaultState()).create();
|
public static final AbstractTreeFeature<NoFeatureConfig> BIG_FLOWERING_OAK_TREE = new BigTreeFeature.Builder().altLeaves(BOPBlocks.flowering_oak_leaves.getDefaultState()).create();
|
||||||
public static final AbstractTreeFeature<NoFeatureConfig> DEAD_TREE = new BigTreeFeature.Builder().maxHeight(12).log(BOPBlocks.dead_log.getDefaultState()).leaves(Blocks.AIR.getDefaultState()).foliageHeight(0).create();
|
public static final AbstractTreeFeature<NoFeatureConfig> DEAD_TREE = new BigTreeFeature.Builder().maxHeight(12).log(BOPBlocks.dead_log.getDefaultState()).leaves(Blocks.AIR.getDefaultState()).foliageHeight(0).create();
|
||||||
public static final AbstractTreeFeature<NoFeatureConfig> DYING_TREE = new BigTreeFeature.Builder().maxHeight(12).log(BOPBlocks.dead_log.getDefaultState()).leaves(BOPBlocks.dead_leaves.getDefaultState()).foliageHeight(1).create();
|
public static final AbstractTreeFeature<NoFeatureConfig> DYING_TREE = new BigTreeFeature.Builder().maxHeight(12).log(BOPBlocks.dead_log.getDefaultState()).leaves(BOPBlocks.dead_leaves.getDefaultState()).foliageHeight(1).create();
|
||||||
|
public static final AbstractTreeFeature<NoFeatureConfig> DEAD_TREE_WASTELAND = new BigTreeFeature.Builder().placeOn((world, pos) -> world.getBlockState(pos).getBlock() == BOPBlocks.dried_sand).maxHeight(12).log(BOPBlocks.dead_log.getDefaultState()).leaves(Blocks.AIR.getDefaultState()).foliageHeight(0).create();
|
||||||
|
public static final AbstractTreeFeature<NoFeatureConfig> DYING_TREE_WASTELAND = new BigTreeFeature.Builder().placeOn((world, pos) -> world.getBlockState(pos).getBlock() == BOPBlocks.dried_sand).maxHeight(12).log(BOPBlocks.dead_log.getDefaultState()).leaves(BOPBlocks.dead_leaves.getDefaultState()).foliageHeight(1).create();
|
||||||
public static final AbstractTreeFeature<NoFeatureConfig> YELLOW_AUTUMN_TREE = new BasicTreeFeature.Builder().log(Blocks.BIRCH_LOG.getDefaultState()).leaves(BOPBlocks.yellow_autumn_leaves.getDefaultState()).minHeight(5).maxHeight(8).create();
|
public static final AbstractTreeFeature<NoFeatureConfig> YELLOW_AUTUMN_TREE = new BasicTreeFeature.Builder().log(Blocks.BIRCH_LOG.getDefaultState()).leaves(BOPBlocks.yellow_autumn_leaves.getDefaultState()).minHeight(5).maxHeight(8).create();
|
||||||
public static final AbstractTreeFeature<NoFeatureConfig> ORANGE_AUTUMN_TREE = new BasicTreeFeature.Builder().log(Blocks.DARK_OAK_LOG.getDefaultState()).leaves(BOPBlocks.orange_autumn_leaves.getDefaultState()).minHeight(5).maxHeight(8).create();
|
public static final AbstractTreeFeature<NoFeatureConfig> ORANGE_AUTUMN_TREE = new BasicTreeFeature.Builder().log(Blocks.DARK_OAK_LOG.getDefaultState()).leaves(BOPBlocks.orange_autumn_leaves.getDefaultState()).minHeight(5).maxHeight(8).create();
|
||||||
public static final AbstractTreeFeature<NoFeatureConfig> MAPLE_TREE = new BasicTreeFeature.Builder().leaves(BOPBlocks.maple_leaves.getDefaultState()).minHeight(5).maxHeight(10).create();
|
public static final AbstractTreeFeature<NoFeatureConfig> MAPLE_TREE = new BasicTreeFeature.Builder().leaves(BOPBlocks.maple_leaves.getDefaultState()).minHeight(5).maxHeight(10).create();
|
||||||
|
|
|
@ -53,13 +53,13 @@ public class ClientProxy extends CommonProxy
|
||||||
blockColors.register((state, world, pos, tintIndex) ->
|
blockColors.register((state, world, pos, tintIndex) ->
|
||||||
world != null && pos != null ? BiomeColors.getGrassColor(world, pos) : GrassColors.get(0.5D, 1.0D),
|
world != null && pos != null ? BiomeColors.getGrassColor(world, pos) : GrassColors.get(0.5D, 1.0D),
|
||||||
BOPBlocks.loamy_grass_block, BOPBlocks.sandy_grass_block, BOPBlocks.silty_grass_block, BOPBlocks.short_grass,
|
BOPBlocks.loamy_grass_block, BOPBlocks.sandy_grass_block, BOPBlocks.silty_grass_block, BOPBlocks.short_grass,
|
||||||
BOPBlocks.devilweed, BOPBlocks.watergrass);
|
BOPBlocks.devilweed);
|
||||||
|
|
||||||
//Foliage Coloring
|
//Foliage Coloring
|
||||||
blockColors.register((state, world, pos, tintIndex) ->
|
blockColors.register((state, world, pos, tintIndex) ->
|
||||||
world != null && pos != null ? BiomeColors.getFoliageColor(world, pos) : FoliageColors.getDefault(),
|
world != null && pos != null ? BiomeColors.getFoliageColor(world, pos) : FoliageColors.getDefault(),
|
||||||
BOPBlocks.flowering_oak_leaves, BOPBlocks.mahogany_leaves, BOPBlocks.palm_leaves, BOPBlocks.willow_leaves,
|
BOPBlocks.flowering_oak_leaves, BOPBlocks.mahogany_leaves, BOPBlocks.palm_leaves, BOPBlocks.willow_leaves,
|
||||||
BOPBlocks.ivy, BOPBlocks.willow_vine, BOPBlocks.bush);
|
BOPBlocks.ivy, BOPBlocks.willow_vine);
|
||||||
|
|
||||||
//Item Coloring
|
//Item Coloring
|
||||||
itemColors.register((stack, tintIndex) -> {
|
itemColors.register((stack, tintIndex) -> {
|
||||||
|
|
|
@ -19,6 +19,7 @@ import biomesoplenty.common.biome.overworld.GrasslandBiome;
|
||||||
import biomesoplenty.common.biome.overworld.LavenderFieldsBiome;
|
import biomesoplenty.common.biome.overworld.LavenderFieldsBiome;
|
||||||
import biomesoplenty.common.biome.overworld.MapleWoodsBiome;
|
import biomesoplenty.common.biome.overworld.MapleWoodsBiome;
|
||||||
import biomesoplenty.common.biome.overworld.MeadowBiome;
|
import biomesoplenty.common.biome.overworld.MeadowBiome;
|
||||||
|
import biomesoplenty.common.biome.overworld.OrchardBiome;
|
||||||
import biomesoplenty.common.biome.overworld.RedwoodForestBiome;
|
import biomesoplenty.common.biome.overworld.RedwoodForestBiome;
|
||||||
import biomesoplenty.common.biome.overworld.SeasonalForestBiome;
|
import biomesoplenty.common.biome.overworld.SeasonalForestBiome;
|
||||||
import biomesoplenty.common.biome.overworld.ShrublandBiome;
|
import biomesoplenty.common.biome.overworld.ShrublandBiome;
|
||||||
|
@ -57,6 +58,7 @@ public class ModBiomes
|
||||||
lavender_fields = registerBiome(new LavenderFieldsBiome(), "lavender_fields");
|
lavender_fields = registerBiome(new LavenderFieldsBiome(), "lavender_fields");
|
||||||
maple_woods = registerBiome(new MapleWoodsBiome(), "maple_woods");
|
maple_woods = registerBiome(new MapleWoodsBiome(), "maple_woods");
|
||||||
meadow = registerBiome(new MeadowBiome(), "meadow");
|
meadow = registerBiome(new MeadowBiome(), "meadow");
|
||||||
|
orchard = registerBiome(new OrchardBiome(), "orchard");
|
||||||
redwood_forest = registerBiome(new RedwoodForestBiome(), "redwood_forest");
|
redwood_forest = registerBiome(new RedwoodForestBiome(), "redwood_forest");
|
||||||
seasonal_forest = registerBiome(new SeasonalForestBiome(), "seasonal_forest");
|
seasonal_forest = registerBiome(new SeasonalForestBiome(), "seasonal_forest");
|
||||||
shrubland = registerBiome(new ShrublandBiome(), "shrubland");
|
shrubland = registerBiome(new ShrublandBiome(), "shrubland");
|
||||||
|
|
|
@ -308,7 +308,6 @@ public class ModBlocks
|
||||||
willow_vine = registerBlock(new BlockVine(Block.Properties.create(Material.VINE).doesNotBlockMovement().needsRandomTick().hardnessAndResistance(0.2F).sound(SoundType.PLANT)), "willow_vine");
|
willow_vine = registerBlock(new BlockVine(Block.Properties.create(Material.VINE).doesNotBlockMovement().needsRandomTick().hardnessAndResistance(0.2F).sound(SoundType.PLANT)), "willow_vine");
|
||||||
|
|
||||||
short_grass = registerBlock(new BlockFoliageBOP(Block.Properties.create(Material.VINE).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "short_grass");
|
short_grass = registerBlock(new BlockFoliageBOP(Block.Properties.create(Material.VINE).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "short_grass");
|
||||||
bush = registerBlock(new BlockFoliageBOP(Block.Properties.create(Material.VINE).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "bush");
|
|
||||||
barley = registerBlock(new BlockFoliageBOP(Block.Properties.create(Material.VINE, MaterialColor.YELLOW_TERRACOTTA).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "barley");
|
barley = registerBlock(new BlockFoliageBOP(Block.Properties.create(Material.VINE, MaterialColor.YELLOW_TERRACOTTA).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "barley");
|
||||||
dune_grass = registerBlock(new BlockFoliageBOP(Block.Properties.create(Material.VINE, MaterialColor.LIME_TERRACOTTA).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "dune_grass");
|
dune_grass = registerBlock(new BlockFoliageBOP(Block.Properties.create(Material.VINE, MaterialColor.LIME_TERRACOTTA).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "dune_grass");
|
||||||
desert_grass = registerBlock(new BlockFoliageBOP(Block.Properties.create(Material.VINE, MaterialColor.ORANGE_TERRACOTTA).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "desert_grass");
|
desert_grass = registerBlock(new BlockFoliageBOP(Block.Properties.create(Material.VINE, MaterialColor.ORANGE_TERRACOTTA).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "desert_grass");
|
||||||
|
@ -320,10 +319,7 @@ public class ModBlocks
|
||||||
tiny_cactus = registerBlock(new BlockPlantBOP(Block.Properties.create(Material.PLANTS).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "tiny_cactus");
|
tiny_cactus = registerBlock(new BlockPlantBOP(Block.Properties.create(Material.PLANTS).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "tiny_cactus");
|
||||||
cattail = registerBlock(new BlockPlantBOP(Block.Properties.create(Material.PLANTS, MaterialColor.DIRT).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "cattail");
|
cattail = registerBlock(new BlockPlantBOP(Block.Properties.create(Material.PLANTS, MaterialColor.DIRT).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "cattail");
|
||||||
tall_cattail = registerBlock(new BlockDoublePlantBOP(cattail, Block.Properties.create(Material.PLANTS, MaterialColor.DIRT).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "tall_cattail");
|
tall_cattail = registerBlock(new BlockDoublePlantBOP(cattail, Block.Properties.create(Material.PLANTS, MaterialColor.DIRT).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "tall_cattail");
|
||||||
root = registerBlock(new BlockPlantBOP(Block.Properties.create(Material.PLANTS).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "root");
|
|
||||||
reed = registerBlock(new BlockPlantBOP(Block.Properties.create(Material.PLANTS, MaterialColor.DIRT).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "reed");
|
|
||||||
watergrass = registerBlock(new BlockPlantBOP(Block.Properties.create(Material.VINE).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "watergrass");
|
|
||||||
|
|
||||||
bramble = registerBlock(new BlockBramble(Block.Properties.create(Material.PLANTS, MaterialColor.NETHERRACK).hardnessAndResistance(0.4F).sound(SoundType.WOOD)), "bramble");
|
bramble = registerBlock(new BlockBramble(Block.Properties.create(Material.PLANTS, MaterialColor.NETHERRACK).hardnessAndResistance(0.4F).sound(SoundType.WOOD)), "bramble");
|
||||||
|
|
||||||
toadstool = registerBlock(new BlockMushroomBOP(Block.Properties.create(Material.PLANTS).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "toadstool");
|
toadstool = registerBlock(new BlockMushroomBOP(Block.Properties.create(Material.PLANTS).doesNotBlockMovement().zeroHardnessAndResistance().sound(SoundType.PLANT)), "toadstool");
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"variants": {
|
|
||||||
"": { "model": "biomesoplenty:block/bush" }
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"variants": {
|
|
||||||
"": { "model": "biomesoplenty:block/reed" }
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"variants": {
|
|
||||||
"": { "model": "biomesoplenty:block/root" }
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"variants": {
|
|
||||||
"": { "model": "biomesoplenty:block/watergrass" }
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
"generator.biomesoplenty": "Biomes O' Plenty",
|
"generator.biomesoplenty": "Biomes O' Plenty",
|
||||||
"itemGroup.biomesoplenty": "Biomes O' Plenty",
|
"itemGroup.biomesoplenty": "Biomes O' Plenty",
|
||||||
"item.forge.bucketFilled": "%s Bucket",
|
|
||||||
|
|
||||||
"biome.biomesoplenty.alps": "Alps",
|
"biome.biomesoplenty.alps": "Alps",
|
||||||
"biome.biomesoplenty.alps_foothills": "Alps Foothills",
|
"biome.biomesoplenty.alps_foothills": "Alps Foothills",
|
||||||
|
@ -87,8 +86,6 @@
|
||||||
"biome.biomesoplenty.woodland": "Woodland",
|
"biome.biomesoplenty.woodland": "Woodland",
|
||||||
"biome.biomesoplenty.xeric_shrubland": "Xeric Shrubland",
|
"biome.biomesoplenty.xeric_shrubland": "Xeric Shrubland",
|
||||||
|
|
||||||
"effect.biomesoplenty.curse": "Curse",
|
|
||||||
|
|
||||||
"item.biomesoplenty.bop_icon": "BOP Icon",
|
"item.biomesoplenty.bop_icon": "BOP Icon",
|
||||||
"item.biomesoplenty.cherry_boat": "Cherry Boat",
|
"item.biomesoplenty.cherry_boat": "Cherry Boat",
|
||||||
"item.biomesoplenty.chunk_of_flesh": "Chunk of Flesh",
|
"item.biomesoplenty.chunk_of_flesh": "Chunk of Flesh",
|
||||||
|
@ -111,11 +108,9 @@
|
||||||
|
|
||||||
"block.biomesoplenty.ash_block": "Ash Block",
|
"block.biomesoplenty.ash_block": "Ash Block",
|
||||||
"block.biomesoplenty.barley": "Barley",
|
"block.biomesoplenty.barley": "Barley",
|
||||||
"block.biomesoplenty.blue_fire": "Blue Fire",
|
|
||||||
"block.biomesoplenty.blue_hydrangea": "Blue Hydrangea",
|
"block.biomesoplenty.blue_hydrangea": "Blue Hydrangea",
|
||||||
"block.biomesoplenty.bramble": "Bramble",
|
"block.biomesoplenty.bramble": "Bramble",
|
||||||
"block.biomesoplenty.burning_blossom": "Burning Blossom",
|
"block.biomesoplenty.burning_blossom": "Burning Blossom",
|
||||||
"block.biomesoplenty.bush": "Bush",
|
|
||||||
"block.biomesoplenty.cattail": "Cattail",
|
"block.biomesoplenty.cattail": "Cattail",
|
||||||
"block.biomesoplenty.cherry_button": "Cherry Button",
|
"block.biomesoplenty.cherry_button": "Cherry Button",
|
||||||
"block.biomesoplenty.cherry_door": "Cherry Door",
|
"block.biomesoplenty.cherry_door": "Cherry Door",
|
||||||
|
@ -294,8 +289,6 @@
|
||||||
"block.biomesoplenty.redwood_trapdoor": "Redwood Trapdoor",
|
"block.biomesoplenty.redwood_trapdoor": "Redwood Trapdoor",
|
||||||
"block.biomesoplenty.redwood_wood": "Redwood Wood",
|
"block.biomesoplenty.redwood_wood": "Redwood Wood",
|
||||||
"block.biomesoplenty.redwood_wood_slab": "Redwood Slab",
|
"block.biomesoplenty.redwood_wood_slab": "Redwood Slab",
|
||||||
"block.biomesoplenty.reed": "Reed",
|
|
||||||
"block.biomesoplenty.root": "Root",
|
|
||||||
"block.biomesoplenty.rose": "Rose",
|
"block.biomesoplenty.rose": "Rose",
|
||||||
"block.biomesoplenty.sandy_dirt": "Sandy Dirt",
|
"block.biomesoplenty.sandy_dirt": "Sandy Dirt",
|
||||||
"block.biomesoplenty.sandy_farmland": "Sandy Farmland",
|
"block.biomesoplenty.sandy_farmland": "Sandy Farmland",
|
||||||
|
@ -351,7 +344,6 @@
|
||||||
"block.biomesoplenty.umbran_wood": "Umbran Wood",
|
"block.biomesoplenty.umbran_wood": "Umbran Wood",
|
||||||
"block.biomesoplenty.umbran_wood_slab": "Umbran Slab",
|
"block.biomesoplenty.umbran_wood_slab": "Umbran Slab",
|
||||||
"block.biomesoplenty.violet": "Violet",
|
"block.biomesoplenty.violet": "Violet",
|
||||||
"block.biomesoplenty.watergrass": "Watergrass",
|
|
||||||
"block.biomesoplenty.white_cherry_leaves": "White Cherry Leaves",
|
"block.biomesoplenty.white_cherry_leaves": "White Cherry Leaves",
|
||||||
"block.biomesoplenty.white_cherry_sapling": "White Cherry Sapling",
|
"block.biomesoplenty.white_cherry_sapling": "White Cherry Sapling",
|
||||||
"block.biomesoplenty.white_sand": "White Sand",
|
"block.biomesoplenty.white_sand": "White Sand",
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"parent": "biomesoplenty:block/cross_with_overlay",
|
|
||||||
"textures": {
|
|
||||||
"colored": "biomesoplenty:blocks/bush_branch",
|
|
||||||
"greyscale": "biomesoplenty:blocks/bush",
|
|
||||||
"particle": "biomesoplenty:blocks/bush"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,46 +0,0 @@
|
||||||
{
|
|
||||||
"ambientocclusion": false,
|
|
||||||
"textures": {
|
|
||||||
"cross": "biomesoplenty:blocks/reed",
|
|
||||||
"cross_bottom": "biomesoplenty:blocks/reed_bottom",
|
|
||||||
"particle": "biomesoplenty:blocks/reed"
|
|
||||||
},
|
|
||||||
"elements": [
|
|
||||||
{ "from": [ 0.8, 0, 8 ],
|
|
||||||
"to": [ 15.2, 16, 8 ],
|
|
||||||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
|
|
||||||
"shade": false,
|
|
||||||
"faces": {
|
|
||||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" },
|
|
||||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" }
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ "from": [ 8, 0, 0.8 ],
|
|
||||||
"to": [ 8, 16, 15.2 ],
|
|
||||||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
|
|
||||||
"shade": false,
|
|
||||||
"faces": {
|
|
||||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" },
|
|
||||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" }
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ "from": [ 0.8, -16, 8 ],
|
|
||||||
"to": [ 15.2, 0, 8 ],
|
|
||||||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
|
|
||||||
"shade": false,
|
|
||||||
"faces": {
|
|
||||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross_bottom" },
|
|
||||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross_bottom" }
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ "from": [ 8, -16, 0.8 ],
|
|
||||||
"to": [ 8, 0, 15.2 ],
|
|
||||||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
|
|
||||||
"shade": false,
|
|
||||||
"faces": {
|
|
||||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross_bottom" },
|
|
||||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross_bottom" }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"parent": "block/cross",
|
|
||||||
"textures": {
|
|
||||||
"cross": "biomesoplenty:blocks/root"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,46 +0,0 @@
|
||||||
{
|
|
||||||
"ambientocclusion": false,
|
|
||||||
"textures": {
|
|
||||||
"cross": "biomesoplenty:blocks/watergrass",
|
|
||||||
"cross_bottom": "biomesoplenty:blocks/watergrass_bottom",
|
|
||||||
"particle": "biomesoplenty:blocks/watergrass"
|
|
||||||
},
|
|
||||||
"elements": [
|
|
||||||
{ "from": [ 0.8, 0, 8 ],
|
|
||||||
"to": [ 15.2, 16, 8 ],
|
|
||||||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
|
|
||||||
"shade": false,
|
|
||||||
"faces": {
|
|
||||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross", "tintindex": 0 },
|
|
||||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross", "tintindex": 0 }
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ "from": [ 8, 0, 0.8 ],
|
|
||||||
"to": [ 8, 16, 15.2 ],
|
|
||||||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
|
|
||||||
"shade": false,
|
|
||||||
"faces": {
|
|
||||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross", "tintindex": 0 },
|
|
||||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross", "tintindex": 0 }
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ "from": [ 0.8, -16, 8 ],
|
|
||||||
"to": [ 15.2, 0, 8 ],
|
|
||||||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
|
|
||||||
"shade": false,
|
|
||||||
"faces": {
|
|
||||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross_bottom", "tintindex": 0 },
|
|
||||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross_bottom", "tintindex": 0 }
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ "from": [ 8, -16, 0.8 ],
|
|
||||||
"to": [ 8, 0, 15.2 ],
|
|
||||||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
|
|
||||||
"shade": false,
|
|
||||||
"faces": {
|
|
||||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross_bottom", "tintindex": 0 },
|
|
||||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross_bottom", "tintindex": 0 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"parent": "item/generated",
|
|
||||||
"textures": {
|
|
||||||
"layer0": "biomesoplenty:items/bush"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"parent": "item/generated",
|
|
||||||
"textures": {
|
|
||||||
"layer0": "biomesoplenty:items/reed"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"parent": "item/generated",
|
|
||||||
"textures": {
|
|
||||||
"layer0": "biomesoplenty:items/root"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"parent": "item/generated",
|
|
||||||
"textures": {
|
|
||||||
"layer0": "biomesoplenty:items/watergrass"
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 11 KiB |
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"animation": {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 10 KiB |
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"animation": {
|
|
||||||
"frametime": 2
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 5.8 KiB |
|
@ -1,38 +0,0 @@
|
||||||
{
|
|
||||||
"animation": {
|
|
||||||
"frames": [
|
|
||||||
16,
|
|
||||||
17,
|
|
||||||
18,
|
|
||||||
19,
|
|
||||||
20,
|
|
||||||
21,
|
|
||||||
22,
|
|
||||||
23,
|
|
||||||
24,
|
|
||||||
25,
|
|
||||||
26,
|
|
||||||
27,
|
|
||||||
28,
|
|
||||||
29,
|
|
||||||
30,
|
|
||||||
31,
|
|
||||||
0,
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
3,
|
|
||||||
4,
|
|
||||||
5,
|
|
||||||
6,
|
|
||||||
7,
|
|
||||||
8,
|
|
||||||
9,
|
|
||||||
10,
|
|
||||||
11,
|
|
||||||
12,
|
|
||||||
13,
|
|
||||||
14,
|
|
||||||
15
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 5.9 KiB |
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"animation": {}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 551 B |
Before Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 9.5 KiB |
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"animation": {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 7.1 KiB |
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"animation": {
|
|
||||||
"frametime": 2
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 641 B |
Before Width: | Height: | Size: 621 B |
Before Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 290 B |
Before Width: | Height: | Size: 338 B |
Before Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 630 B |
Before Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 612 B |
Before Width: | Height: | Size: 629 B |
Before Width: | Height: | Size: 385 B |