Dough
This commit is contained in:
parent
8639b91717
commit
b4f69fc045
5 changed files with 23 additions and 0 deletions
BIN
graphics/dough.xcf
Normal file
BIN
graphics/dough.xcf
Normal file
Binary file not shown.
|
@ -1,10 +1,13 @@
|
|||
package mmm.food;
|
||||
|
||||
|
||||
import mmm.MmmMaterials;
|
||||
import mmm.core.CRegistry;
|
||||
import mmm.core.api.I_RecipeRegistrar;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
|
||||
|
||||
|
||||
|
@ -12,6 +15,7 @@ public class FIngredients
|
|||
implements I_RecipeRegistrar
|
||||
{
|
||||
public final Item FLOUR;
|
||||
public final Item DOUGH;
|
||||
|
||||
|
||||
public FIngredients( )
|
||||
|
@ -19,6 +23,7 @@ public class FIngredients
|
|||
CRegistry.addRegistrar( this );
|
||||
|
||||
this.FLOUR = FHelpers.makeIngredient( "flour" );
|
||||
this.DOUGH = FHelpers.makeIngredient( "dough" );
|
||||
}
|
||||
|
||||
|
||||
|
@ -27,6 +32,17 @@ public class FIngredients
|
|||
{
|
||||
FHelpers.addTransform( Items.WHEAT , this.FLOUR );
|
||||
FHelpers.addCooking( this.FLOUR , Items.BREAD );
|
||||
GameRegistry.addShapedRecipe( new ItemStack( Items.CAKE ) , //
|
||||
"MMM" , //
|
||||
"SES" , //
|
||||
" F " , //
|
||||
'M' , Items.MILK_BUCKET , //
|
||||
'S' , Items.SUGAR , //
|
||||
'E' , Items.EGG , //
|
||||
'F' , this.FLOUR );
|
||||
|
||||
GameRegistry.addShapelessRecipe( new ItemStack( this.DOUGH ) , //
|
||||
this.FLOUR , Items.WATER_BUCKET , MmmMaterials.ITEM.ROCK_SALT );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -155,6 +155,7 @@ item.mmm.food.milk.horse.name=Horse milk
|
|||
item.mmm.food.milk.donkey.name=Donkey milk
|
||||
|
||||
item.mmm.food.ingredient.flour.name=Wheat Flour
|
||||
item.mmm.food.ingredient.dough.name=Dough
|
||||
|
||||
item.mmm.food.meal.sausage.raw.name=Raw Sausage
|
||||
item.mmm.food.meal.sausage.cooked.name=Sausage
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "mmm:items/food/ingredient/dough"
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 453 B |
Reference in a new issue