Started by beleine on Thu, 09/09/2021 - 16:23
Topic category: Help with modding (Java Edition)
I want to create a black hole that sucks in an entity.
However, the calculation is too difficult and I am in trouble.
Please tell me how to make it and the procedure.
I have a procedure for this, if you would like it.
First, make a custom entity called "BlackHole" or something and make a model of a black cube, changeable to your satisfaction. Give it no AI and no natural generation, make it an undefined mob type and no collision box. Then, you can apply the procedure i have to it in order to make it suck entities in, however - I am clueless about blocks, so I apologize.
I want to inhale only the entity
It would be nice
Is this procedure still available? I now have a similar problem, which also has to do with a black hole. Since I have no real idea of the matter, and you have something already ready, I wanted to ask if you can link them here.
Make the vortex a block model
Then use procedure on tick update and make sure to set tick to 1 or 5 depending on how you want for your block to tick.
Apply for each entity iterator and make iterator = what you want (if necessary also add only nearest one)
Once iterator at (give a range) x+3 - x+10 what you need set iterator to x y z location then wait 20 ticks and despawn iterator
That's perfectly working