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

Hi. Immediately say, use the translator, there are errors, sorry).

The problem is that the texture does not work, instead of the subject black and pink square in the center of the screen with the inscription (modid:item_name#inventory), the screenshot is attached below.

The IDE created the main class, the subject class, two classes of registrations (subject and model), a file with links to objects (init, something like names for quick access. The resources have a json file model and the texture of the object.

As said above, the texture is not displayed. If need to'll text code screenshots/git-repository code.
Thanks in advance for your help

javaw 2019-01-07 19-42-34-639.png

bandicam 2019-01-07 19-56-12-721.png

  • Author
1 hour ago, Siqhter said:

Post your json or a github link.

{
    "parent": "item/generated",
    "textures": {
        "layer0": "tutorialmod:items/bluestone_dust_item"
    }
}

bluestone_dust_item: 16×16 pixels...

Ok, it looks like you're directing it to the correct texture, so you might have registered it with a different name or you're directing the json to the wrong path. Either way we would need to see more code.

1 hour ago, Dr_Coungrations said:

{
    "parent": "item/generated",
    "textures": {
        "layer0": "tutorialmod:items/bluestone_dust_item"
    }
}

bluestone_dust_item: 16×16 pixels...

Just to make sure your modid is "tutorialmod" and not "ms" as even the game says right?

Okay so yeah I realised that over my sarcasm it is indeed has the modid:"ms"
Maybe change the.json 

"layer0": "tutorialmod:items/bluestone_dust_item"

To


"layer0": "ms:items/bluestone_dust_item"
4 minutes ago, Eiachh said:

Okay so yeah I realised that over my sarcasm it is indeed has the modid:"ms"

I don't know why I assumed that his modid was "tutorialmod". That would make sense that that would be the issue.

  • Author
10 hours ago, Eiachh said:

Хорошо, так что да, я понял, что из-за моего сарказма он действительно имеет модид: "ms"
Может быть, изменить the.json 


 




 

 

9 hours ago, Siqhter said:

Я не знаю, почему я предположил, что его модид был "tutorialmod". Это имело бы смысл, что это будет проблемой.

 

9 hours ago, diesieben07 said:

Ваш идентификатор мода не должен быть ни ms, ни tutorialmod. Ваш идентификатор мода должен быть уникальным и не может быть изменен.

This is my Error. MODID=ms

 

No texture on displayed...

  • Author
13 hours ago, Siqhter said:

Ok, it looks like you're directing it to the correct texture, so you might have registered it with a different name or you're directing the json to the wrong path. Either way we would need to see more code.

 

11 hours ago, Eiachh said:

Okay so yeah I realised that over my sarcasm it is indeed has the modid:"ms"
Maybe change the.json 


"layer0": "tutorialmod:items/bluestone_dust_item"

To



"layer0": "ms:items/bluestone_dust_item"

 

11 hours ago, diesieben07 said:

Your mod ID should neither be "ms" nor "tutorialmod". Your mod ID must be unique and it cannot change.

This is my Git reposit - https://github.com/Dr-Coungrations/MultiStone

  • Author
21 hours ago, diesieben07 said:

Again: Do not use ms as a mod ID! "ms" is not unique. It can stand for "MultiStone" (like it does for you), but it could also be "MagicStuff" or anything else.

Collisions are not allowed! Use "multistone".

Ok

 

Edited by Dr_Coungrations
I don't create a message on English

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.