Silver ore
This commit is contained in:
parent
ab01a3c607
commit
8f5e7d5fa9
7 changed files with 25 additions and 4 deletions
BIN
graphics/ore.xcf
BIN
graphics/ore.xcf
Binary file not shown.
|
@ -64,6 +64,7 @@ public class Materials
|
||||||
public static final MOre ORE_GALENA;
|
public static final MOre ORE_GALENA;
|
||||||
public static final MOre ORE_CINNABAR;
|
public static final MOre ORE_CINNABAR;
|
||||||
public static final MOre ORE_SULPHUR;
|
public static final MOre ORE_SULPHUR;
|
||||||
|
public static final MOre ORE_SILVER;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
// Rocks
|
// Rocks
|
||||||
|
@ -130,8 +131,9 @@ public class Materials
|
||||||
ORE_SULPHUR = new MOre( "sulphur" , 0 ) //
|
ORE_SULPHUR = new MOre( "sulphur" , 0 ) //
|
||||||
.setResistance( 2.0f ) //
|
.setResistance( 2.0f ) //
|
||||||
.setHardness( 1.0f ) //
|
.setHardness( 1.0f ) //
|
||||||
.setDrops( ITEM_SULPHUR_POWDER , 3 , 6 ) //
|
.setDrops( Materials.ITEM_SULPHUR_POWDER , 3 , 6 ) //
|
||||||
.setExperience( 1 , 2 );
|
.setExperience( 1 , 2 );
|
||||||
|
ORE_SILVER = new MOre( "silver" , 2 );
|
||||||
|
|
||||||
// Other recipes, ore generation parameters, etc.
|
// Other recipes, ore generation parameters, etc.
|
||||||
final Materials materials = new Materials( );
|
final Materials materials = new Materials( );
|
||||||
|
@ -261,13 +263,13 @@ public class Materials
|
||||||
new WGOreParameters( Materials.ORE_CUPRITE , 10 , 9 , 0 , 60 ) ) );
|
new WGOreParameters( Materials.ORE_CUPRITE , 10 , 9 , 0 , 60 ) ) );
|
||||||
|
|
||||||
conditions.add( new WGOreCondition( WLocation.inOverworld( ) ,
|
conditions.add( new WGOreCondition( WLocation.inOverworld( ) ,
|
||||||
new WGOreParameters( Materials.ORE_CASSITERITE , 10 , 9 , 45 , 80 ) ) );
|
new WGOreParameters( Materials.ORE_CASSITERITE , 5 , 9 , 45 , 80 ) ) );
|
||||||
|
|
||||||
conditions.add( new WGOreCondition( WLocation.inOverworld( ) , //
|
conditions.add( new WGOreCondition( WLocation.inOverworld( ) , //
|
||||||
new WGOreParameters( Materials.ORE_SPHALERITE , 15 , 15 ) ) );
|
new WGOreParameters( Materials.ORE_SPHALERITE , 15 , 15 ) ) );
|
||||||
|
|
||||||
conditions.add( new WGOreCondition( WLocation.inOverworld( ) , //
|
conditions.add( new WGOreCondition( WLocation.inOverworld( ) , //
|
||||||
new WGOreParameters( Materials.ORE_ROCK_SALT , 5 , 30 , 45 , 255 ) ) );
|
new WGOreParameters( Materials.ORE_ROCK_SALT , 1 , 30 , 45 , 255 ) ) );
|
||||||
|
|
||||||
conditions.add( new WGOreCondition( WLocation.inOverworld( ) , //
|
conditions.add( new WGOreCondition( WLocation.inOverworld( ) , //
|
||||||
new WGOreParameters( Materials.ORE_GALENA , 10 , 9 ) ) );
|
new WGOreParameters( Materials.ORE_GALENA , 10 , 9 ) ) );
|
||||||
|
@ -276,8 +278,11 @@ public class Materials
|
||||||
new WGOreParameters( Materials.ORE_CINNABAR , 1 , 20 , 0 , 50 ) ) );
|
new WGOreParameters( Materials.ORE_CINNABAR , 1 , 20 , 0 , 50 ) ) );
|
||||||
|
|
||||||
conditions.add( new WGOreCondition( WLocation.inTheNether( ) , //
|
conditions.add( new WGOreCondition( WLocation.inTheNether( ) , //
|
||||||
new WGOreParameters( Materials.ORE_SULPHUR , 15 , 25 , //
|
new WGOreParameters( Materials.ORE_SULPHUR , 5 , 25 , //
|
||||||
BlockMatcher.forBlock( Blocks.NETHERRACK ) ) ) );
|
BlockMatcher.forBlock( Blocks.NETHERRACK ) ) ) );
|
||||||
|
|
||||||
|
conditions.add( new WGOreCondition( WLocation.inOverworld( ) , //
|
||||||
|
new WGOreParameters( Materials.ORE_SILVER , 3 , 9 , 0 , 40 ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "mmm:materials/ore/silver" }
|
||||||
|
}
|
||||||
|
}
|
|
@ -25,6 +25,8 @@ tile.mmm.materials.ore.cinnabar.name=Cinnabar
|
||||||
tile.mmm.materials.ore.sulphur.name=Sulphur
|
tile.mmm.materials.ore.sulphur.name=Sulphur
|
||||||
item.mmm.materials.stone.sulphur_powder.name=Sulphur Powder
|
item.mmm.materials.stone.sulphur_powder.name=Sulphur Powder
|
||||||
|
|
||||||
|
tile.mmm.materials.ore.silver.name=Native Silver
|
||||||
|
|
||||||
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/silver"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"parent": "mmm:block/materials/ore/silver"
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 482 B |
Reference in a new issue