Bauxite
This commit is contained in:
parent
42a455d4c0
commit
3a5ba9fbfd
9 changed files with 53 additions and 1 deletions
1
TODO.txt
1
TODO.txt
|
@ -46,7 +46,6 @@ materials.rock No Smooth limestone
|
||||||
materials.rock No Smooth slate
|
materials.rock No Smooth slate
|
||||||
materials.rock No Basalt
|
materials.rock No Basalt
|
||||||
-------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------
|
||||||
materials.ore No Aluminium (bauxite)
|
|
||||||
materials.ore No Silver (native, horn silver)
|
materials.ore No Silver (native, horn silver)
|
||||||
materials.ore No Lead (galena)
|
materials.ore No Lead (galena)
|
||||||
materials.ore No Cinnabar
|
materials.ore No Cinnabar
|
||||||
|
|
BIN
graphics/ore.xcf
BIN
graphics/ore.xcf
Binary file not shown.
|
@ -1,6 +1,7 @@
|
||||||
package mmm.materials;
|
package mmm.materials;
|
||||||
|
|
||||||
|
|
||||||
|
import mmm.materials.ore.MOBauxite;
|
||||||
import mmm.materials.ore.MOCassiterite;
|
import mmm.materials.ore.MOCassiterite;
|
||||||
import mmm.materials.ore.MOCopper;
|
import mmm.materials.ore.MOCopper;
|
||||||
import mmm.materials.ore.MOCuprite;
|
import mmm.materials.ore.MOCuprite;
|
||||||
|
@ -52,6 +53,7 @@ public class Materials
|
||||||
public static final MOre ORE_CASSITERITE;
|
public static final MOre ORE_CASSITERITE;
|
||||||
public static final MOre ORE_SPHALERITE;
|
public static final MOre ORE_SPHALERITE;
|
||||||
public static final MOre ORE_ROCK_SALT;
|
public static final MOre ORE_ROCK_SALT;
|
||||||
|
public static final MOre ORE_BAUXITE;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
// Rocks
|
// Rocks
|
||||||
|
@ -95,6 +97,7 @@ public class Materials
|
||||||
ORE_CASSITERITE = new MOCassiterite( );
|
ORE_CASSITERITE = new MOCassiterite( );
|
||||||
ORE_SPHALERITE = new MOSphalerite( );
|
ORE_SPHALERITE = new MOSphalerite( );
|
||||||
ORE_ROCK_SALT = new MORockSalt( );
|
ORE_ROCK_SALT = new MORockSalt( );
|
||||||
|
ORE_BAUXITE = new MOBauxite( );
|
||||||
|
|
||||||
// Other recipes
|
// Other recipes
|
||||||
URegistry.addRecipeRegistrar( new Materials( ) );
|
URegistry.addRecipeRegistrar( new Materials( ) );
|
||||||
|
|
34
src/java/mmm/materials/ore/MOBauxite.java
Normal file
34
src/java/mmm/materials/ore/MOBauxite.java
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
package mmm.materials.ore;
|
||||||
|
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import mmm.materials.MOre;
|
||||||
|
import mmm.materials.Materials;
|
||||||
|
import mmm.utils.I_UOreGenerationRegistrar;
|
||||||
|
import mmm.world.WLocation;
|
||||||
|
import mmm.world.gen.WGOreCondition;
|
||||||
|
import mmm.world.gen.WGOreParameters;
|
||||||
|
import net.minecraft.block.state.pattern.BlockMatcher;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class MOBauxite
|
||||||
|
extends MOre
|
||||||
|
implements I_UOreGenerationRegistrar
|
||||||
|
{
|
||||||
|
|
||||||
|
public MOBauxite( )
|
||||||
|
{
|
||||||
|
super( "bauxite" , 1 );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void addConditions( final List< WGOreCondition > conditions )
|
||||||
|
{
|
||||||
|
conditions.add( new WGOreCondition( WLocation.inOverworld( ) , new WGOreParameters( this.getDefaultState( ) ,
|
||||||
|
10 , 9 , 45 , 80 , BlockMatcher.forBlock( Materials.ROCK_LIMESTONE ) ) ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "mmm:materials/ore/bauxite" }
|
||||||
|
}
|
||||||
|
}
|
|
@ -15,6 +15,8 @@ tile.mmm.materials.rock.slate.name=Slate
|
||||||
tile.mmm.materials.ore.rock_salt.name=Rock Salt
|
tile.mmm.materials.ore.rock_salt.name=Rock Salt
|
||||||
item.mmm.materials.stone.rock_salt.name=Salt Crystals
|
item.mmm.materials.stone.rock_salt.name=Salt Crystals
|
||||||
|
|
||||||
|
tile.mmm.materials.ore.bauxite.name=Bauxite
|
||||||
|
|
||||||
item.mmm.materials.stone.coke.name=Coke
|
item.mmm.materials.stone.coke.name=Coke
|
||||||
item.mmm.materials.stone.slag.name=Slag
|
item.mmm.materials.stone.slag.name=Slag
|
||||||
item.mmm.materials.nugget.iron.name=Iron Nugget
|
item.mmm.materials.nugget.iron.name=Iron Nugget
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:block/cube_all",
|
||||||
|
"textures": {
|
||||||
|
"all": "mmm:blocks/materials/ore/bauxite"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"parent": "mmm:block/materials/ore/bauxite"
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 434 B |
Reference in a new issue