diff --git a/src/java/mmm/deco/doors/DDoor.java b/src/java/mmm/deco/doors/DDoor.java index 3873e8b..ce4a3da 100644 --- a/src/java/mmm/deco/doors/DDoor.java +++ b/src/java/mmm/deco/doors/DDoor.java @@ -2,8 +2,11 @@ package mmm.deco.doors; import mmm.core.CRegistry; +import mmm.core.api.I_RecipeRegistrar; import mmm.materials.MWood; import net.minecraft.item.ItemDoor; +import net.minecraft.item.ItemStack; +import net.minecraftforge.fml.common.registry.GameRegistry; @@ -20,6 +23,13 @@ public class DDoor this.ITEM = new ItemDoor( this.BLOCK ); CRegistry.setIdentifiers( this.ITEM , "deco" , "door" , wood.getSuffix( ) ); CRegistry.addBlock( this.BLOCK , this.ITEM ); + CRegistry.addRecipeRegistrar( (I_RecipeRegistrar) ( ) -> { + GameRegistry.addShapedRecipe( new ItemStack( DDoor.this.ITEM , 3 ) , // + "WW" , // + "WW" , // + "WW" , // + 'W' , wood.getPlanksBlock( ) ); + } ); } } diff --git a/src/resources/assets/mmm/lang/en_US.lang b/src/resources/assets/mmm/lang/en_US.lang index 5bbee92..52bd4b7 100644 --- a/src/resources/assets/mmm/lang/en_US.lang +++ b/src/resources/assets/mmm/lang/en_US.lang @@ -150,8 +150,8 @@ tile.mmm.deco.fence.gate.hevea.name=Hevea Fence Gate tile.mmm.deco.fence.bamboo.name=Bamboo Fence tile.mmm.deco.fence.gate.bamboo.name=Bamboo Fence Gate -tile.mmm.deco.door.hevea.name=Hevea Door -tile.mmm.deco.door.bamboo.name=Bamboo Door +item.mmm.deco.door.hevea.name=Hevea Door +item.mmm.deco.door.bamboo.name=Bamboo Door tile.mmm.deco.table.oak.name=Oak Table tile.mmm.deco.table.birch.name=Birch Table