Skip to content

Commit

Permalink
Merge pull request AechtRob#2 from nqwebasaurus/master
Browse files Browse the repository at this point in the history
Skewer
  • Loading branch information
AechtRob authored Jan 25, 2023
2 parents 71e36df + 1f050a0 commit 6776a41
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/net/prehistoricdiner/RegistrationHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ public RegistrationHandler() {
@SubscribeEvent
public static void registerItems(RegistryEvent.Register<Item> event) {
Item[] items = new Item[]{
((Item)(new ItemFood(2, 2F, false)).setRegistryName("prehistoricdiner", "food_item")).setTranslationKey("prehistoricdiner.food_item").setCreativeTab(PrehistoricDiner.CREATIVE_TAB),
((Item)(new ItemFood(2, 1F, false)).setRegistryName("prehistoricdiner", "food_item")).setTranslationKey("prehistoricdiner.food_item").setCreativeTab(PrehistoricDiner.CREATIVE_TAB),
((Item)(new ItemFood(3, 1F, false)).setRegistryName("prehistoricdiner", "grilled_fish_skewer")).setTranslationKey("prehistoricdiner.grilled_fish_skewer").setCreativeTab(PrehistoricDiner.CREATIVE_TAB),


((Item)(new ItemDamageableCrafted()).setRegistryName("prehistoricdiner", "skillet")).setTranslationKey("prehistoricdiner.skillet").setCreativeTab(PrehistoricDiner.CREATIVE_TAB),
((Item)(new ItemDamageableCrafted()).setRegistryName("prehistoricdiner", "pot")).setTranslationKey("prehistoricdiner.pot").setCreativeTab(PrehistoricDiner.CREATIVE_TAB),
((Item)(new ItemDamageableCrafted()).setRegistryName("prehistoricdiner", "knife")).setTranslationKey("prehistoricdiner.knife").setCreativeTab(PrehistoricDiner.CREATIVE_TAB),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public ModelRegistrationHandler() {
@SubscribeEvent
public static void registerModels(ModelRegistryEvent event) {
registerModel(ModItems.food_item, 0);
registerModel(ModItems.grilled_fish_skewer, 0);
registerModel(ModItems.skillet, 0);
registerModel(ModItems.pot, 0);
registerModel(ModItems.grinder, 0);
Expand Down
1 change: 1 addition & 0 deletions src/main/java/net/prehistoricdiner/init/ModItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@ObjectHolder("prehistoricdiner")
public class ModItems {
public static final Item food_item = null;
public static final Item grilled_fish_skewer = null;
public static final Item skillet = null;
public static final Item pot = null;
public static final Item grinder = null;
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/assets/prehistoricdiner/lang/en_us.lang
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
itemGroup.prehistoricdiner=The Prehistoric Diner

item.prehistoricdiner.food_item.name=Food decription here
item.prehistoricdiner.grilled_fish_skewer.name=Grilled Fish Skewer

item.prehistoricdiner.ladle.name=Ladle
item.prehistoricdiner.knife.name=Kitchen Knife
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{"parent": "item/generated", "textures": {"layer0": "prehistoricdiner:items/grilled_fish_skewer"}}

w

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"group": "prehistoricdiner",
"type": "minecraft:crafting_shaped",
"pattern": [
" 1 ",
" 4 ",
" 7 "
],
"key": {
"1": {
"type": "forge:ore_dict",
"ore": "listAllfishraw"

},
"4": {
"item": "lepidodendron:red_leafy_algae"
},
"7": {
"type": "forge:ore_dict",
"ore": "stickWood"
}
},
"result": {
"item": "prehistoricdiner:grilled_fish_skewer",
"count": 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6776a41

Please sign in to comment.