Skip to content

Commit

Permalink
Fixed slate gen
Browse files Browse the repository at this point in the history
  • Loading branch information
ammoore00 committed Oct 7, 2021
1 parent bdf5e8a commit 921e45a
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 4 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ Version 2.1.0
[*]Changed black stone to be able to spawn nether mobs.
[/list]

Version 2.0.2
[list]
[*]Fixed an issue where the last release caused slate to stop generating.
[/list]

Version 2.0.1
[list]
[*]Fixed an issue where simplex noise surface decorators were creating artifacts along chunk boundaries. This was most noticeable in outback but affected several other biomes.
Expand Down
3 changes: 3 additions & 0 deletions minecraft/net/minecraft/src/BTABiomeDecorator.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ public class BTABiomeDecorator
protected WorldGenerator graniteGen;
protected WorldGenerator andesiteGen;
protected WorldGenerator dioriteGen;
protected WorldGenerator slateGen;
protected WorldGenerator melonGen;

public int oasesPerChunk;
Expand Down Expand Up @@ -212,6 +213,7 @@ public BTABiomeDecorator(BiomeGenBase par1BiomeGenBase)
graniteGen = new BTAWorldGenMinable(BTADecoIntegration.stoneTypes.blockID, 0, 32, Block.stone.blockID);
andesiteGen = new BTAWorldGenMinable(BTADecoIntegration.stoneTypes.blockID, 1, 32, Block.stone.blockID);
dioriteGen = new BTAWorldGenMinable(BTADecoIntegration.stoneTypes.blockID, 2, 32, Block.stone.blockID);
slateGen = new BTAWorldGenMinable(Block.stone.blockID, 3, 32, Block.stone.blockID);
}

oasesPerChunk = 0;
Expand Down Expand Up @@ -601,6 +603,7 @@ protected void generateOres()
this.genStandardOre1(12, this.graniteGen, 0, 128);
this.genStandardOre1(12, this.andesiteGen, 0, 128);
this.genStandardOre1(12, this.dioriteGen, 0, 128);
this.genStandardOre1(12, this.slateGen, 0, this.currentWorld.provider.terrainType.getStrataLevels()[1]);
}
}
}
3 changes: 2 additions & 1 deletion minecraft/net/minecraft/src/BTAEnumVersionCompat.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public enum BTAEnumVersionCompat {
V1_4_3(1, 4, 3),
V1_4_4(1, 4, 4),
V2_0_0(2, 0, 0),
V2_0_1(2, 0, 1);
V2_0_1(2, 0, 1),
V2_0_2(2, 0, 2);

private final int major;
private final int minor;
Expand Down
2 changes: 1 addition & 1 deletion minecraft/net/minecraft/src/BTAMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class BTAMod extends FCAddOn {
public static Material netherSand;

private BTAMod() {
super("Better Terrain", "2.0.1", "BTA");
super("Better Terrain", "2.0.2", "BTA");
this.currentVersion = BTAEnumVersionCompat.fromString(this.getVersionString());
}

Expand Down
3 changes: 3 additions & 0 deletions minecraft_server/net/minecraft/src/BTABiomeDecorator.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ public class BTABiomeDecorator
protected WorldGenerator graniteGen;
protected WorldGenerator andesiteGen;
protected WorldGenerator dioriteGen;
protected WorldGenerator slateGen;
protected WorldGenerator melonGen;

public int oasesPerChunk;
Expand Down Expand Up @@ -212,6 +213,7 @@ public BTABiomeDecorator(BiomeGenBase par1BiomeGenBase)
graniteGen = new BTAWorldGenMinable(BTADecoIntegration.stoneTypes.blockID, 0, 32, Block.stone.blockID);
andesiteGen = new BTAWorldGenMinable(BTADecoIntegration.stoneTypes.blockID, 1, 32, Block.stone.blockID);
dioriteGen = new BTAWorldGenMinable(BTADecoIntegration.stoneTypes.blockID, 2, 32, Block.stone.blockID);
slateGen = new BTAWorldGenMinable(Block.stone.blockID, 3, 32, Block.stone.blockID);
}

oasesPerChunk = 0;
Expand Down Expand Up @@ -601,6 +603,7 @@ protected void generateOres()
this.genStandardOre1(12, this.graniteGen, 0, 128);
this.genStandardOre1(12, this.andesiteGen, 0, 128);
this.genStandardOre1(12, this.dioriteGen, 0, 128);
this.genStandardOre1(12, this.slateGen, 0, this.currentWorld.provider.terrainType.getStrataLevels()[1]);
}
}
}
3 changes: 2 additions & 1 deletion minecraft_server/net/minecraft/src/BTAEnumVersionCompat.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public enum BTAEnumVersionCompat {
V1_4_3(1, 4, 3),
V1_4_4(1, 4, 4),
V2_0_0(2, 0, 0),
V2_0_1(2, 0, 1);
V2_0_1(2, 0, 1),
V2_0_2(2, 0, 2);

private final int major;
private final int minor;
Expand Down
2 changes: 1 addition & 1 deletion minecraft_server/net/minecraft/src/BTAMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class BTAMod extends FCAddOn {
public static Material netherSand;

private BTAMod() {
super("Better Terrain", "2.0.1", "BTA");
super("Better Terrain", "2.0.2", "BTA");
this.currentVersion = BTAEnumVersionCompat.fromString(this.getVersionString());
}

Expand Down

0 comments on commit 921e45a

Please sign in to comment.