mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 02:20:01 +03:00
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
--- ../src-base/minecraft/net/minecraft/world/biome/BiomeSwamp.java
|
|
+++ ../src-work/minecraft/net/minecraft/world/biome/BiomeSwamp.java
|
|
@@ -31,7 +31,7 @@
|
|
this.decorator.sandPatchesPerChunk = 0;
|
|
this.decorator.gravelPatchesPerChunk = 0;
|
|
this.decorator.grassPerChunk = 5;
|
|
- this.spawnableMonsterList.add(new Biome.SpawnListEntry(EntitySlime.class, 1, 1, 1));
|
|
+ this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1));
|
|
}
|
|
|
|
public WorldGenAbstractTree getRandomTreeFeature(Random rand)
|
|
@@ -79,6 +79,7 @@
|
|
{
|
|
super.decorate(worldIn, rand, pos);
|
|
|
|
+ if(net.minecraftforge.event.terraingen.TerrainGen.decorate(worldIn, rand, new net.minecraft.util.math.ChunkPos(pos), net.minecraftforge.event.terraingen.DecorateBiomeEvent.Decorate.EventType.FOSSIL))
|
|
if (rand.nextInt(64) == 0)
|
|
{
|
|
(new WorldGenFossils()).generate(worldIn, rand, pos);
|
|
@@ -97,4 +98,10 @@
|
|
{
|
|
return 6975545;
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public void addDefaultFlowers()
|
|
+ {
|
|
+ addFlower(Blocks.RED_FLOWER.getDefaultState().withProperty(Blocks.RED_FLOWER.getTypeProperty(), BlockFlower.EnumFlowerType.BLUE_ORCHID), 10);
|
|
+ }
|
|
}
|