Started by
Acb
on
Topic category: Help with Minecraft modding (Java Edition)
So I made a dimension with a horizontal portal(using a custom block), and I was wondering how to have it spawn a player and exit portal in the nearest safe spot, because I keep spawning in walls and becoming stuck.
Select random X and Z and then start at say 200 and go down in a loop and check until you find enough air blocks to safely spawn.
nope
it gave me this error
also I can't seem to copy text from the console
correct image:
Reselect that procedure in your trigger
nope. still spawn in walls. also I'm using the when player enters dimension trigger.
Then your procedure is not set up properly. Use print block so see what your loops are doing.
already did that. here's my code:
it only prints one x and z before saying sucess
also this is happening
This is due to a smaller RAM amount in test client while the chunk gen is running. But your procedure is fine, would you mind sending me your workspace (eg. putting it on mediafire and linking to dl here). This might be a bug.
Sure!
https://drive.google.com/file/d/1TwKL-WcIiA3vt0acAB-alA-n4WdNm8Dc/view?…
btw, to get the portal block, do
Thanks, I will test it asap
I can confirm move entity to procedure blocks is not working as it should. It works a bit better in 1.14.4, but still not properly.
I will fix this in 2020.3.
Ok, but I can't use 1.12.2 in 2020.3, even if I copy the generator plugin file. I'm making a modpack based around it, and now I can't really support it. The code works just fine now(aside from the need to check if there is ground where you're spawning).