This commit is contained in:
Emmanuel BENOîT 2016-07-18 16:02:47 +02:00
parent 4e2a79c4ba
commit 06d2bfee72
11 changed files with 41 additions and 3 deletions

View file

@ -31,8 +31,7 @@ food No Extra recipes
Various mashes
-------------------------------------------------------------------------------------------------------
materials No Alloys
Brass
Alnico or some variant thereof (iron + aluminium + redstone?)
Alnico or some variant thereof (iron/steel + aluminium + redstone?)
materials No Metal from slag
-> in metal recycler
materials No Black sand

View file

@ -14,6 +14,7 @@ public class MAlloys
implements I_RecipeRegistrar
{
public final MMetal BRONZE;
public final MMetal BRASS;
public final MMetal STEEL;
// public static final MMetal RED_COPPER;
@ -23,6 +24,7 @@ public class MAlloys
CRegistry.addRecipeRegistrar( this );
this.BRONZE = new MMetal( "bronze" , 0f , 5f , 1 , MapColor.BROWN );
this.BRASS = new MMetal( "brass" , 0f , 4f , 1 , MapColor.GOLD );
this.STEEL = new MMetal( "steel" , 0f , 7f , 2 , MapColor.LIGHT_BLUE ) //
.setBlockResistance( 12f );
// RED_COPPER = new MMetal( "red_copper" , 0f , 2f , 1 , MapColor.RED );
@ -33,12 +35,19 @@ public class MAlloys
public void registerRecipes( )
{
// Bronze
MAlloyRecipe.build( ).setName( "materials/bronze" ).setBurnTime( 400 ) //
MAlloyRecipe.build( ).setName( "materials/bronze" ).setBurnTime( 200 ) //
.addInput( MmmMaterials.METAL.COPPER.INGOT ) //
.addInput( MmmMaterials.METAL.TIN.NUGGET ) //
.setOutput( this.BRONZE.INGOT ).setSlag( 1 ) //
.register( );
// Brass
MAlloyRecipe.build( ).setName( "materials/brass" ).setBurnTime( 200 ) //
.addInput( MmmMaterials.METAL.COPPER.INGOT , 2 ) //
.addInput( MmmMaterials.METAL.ZINC.INGOT ) //
.setOutput( this.BRASS.INGOT , 2 ).setSlag( 1 ) //
.register( );
// Pig iron
MAlloyRecipe.build( ).setName( "materials/pig_iron/from_ingot" ).setBurnTime( 1600 ) //
.addInput( MmmMaterials.METAL.IRON.INGOT ) //

View file

@ -0,0 +1,5 @@
{
"variants": {
"normal": { "model": "mmm:materials/block/brass" }
}
}

View file

@ -54,6 +54,10 @@ item.mmm.materials.ingot.bronze.name=Bronze Ingot
item.mmm.materials.nugget.bronze.name=Bronze Nugget
tile.mmm.materials.block.bronze.name=Bronze Block
item.mmm.materials.ingot.brass.name=Brass Ingot
item.mmm.materials.nugget.brass.name=Brass Nugget
tile.mmm.materials.block.brass.name=Brass Block
item.mmm.materials.ingot.steel.name=Steel Ingot
item.mmm.materials.nugget.steel.name=Steel Nugget
tile.mmm.materials.block.steel.name=Steel Block

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "mmm:blocks/materials/block/brass"
}
}

View file

@ -0,0 +1,3 @@
{
"parent": "mmm:block/materials/block/brass"
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "mmm:items/materials/ingots/brass"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "mmm:items/materials/nuggets/brass"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B