Fixed overgrown stone, toned down the frequency of wasp hives
This commit is contained in:
parent
984e4e395c
commit
8f6d19f853
3 changed files with 17 additions and 5 deletions
|
@ -58,7 +58,7 @@ public class BOPHellBiome extends BOPBiome
|
||||||
this.spawnableMonsterList.add(new Biome.SpawnListEntry(EntityMagmaCube.class, 2, 4, 4));
|
this.spawnableMonsterList.add(new Biome.SpawnListEntry(EntityMagmaCube.class, 2, 4, 4));
|
||||||
this.spawnableMonsterList.add(new Biome.SpawnListEntry(EntityEnderman.class, 1, 4, 4));
|
this.spawnableMonsterList.add(new Biome.SpawnListEntry(EntityEnderman.class, 1, 4, 4));
|
||||||
|
|
||||||
this.addGenerator("hive", GeneratorStage.PRE, (new GeneratorHive.Builder()).amountPerChunk(0.3F).create());
|
this.addGenerator("hive", GeneratorStage.PRE, (new GeneratorHive.Builder()).amountPerChunk(0.2F).create());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -33,7 +33,7 @@ public class BiomeExtHell extends ExtendedBiomeWrapper
|
||||||
Biomes.HELL.theBiomeDecorator.sandPerChunk2 = -999;
|
Biomes.HELL.theBiomeDecorator.sandPerChunk2 = -999;
|
||||||
//this.theBiomeDecorator.generateLakes = false;
|
//this.theBiomeDecorator.generateLakes = false;
|
||||||
|
|
||||||
this.addGenerator("hive", GeneratorStage.PRE, (new GeneratorHive.Builder()).amountPerChunk(0.3F).create());
|
this.addGenerator("hive", GeneratorStage.PRE, (new GeneratorHive.Builder()).amountPerChunk(0.2F).create());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -437,14 +437,26 @@ public class BlockBOPGrass extends BlockGrass implements IBOPBlock, ISustainsPla
|
||||||
@Override
|
@Override
|
||||||
public Item getItemDropped(IBlockState state, Random rand, int fortune)
|
public Item getItemDropped(IBlockState state, Random rand, int fortune)
|
||||||
{
|
{
|
||||||
return Item.getItemFromBlock(getDirtBlock(state));
|
switch ((BOPGrassType) state.getValue(VARIANT))
|
||||||
|
{
|
||||||
|
case OVERGROWN_STONE:
|
||||||
|
return Item.getItemFromBlock(Blocks.COBBLESTONE.getDefaultState().getBlock());
|
||||||
|
default:
|
||||||
|
return Item.getItemFromBlock(getDirtBlock(state));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// goes hand in hand with getItemDropped() above to determine precisely what is dropped
|
// goes hand in hand with getItemDropped() above to determine precisely what is dropped
|
||||||
@Override
|
@Override
|
||||||
public int damageDropped(IBlockState state)
|
public int damageDropped(IBlockState state)
|
||||||
{
|
{
|
||||||
return getDirtBlockMeta(state);
|
switch ((BOPGrassType) state.getValue(VARIANT))
|
||||||
|
{
|
||||||
|
case OVERGROWN_STONE:
|
||||||
|
return 0;
|
||||||
|
default:
|
||||||
|
return getDirtBlockMeta(state);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -465,7 +477,7 @@ public class BlockBOPGrass extends BlockGrass implements IBOPBlock, ISustainsPla
|
||||||
case OVERGROWN_NETHERRACK:
|
case OVERGROWN_NETHERRACK:
|
||||||
return Blocks.NETHERRACK.getDefaultState();
|
return Blocks.NETHERRACK.getDefaultState();
|
||||||
case OVERGROWN_STONE:
|
case OVERGROWN_STONE:
|
||||||
return Blocks.COBBLESTONE.getDefaultState();
|
return Blocks.STONE.getDefaultState();
|
||||||
case ORIGIN: case DAISY: default:
|
case ORIGIN: case DAISY: default:
|
||||||
return Blocks.DIRT.getStateFromMeta(BlockDirt.DirtType.DIRT.getMetadata());
|
return Blocks.DIRT.getStateFromMeta(BlockDirt.DirtType.DIRT.getMetadata());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue