#issues making a custom item

7 messages · Page 1 of 1 (latest)

sour locust
#

i tried to copy the code from the wiki to make a custom item for my pack, but it keeps giving this error. [23:31:01] [ERR ] Error occurred while handling event 'item.registry': Wrapped java.lang.NullPointerException: Cannot invoke "dev.latvian.mods.rhino.SharedContextData.getExtraProperty(String)" because "cx.sharedContextData" is null (startup_scripts:script.js#6)

included is a screenshot of my code

granite geodeBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

somber basin
#

IDs (ie ResourceLocations) can only be lowercase

sour locust
#

so what do i need to change?

somber basin
#

well.... 'Slayer_T1' is the ID.... sooooooo

sour locust
#

sorry, im not used to this stuff

#

why cant ids include capital letters out of curiosity?