-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AC darkstone cliff blocks only generate in AC biomes. (#944)
AC darkstone cliff blocks only generate in AC biomes.
- Loading branch information
1 parent
e748e5e
commit 4118f24
Showing
8 changed files
with
37 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/main/java/rtg/world/gen/surface/abyssalcraft/SurfaceACBase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package rtg.world.gen.surface.abyssalcraft; | ||
|
||
import net.minecraft.block.state.IBlockState; | ||
import net.minecraft.world.World; | ||
|
||
import com.shinoow.abyssalcraft.api.block.ACBlocks; | ||
|
||
import rtg.api.biome.BiomeConfig; | ||
import rtg.world.gen.surface.SurfaceBase; | ||
|
||
public class SurfaceACBase extends SurfaceBase { | ||
|
||
public SurfaceACBase(BiomeConfig config, IBlockState top, IBlockState fill) { | ||
|
||
super(config, top, fill); | ||
} | ||
|
||
@Override | ||
protected IBlockState hcStone(World world, int i, int j, int x, int y, int k) { | ||
|
||
return ACBlocks.darkstone.getDefaultState(); | ||
} | ||
|
||
@Override | ||
protected IBlockState hcCobble(World world, int worldX, int worldZ, int chunkX, int chunkZ, int worldY) { | ||
|
||
return ACBlocks.darkstone_cobblestone.getDefaultState(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters