CustomThings icon indicating copy to clipboard operation
CustomThings copied to clipboard

refference

Open EverNife opened this issue 8 years ago • 20 comments

I am new to this mod, and i want to create a few itens, but i can't find any good exemple of each thing.

For exemple, i want to create a block and there is no explanation for where to put it's texture (at least i didn't find it )

So please, can you give me a functional ZIP file with an exemple of each thing?

(sorry for bad english '-' )

EverNife avatar Jul 05 '16 00:07 EverNife

Block icons go in /icons with everything else. I think the wiki is more than enough. If you find anything to be missing let me know.

tterrag1098 avatar Jul 05 '16 00:07 tterrag1098

Ok, i will, Keep this open a bit more please.

To start, the Custom ITEM exemple is broken.

It is reporting this crash.

Can you give me a funcional one?

(Sorry again, i don't know json language )

EverNife avatar Jul 05 '16 01:07 EverNife

Yes, it was incorrect. I have updated it now.

tterrag1098 avatar Jul 05 '16 05:07 tterrag1098

Lang tutorial is wrong too, need the "tile." before the expression.

In the wiki is:

item.itemname.name=My Item

it should be:

tile.customthings.itemname.name=My Item

EverNife avatar Jul 05 '16 14:07 EverNife

Else

Getting this crash while trying to make an amor.

This is the customArmors.json

EverNife avatar Jul 05 '16 15:07 EverNife

Can you tell me what have i done wrong in the customarmors.json?

EverNife avatar Jul 08 '16 02:07 EverNife

You have an extra comma on line 11

tterrag1098 avatar Jul 08 '16 02:07 tterrag1098

'-' facepalm '-' My bad.

I took liberty to edit your wiki Custom Armor and put some examples. I will need to keep this open to take more of my doubts out.

EverNife avatar Jul 08 '16 03:07 EverNife

Custom Items exemple is not working :/

Getting this error: PasteBin

EverNife avatar Jul 08 '16 03:07 EverNife

Help please ^^

(sorry for being so boring)

EverNife avatar Jul 15 '16 16:07 EverNife

Also getting the same crash when trying to create the example item

xpto2011 avatar Aug 17 '16 14:08 xpto2011

Life is hard with us all T.T

EverNife avatar Aug 22 '16 05:08 EverNife

Could you be more specific? What crash? What (exactly) is your json?

tterrag1098 avatar Aug 22 '16 06:08 tterrag1098

evernife commented on 8 Jul

Custom Item exemple is not working :/ Getting this error: PasteBin

EverNife avatar Aug 22 '16 19:08 EverNife

I get it working by only setting the name parameter.

The json I used before was exactly the one in the wiki and it crashed with this crashreport: http://pastebin.com/br0pkndL

xpto2011 avatar Aug 26 '16 17:08 xpto2011

Texture for tools no working well (or it is?)

The wiki tell us to just put the _NameOfTheItem.png_ in the icon's folder.

But in the case of tools, you need to put the type of the tool too.

For exemple, creating a sword named spectrum i need to put the name of the icon as spectrumSword.png Same for pickaxe, one called dilmae_is_more need a png called dilmae_is_morePickaxe

And for the case of multiples types seems to take ther first one.

Is this intentional?

EverNife avatar Oct 19 '16 22:10 EverNife

Yes that is the correct naming scheme for tools. I can add that to the wiki soon. What is the problem though?

tterrag1098 avatar Oct 19 '16 22:10 tterrag1098

Relative to refference issue;

Cause its a bit strange, my items are now called, for exemple sword_spectrum => sword_spectrumSword.png

Not a poblem at all ^^

EverNife avatar Oct 19 '16 23:10 EverNife

@tterrag1098 how can i set up block textureMap ?

I tried

   "textureMap" : [
    {"derp1"},
    {"derp1"},
    {"derp2"},
    {"derp2"},
    {"derp2"},
    {"derp2"}
  ]

But did not work T.T

DarkBlade177 avatar Oct 21 '16 21:10 DarkBlade177

This way worked for me, forget it:

    "textureMap": ["derp1","derp1","derp2","derp2","derp2","derp2"]

DarkBlade177 avatar Oct 21 '16 22:10 DarkBlade177