Jump to content

No texture is displayed.


Dr_Coungrations

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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