jhuckaby / magic-sorting-system

A data pack for Minecraft 1.13, 1.14 and 1.15 (Java) for automatically sorting every item in the game.
39 stars 15 forks source link

Unable to send further than 128 blocks #31

Closed camarokris closed 3 years ago

camarokris commented 3 years ago

Per instruction I have increased the "max_teleport_distance" in the config.json to more than 128 (tested 1000, 500, 250) and have the receiving chests at the world spawn point, however this did not work.

Looking at the mcfunction files in data/mss/functions this may be due to the range being hardcoded 0..128

Not sure if that is the reason as I have not personally done any coding for MC but its the only other reference to 128 in the form of distance that I have found in the files. Is there a way to replace the 0..128 with a 0..{variable} so it grabs the "max_teleport_distance" from the config?

jhuckaby commented 3 years ago

If you make any changes to the config file, you need to "recompile" all the functions. Instructions here:

https://github.com/jhuckaby/magic-sorting-system#compiling