Fixed light opacity for hot spring water/blood, tweaked the Desert/Mesa extensions
This commit is contained in:
parent
9d85377265
commit
f32d655af2
9 changed files with 434 additions and 9 deletions
|
@ -22,7 +22,7 @@ public class BiomeExtDesert extends ExtendedBiomeWrapper
|
|||
this.addGenerator("quicksand", GeneratorStage.SAND, (new GeneratorLakes.Builder()).amountPerChunk(0.2F).liquid(BOPBlocks.sand).frozenLiquid((IBlockState)null).create());
|
||||
|
||||
// other plants
|
||||
this.addGenerator("tiny_cacti", GeneratorStage.FLOWERS,(new GeneratorFlora.Builder()).amountPerChunk(0.3F).with(BOPPlants.TINYCACTUS).create());
|
||||
this.addGenerator("tiny_cacti", GeneratorStage.FLOWERS,(new GeneratorFlora.Builder()).amountPerChunk(0.25F).with(BOPPlants.TINYCACTUS).generationAttempts(16).create());
|
||||
|
||||
// gem
|
||||
this.addGenerator("ruby", GeneratorStage.SAND, (new GeneratorOreSingle.Builder()).amountPerChunk(12).with(BOPGems.RUBY).create());
|
||||
|
|
|
@ -16,7 +16,7 @@ public class BiomeExtDesertHills extends ExtendedBiomeWrapper
|
|||
super(Biomes.DESERT_HILLS);
|
||||
|
||||
// other plants
|
||||
this.addGenerator("tiny_cacti", GeneratorStage.FLOWERS,(new GeneratorFlora.Builder()).amountPerChunk(0.3F).with(BOPPlants.TINYCACTUS).create());
|
||||
this.addGenerator("tiny_cacti", GeneratorStage.FLOWERS,(new GeneratorFlora.Builder()).amountPerChunk(0.25F).with(BOPPlants.TINYCACTUS).generationAttempts(16).create());
|
||||
|
||||
// gem
|
||||
this.addGenerator("ruby", GeneratorStage.SAND, (new GeneratorOreSingle.Builder()).amountPerChunk(12).with(BOPGems.RUBY).create());
|
||||
|
|
|
@ -19,11 +19,11 @@ public class BiomeExtMesa extends ExtendedBiomeWrapper
|
|||
super(Biomes.MESA);
|
||||
|
||||
// other plants
|
||||
this.addGenerator("desertgrass", GeneratorStage.GRASS, (new GeneratorGrass.Builder()).amountPerChunk(0.5F).with(BOPPlants.DESERTGRASS).generationAttempts(8).create());
|
||||
this.addGenerator("tiny_cacti", GeneratorStage.FLOWERS,(new GeneratorFlora.Builder()).amountPerChunk(0.2F).with(BOPPlants.TINYCACTUS).create());
|
||||
this.addGenerator("desertgrass", GeneratorStage.GRASS, (new GeneratorGrass.Builder()).amountPerChunk(0.3F).with(BOPPlants.DESERTGRASS).generationAttempts(8).create());
|
||||
this.addGenerator("tiny_cacti", GeneratorStage.FLOWERS,(new GeneratorFlora.Builder()).amountPerChunk(0.1F).with(BOPPlants.TINYCACTUS).generationAttempts(16).create());
|
||||
|
||||
// flowers
|
||||
GeneratorWeighted flowerGenerator = new GeneratorWeighted(0.2F);
|
||||
GeneratorWeighted flowerGenerator = new GeneratorWeighted(0.1F);
|
||||
this.addGenerator("flowers", GeneratorStage.FLOWERS, flowerGenerator);
|
||||
flowerGenerator.add("bromeliad", 2, (new GeneratorFlora.Builder().with(BOPFlowers.BROMELIAD).create()));
|
||||
|
||||
|
|
|
@ -19,11 +19,11 @@ public class BiomeExtMesaPlateau extends ExtendedBiomeWrapper
|
|||
super(Biomes.MESA_CLEAR_ROCK);
|
||||
|
||||
// other plants
|
||||
this.addGenerator("desertgrass", GeneratorStage.GRASS, (new GeneratorGrass.Builder()).amountPerChunk(0.5F).with(BOPPlants.DESERTGRASS).generationAttempts(8).create());
|
||||
this.addGenerator("tiny_cacti", GeneratorStage.FLOWERS,(new GeneratorFlora.Builder()).amountPerChunk(0.2F).with(BOPPlants.TINYCACTUS).create());
|
||||
this.addGenerator("desertgrass", GeneratorStage.GRASS, (new GeneratorGrass.Builder()).amountPerChunk(0.3F).with(BOPPlants.DESERTGRASS).generationAttempts(8).create());
|
||||
this.addGenerator("tiny_cacti", GeneratorStage.FLOWERS,(new GeneratorFlora.Builder()).amountPerChunk(0.1F).with(BOPPlants.TINYCACTUS).generationAttempts(16).create());
|
||||
|
||||
// flowers
|
||||
GeneratorWeighted flowerGenerator = new GeneratorWeighted(0.2F);
|
||||
GeneratorWeighted flowerGenerator = new GeneratorWeighted(0.1F);
|
||||
this.addGenerator("flowers", GeneratorStage.FLOWERS, flowerGenerator);
|
||||
flowerGenerator.add("bromeliad", 2, (new GeneratorFlora.Builder().with(BOPFlowers.BROMELIAD).create()));
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ public class BlockBloodFluid extends BlockFluidClassic
|
|||
public BlockBloodFluid(Fluid fluid)
|
||||
{
|
||||
super(fluid, Material.WATER);
|
||||
this.setLightOpacity(3);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -36,6 +36,7 @@ public class BlockHotSpringWaterFluid extends BlockFluidClassic
|
|||
public BlockHotSpringWaterFluid(Fluid fluid)
|
||||
{
|
||||
super(fluid, Material.WATER);
|
||||
this.setLightOpacity(3);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -52,7 +53,7 @@ public class BlockHotSpringWaterFluid extends BlockFluidClassic
|
|||
public void randomDisplayTick(IBlockState state, World world, BlockPos pos, Random rand)
|
||||
{
|
||||
super.randomDisplayTick(state, world, pos, rand);
|
||||
if (rand.nextInt(20)==0)
|
||||
if (rand.nextInt(25)==0)
|
||||
{
|
||||
world.spawnParticle(EnumParticleTypes.CLOUD, pos.getX() + rand.nextFloat(), pos.getY() + 1.0F, pos.getZ() + rand.nextFloat(), 0.0D, 0.0D, 0.0D, new int[0]);
|
||||
}
|
||||
|
|
|
@ -30,6 +30,7 @@ public class BlockQuicksandFluid extends BlockFluidClassic
|
|||
super(fluid, Material.WATER);
|
||||
|
||||
this.quantaPerBlock = 3;
|
||||
this.setLightOpacity(255);
|
||||
this.renderLayer = BlockRenderLayer.SOLID;
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,401 @@
|
|||
{
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "biomesoplenty:earth"
|
||||
},
|
||||
"title": {
|
||||
"translate": "advancements.biomesoplenty.all_biomes.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "advancements.biomesoplenty.all_biomes.description"
|
||||
},
|
||||
"frame": "challenge"
|
||||
},
|
||||
"parent": "biomesoplenty/root",
|
||||
"criteria": {
|
||||
"alps": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:alps"
|
||||
}
|
||||
},
|
||||
"bamboo_forest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:bamboo_forest"
|
||||
}
|
||||
},
|
||||
"bayou": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:bayou"
|
||||
}
|
||||
},
|
||||
"bog": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:bog"
|
||||
}
|
||||
},
|
||||
"boreal_forest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:boreal_forest"
|
||||
}
|
||||
},
|
||||
"brushland": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:brushland"
|
||||
}
|
||||
},
|
||||
"chaparral": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:chaparral"
|
||||
}
|
||||
},
|
||||
"cherry_blossom_grove": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:cherry_blossom_grove"
|
||||
}
|
||||
},
|
||||
"cold_desert": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:cold_desert"
|
||||
}
|
||||
},
|
||||
"coniferous_forest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:coniferous_forest"
|
||||
}
|
||||
},
|
||||
"crag": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:crag"
|
||||
}
|
||||
},
|
||||
"dead_forest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:dead_forest"
|
||||
}
|
||||
},
|
||||
"dead_swamp": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:dead_swamp"
|
||||
}
|
||||
},
|
||||
"eucalyptus_forest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:eucalyptus_forest"
|
||||
}
|
||||
},
|
||||
"fen": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:fen"
|
||||
}
|
||||
},
|
||||
"flower_field": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:flower_field"
|
||||
}
|
||||
},
|
||||
"grassland": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:grassland"
|
||||
}
|
||||
},
|
||||
"grove": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:grove"
|
||||
}
|
||||
},
|
||||
"highland": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:highland"
|
||||
}
|
||||
},
|
||||
"land_of_lakes": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:land_of_lakes"
|
||||
}
|
||||
},
|
||||
"lavender_fields": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:lavender_fields"
|
||||
}
|
||||
},
|
||||
"lush_desert": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:lush_desert"
|
||||
}
|
||||
},
|
||||
"lush_swamp": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:lush_swamp"
|
||||
}
|
||||
},
|
||||
"mangrove": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:mangrove"
|
||||
}
|
||||
},
|
||||
"maple_woods": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:maple_woods"
|
||||
}
|
||||
},
|
||||
"marsh": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:marsh"
|
||||
}
|
||||
},
|
||||
"meadow": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:meadow"
|
||||
}
|
||||
},
|
||||
"moor": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:moor"
|
||||
}
|
||||
},
|
||||
"mountain": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:mountain"
|
||||
}
|
||||
},
|
||||
"mystic_grove": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:mystic_grove"
|
||||
}
|
||||
},
|
||||
"ominous_woods": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:ominous_woods"
|
||||
}
|
||||
},
|
||||
"orchard": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:orchard"
|
||||
}
|
||||
},
|
||||
"outback": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:outback"
|
||||
}
|
||||
},
|
||||
"overgrown_cliffs": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:overgrown_cliffs"
|
||||
}
|
||||
},
|
||||
"prairie": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:prairie"
|
||||
}
|
||||
},
|
||||
"quagmire": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:quagmire"
|
||||
}
|
||||
},
|
||||
"rainforest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:rainforest"
|
||||
}
|
||||
},
|
||||
"redwood_forest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:redwood_forest"
|
||||
}
|
||||
},
|
||||
"sacred_springs": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:sacred_springs"
|
||||
}
|
||||
},
|
||||
"seasonal_forest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:seasonal_forest"
|
||||
}
|
||||
},
|
||||
"shield": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:shield"
|
||||
}
|
||||
},
|
||||
"shrubland": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:shrubland"
|
||||
}
|
||||
},
|
||||
"snowy_coniferous_forest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:snowy_coniferous_forest"
|
||||
}
|
||||
},
|
||||
"snowy_forest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:snowy_forest"
|
||||
}
|
||||
},
|
||||
"steppe": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:steppe"
|
||||
}
|
||||
},
|
||||
"temperate_rainforest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:temperate_rainforest"
|
||||
}
|
||||
},
|
||||
"tropical_rainforest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:tropical_rainforest"
|
||||
}
|
||||
},
|
||||
"tundra": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:tundra"
|
||||
}
|
||||
},
|
||||
"wasteland": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:wasteland"
|
||||
}
|
||||
},
|
||||
"wetland": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:wetland"
|
||||
}
|
||||
},
|
||||
"woodland": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:woodland"
|
||||
}
|
||||
},
|
||||
"xeric_shrubland": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:xeric_shrubland"
|
||||
}
|
||||
},
|
||||
"flower_island": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:flower_island"
|
||||
}
|
||||
},
|
||||
"origin_island": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:origin_island"
|
||||
}
|
||||
},
|
||||
"tropical_island": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:tropical_island"
|
||||
}
|
||||
},
|
||||
"volcanic_island": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:volcanic_island"
|
||||
}
|
||||
},
|
||||
"coral_reef": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:coral_reef"
|
||||
}
|
||||
},
|
||||
"kelp_forest": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:kelp_forest"
|
||||
}
|
||||
},
|
||||
"glacier": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:glacier"
|
||||
}
|
||||
},
|
||||
"oasis": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:oasis"
|
||||
}
|
||||
},
|
||||
"gravel_beach": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:gravel_beach"
|
||||
}
|
||||
},
|
||||
"white_beach": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:white_beach"
|
||||
}
|
||||
},
|
||||
"mountain_foothills": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:mountain_foothills"
|
||||
}
|
||||
},
|
||||
"alps_foothills": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:alps_foothills"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "biomesoplenty:earth"
|
||||
},
|
||||
"title": {
|
||||
"translate": "advancements.biomesoplenty.root.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "advancements.biomesoplenty.root.description"
|
||||
},
|
||||
"background": "biomesoplenty:textures/gui/advancements/backgrounds/biomesoplenty.png",
|
||||
"show_toast": false,
|
||||
"announce_to_chat": false
|
||||
},
|
||||
"criteria": {
|
||||
"tick": {
|
||||
"trigger": "minecraft:tick",
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue