Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello . I created a mod and a shaped recipe and a shapeless recipe .

this is my shaped recipe :

{ 
  "type": "minecraft:crafting_shaped",
  "pattern": [
    "BA",
    " A"  ],
  "key": {
    "A": [
      {
        "item": "harvestcraft:sweetpotatoitem",
        "data": 0
      }
    ] ,
    "B": [
      {
        "item": "galacticraftcore:canister",
        "data": 0
      }
    ]
  },
  "result": {
    "item": "harvestcans:food_can_sweet_potato",
    "data": 0 ,
    "count": 1
  }
}

and this is my shapeless recipe :

{
  "result": {
    "item": "minecraft:sand",
    "data": 0
  },
  "ingredients": [
    {
      "item": "galacticraftcore:canister",
      "data": 0
    },
    {
      "item": "minecraft:sand"
    },
    {
      "item": "minecraft:apple"
    }
  ],
  "type": "minecraft:crafting_shapeless"
}

My problem is my shaped recipe is working but my shapeless recipe is not working  . please help me

my modID is harvestcans and I put the jsons in this folder

image.thumb.png.988b0630e6f64126d68cd5333a644491.png

 

Edited by samanDJw

  • Author

I have programmed Java and I learned the basics . I found the Log . it say's :

image.thumb.png.8f7de0447299a63a2e5d379b6b793dfd.png

I did not know that the logs are written in this file. I understood when you said. Now I understand where the problem is. Thank you

Edited by samanDJw

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.