-
Notifications
You must be signed in to change notification settings - Fork 0
Item Formatting
When creating a custom-modded item, you simply need a json in any folder in your mod, Regardless of names. These are the following values REQUIRED in a item:
"internal name"
The internal name of your item and is used for referencing your item elsewhere in your mod
"display name"
The display name your item uses in ui
"bulletdata"
Refer to bulletdata, BUT you cant mention the item's name, so simply having
"bulletdata": { "damage":13 }in your json works.
"recipedata"
Refer to recipedata, BUT you cant mention the item's name, so simply having
"recipedata": { "def:furnace" : "exampleitem"}in your json works. Remember to have identifiers for items that arent from your mod (e.g: def for base game items)
Inside your item json, you can also affect other item's datas too. Inside your recipedata/bulletdata, you put the item your overwritings name (e.g def:iron for base iron). Then, you simply add the values you want to change.
Heres an example for recipedata overwriting "def:iron":{ "compressor":"compressediron", "def:furnace":"def:bronze" }
For the visuals of your item, you need a image with the same internalname as your item. The file can be in any folder in your mod as long as it's in at least one folder. Read more at proper spriting