Topic category: Help with Minecraft modding (Java Edition)
I know how to use Blockbench and Mcreator well enough, I'm just not sure if I would use a Block or some other Entity.
I will be making a launching device block with a launch gui where the player can type in the coordinates they want, and the missile will spawn way up in the sky and come flying down and explode on impact.
I haven't made living entities simply because they are annoying to me but ill do anything, I don't know how I could use a block because how would I make it fly up and down from the sky.
I will make multiple models one for going up and another for going down and ill animate them with Geckolib, but I'm not sure how I would make the procedures for explosion on impact and what type of entity model would I use to make the missile so it can move where I set the coordinates. thanks.
I'd make a custom entity for the missile that points downwards and program it to spawn at the X and Z and Y coords inputted into the launching block using variables and such the program it to move down on the Y axis till it collides with a block triggering it to despawn and spawn an explosion.
funny you should say I spent 5 hours last night doing that however I created a missile block and I'm trying to replace it with a custom missile launched entity but I cant seem to figure out how to trigger it from a gui of another block. the system I want is a bit complex. I am making missile launch control block to type xyz coords and replace the missile block with missile launched entity then make the entity fly hundreds of blocks up in the sky and despawn then spawn a impact entity hundreds of clocks above the xyz coordinates, I know how to make the explosion on impact I basically have the entity impact done but the launch system is what I'm am trying to tie together. I already made the xyz coordinates and launch button for the launch gui that opens when you right click the missile control block however I just cant seem to figure out how to replace the missile block with the missile launched entity then make that entity fly up in the sky. this works when I launch the missile from the missile block itself but i want to make it launch from a control system block.
I solved this issue, if anyone wants to know how ill help as best I can.
I'm making the same thing, and I wonder how you did it.
I don't know how to use the text field procedure...
GUI img : https://imgur.com/a/50PYMCU
procedure : https://imgur.com/a/NRgSwMA
Whatever coordinates you enter, it explodes in place.
I also figured out a way.
completed scene
https://imgur.com/dCx3jWt
Procedure
https://imgur.com/SMt44C1