Apple pie!

This commit is contained in:
Emmanuel BENOîT 2016-07-22 08:31:13 +02:00
parent b4f69fc045
commit e4ccf0a1a2
6 changed files with 30 additions and 2 deletions

View file

@ -18,7 +18,6 @@ food ??? Milk processing
Butter
Cheesemaking
food No Extra recipes
Apple pie
Ratatouille
Pasta w/tomato
Beef stew

BIN
graphics/pie.xcf Normal file

Binary file not shown.

View file

@ -3,28 +3,49 @@ package mmm.food;
import mmm.MmmFood;
import mmm.MmmPlants;
import mmm.core.CRegistry;
import mmm.core.api.I_RecipeRegistrar;
import net.minecraft.init.Items;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.registry.GameRegistry;
public class FMeals
implements I_RecipeRegistrar
{
public final FSausage SAUSAGE;
public final FCookableMeal PASTA;
public final FMealInBowl TOMATO_SOUP;
public final FMealInBowl GLOWING_SOUP;
public final ItemFood APPLE_PIE;
public FMeals( )
{
CRegistry.addRegistrar( this );
this.SAUSAGE = new FSausage( );
this.PASTA = new FCookableMeal( "pasta" , 2 , 0.7f , 0.5f , false , 1 , //
Items.EGG , MmmFood.INGREDIENT.FLOUR );
this.TOMATO_SOUP = new FMealInBowl( "tomato_soup" , 8 , 1.1f , //
"TTT" , " B " , 'T' , MmmPlants.TOMATO.FRUIT );
this.GLOWING_SOUP = new FGlowingSoup( );
this.APPLE_PIE = FHelpers.makeBasicMeal( 8 , 0.5f , false , "pie" , "apple" );
}
@Override
public void registerRecipes( )
{
GameRegistry.addShapelessRecipe( new ItemStack( this.APPLE_PIE ) , //
MmmFood.INGREDIENT.DOUGH , Items.SUGAR , Items.APPLE );
}
}

View file

@ -167,6 +167,8 @@ item.mmm.food.meal.pasta.cooked.name=Pasta
item.mmm.food.meal.tomato_soup.name=Tomato Soup
item.mmm.food.meal.glowing_soup.name=Glowing Soup
item.mmm.food.meal.pie.apple.name=Apple Pie
tile.mmm.deco.smoothstone.limestone.name=Polished Limestone
tile.mmm.deco.smoothstone.basalt.name=Polished Basalt

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "mmm:items/food/meal/pie/apple"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B