Fixed item paths for meals

This commit is contained in:
Emmanuel BENOîT 2016-07-21 09:29:27 +02:00
parent c66b585be8
commit 170992ecba
6 changed files with 7 additions and 7 deletions

View file

@ -29,11 +29,11 @@ public class FCookableMeal
if ( dangerous ) {
this.RAW.setPotionEffect( new PotionEffect( MobEffects.HUNGER , 600 , 0 ) , .3f );
}
CRegistry.setIdentifiers( this.RAW , "food" , "meals" , name , "raw" );
CRegistry.setIdentifiers( this.RAW , "food" , "meal" , name , "raw" );
CRegistry.addItem( this.RAW );
this.COOKED = new ItemFood( amount , saturation , wolfLikes );
CRegistry.setIdentifiers( this.COOKED , "food" , "meals" , name , "cooked" );
CRegistry.setIdentifiers( this.COOKED , "food" , "meal" , name , "cooked" );
CRegistry.addItem( this.COOKED );
this.quantity = quantity;
@ -54,7 +54,7 @@ public class FCookableMeal
this.recipe = null;
}
GameRegistry.addSmelting( this.RAW , new ItemStack( this.COOKED ) , 0.35f );
GameRegistry.addSmelting( this.RAW , new ItemStack( this.COOKED ) , 0.15f );
}
}

View file

@ -144,8 +144,8 @@ item.mmm.food.milk.pig.name=Pig milk
item.mmm.food.milk.horse.name=Horse milk
item.mmm.food.milk.donkey.name=Donkey milk
item.mmm.food.meals.sausage.raw.name=Raw Sausage
item.mmm.food.meals.sausage.cooked.name=Sausage
item.mmm.food.meal.sausage.raw.name=Raw Sausage
item.mmm.food.meal.sausage.cooked.name=Sausage
tile.mmm.deco.smoothstone.limestone.name=Polished Limestone

View file

@ -1,6 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "mmm:items/food/meals/sausage/cooked"
"layer0": "mmm:items/food/meal/sausage/cooked"
}
}

View file

@ -1,6 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "mmm:items/food/meals/sausage/raw"
"layer0": "mmm:items/food/meal/sausage/raw"
}
}

View file

Before

Width:  |  Height:  |  Size: 149 B

After

Width:  |  Height:  |  Size: 149 B