Started by
pylonuclear
on
Topic category: Help with MCreator software
I want to make a block like soul sand, which means I need it to be the base for a bubble elevator. I had and idea to make this happen. an if statement checks if the block above my custom block is still water or a bubble water block thing. if this is true, it changes the block for a water bubble block, and repeats this process for the second block, the third block, and so on. However, this proccess would need to be repeated a whopping 254 times, and my computer simply can't handle that. It crashes when I get somewhere around 100. So I was wondering if there is an alternative to my idea.
Do you think you can give us an example of how this would work in game, just with a little more description please (on how your elevator and "bubble block" works)?
Basically it checks if the block above it is a water source or a bubble water thing, and if it is true, it does the same thing to the one above it, and the one above that, and so on. So I would have to repeat that for every possible block that could be above it, which means it needs to be repeated 255 times
I can send a diagram if you want
It wouldn't be repeated 255 times unless EVERY block was water above it. And not every block would be water as water doesn't run that deep (unless it's for something custom). Also, just simply checking a block like that shouldn't be so resource-intensive. Please provide a screenshot of the procedure you're currently running so I can better understand what you're doing.
If someone makes a bubble elevator at bedrock level with the block all the way to build height, yeah, it’s possible
Sure, it's possible if someone does create that (so you can future-proof it by setting it up to work correctly now), but it also is a little on the rarer end. I still need a screenshot of the procedures you're using as well as how your bubble elevator works. As in, what does the block do? Does the player float in it? Does it force them to zoom upwards? Etc...
https://imgur.com/a/7ZF3INg
heres the procedure
It makes them zoom upwards. It's the default block in the soul sand elevator.
You could have used a loop so you wouldn't have to type 255 numbers.
Hey, thank you so much for the idea! I only have the problem that my bubble column de- and respawns all the time, making me hear the sound on repeat and actually still able to swim up. Do you have any ideas how to solve that?