Topic category: Minecraft mod ideas exchange
The general idea of my mod was the ability to fly when within distance of the player spawn point (bed) so that your "base" can be defined that way and flying function is available to make things easier to build. Outside of this range, standard survival mode rules apply.
I found the post about pulling SpawnX etc from NBT tags but testing (and some subsequent posts) confirmed that it always pulls 0. There is no way to get the player spawn point in MCreator, This would have worked fine if I can read that number some other way.
So it has me thinking of what would be the next practical plan B?
1) A new block that functions as a "base block" and then use custom NBT tags in a similar way?
2) Is there a way to check distance to a block type, say a placed solid diamond block or something that wouldnt be found in the wild?
3) Turn it off a set distance away from where its turned on?
Also I wanted to add, I found the procedure to SET the player spawn. I just cannot GET the player spawn.
Have you tried using variables?
Is there a way to get the player spawn point into a variable?