Question: How to begin a script for adding an item?
sipes42 opened this issue ยท 4 comments
I have this bit of code based on a bit that I saw elsewhere:
//Items
mods.content.Item.registerItem("Inferior Carrot", "inferiorCarrot", "inferiorCarrot", "misc", 50, 1, "sword", 2, true, []);
The main issue is that I know there is supposed to be something at the top similiar to this:
import mods.contenttweaker.VanillaFactory;
import mods.contenttweaker.Block;
But I don't know what should be there for adding an item rather than a block... Also, I can't even tell if what I've done so far is correct, and the logs give ZERO info about it, other than it started to load the file.
Any help you can offer would be greatly appreciated
Ah. Alright, that would explain much... I can't seem to find documentation anywhere, do you happen to have any links?