#(1.16.5 - x.x.x?) Custom "Gateways To Eternity" JSON Generator
25 messages · Page 1 of 1 (latest)
Paste version of message.txt from @twin parrot
More info:
The script will generate a .json for all 3 sizes: small, medium, large
As traditionally, the Large Gateways always have a special reward according to the original JSON's, you can set the reward per entity by defining the item + item amount via largeGateReward.
The script has to be loaded two times. Once for generating the JSONs. Second, for loading the JSONs.
@bold viper Is there a way for me to "simulate" this JSON without writing it at this filepath?
Using highpriority.datapack or something
I don't think something like that exists.
any1 tested if it works in 1.20.1 yet?
Have you tried?
In 1.20 u don't need to do it this way, but the intended way
https://gist.github.com/Shadows-of-Fire/a45a2742b7a0842c50738d3df3ce8148
https://github.com/Shadows-of-Fire/GatewaysToEternity/tree/1.19/src%2Fmain%2Fresources%2Fdata%2Fgateways%2Fgateways
Does addLang work for 1.16.5?
onEvent('client.generate_assets', event => {
event.addLang(`...`, '...')
//...
i don't know
Just updated the js by not needing to write the datapack into the folder physically, but programmatically
Paste version of generate_gateways_jsonV2.js from @twin parrot
I'm pretty I could also add a "special" gatewayType with more custom entities per wave
If this is being loaded the first time, press F3+T to load the assigned gateway names
Ok, nvm this is a bad idea, it doesnt load correctly
Paste version of generate_gateways_jsonV3.js from @twin parrot
This also only works if empty folders exist in:
kubejs/assets/custom_gateways/lang/
&
kubejs/data/gateways/gateways
This change overrides all previous existing gateways from minecraft to always drop 32x diamond instead of a nether star for a large gate reward. Plus adds missing leash_range modifier to small gates
Paste version of generate_gateways_jsonV4.js from @twin parrot