#Item Modification by Forge tags

13 messages · Page 1 of 1 (latest)

wary hazel
#

I'm trying to set a stack size limit on all "raw ores" (forge:raw_materials) and a separate limit on all "stone" (I forget the exact forge category at the moment). Basically it's a simple way to have a sort of "weight limit" to incentivize mining with carts and other transports.

Is this possible? Just doing an event.modify on forge:raw_materials did not work, but individually listing minecraft:raw_iron, minecraft:raw_gold, etc worked fine.

Thank you!

haughty irisBOT
#

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

quartz drift
#

Did you make sure to specify it as a tag?

wary hazel
#

Specify forge:raw_materials as a tag, you mean? It seems like it already was, I didn't set any custom tags if that's what you're asking.

quartz drift
#

can you send a copy of the file you're using for it?

wary hazel
#

The .js script file that I put in /startup_scripts/ ?

quartz drift
#

yeah

wary hazel
#

Will do later tonight, I'm on mobile.

quartz drift
#

ah alright, u can dm it to me if you'd like, my dms are open

wary hazel
#

Thanks!

quartz drift
#

You're Quite Welcome! 🙂

stark bay
#

item modification by tag is not possible as tags load after item modification tis done

wary hazel
#

Ah well, that makes sense then. Thanks!