How to make a ghost block

Started by EthanIslandGamer on

Topic category: Help with modding (Java Edition)

Last seen on 00:53, 10. Oct 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a ghost block

So I am wanting to make a block that I am going to call a Phantom Block. I want you to be able to walk through it and when you place it down it will look like the block it is next to. This is the part that I am having trouble with. I tried to make it so that when you right click the phantom block with a normal block, like a grass block for example, it will turn into a grass block. The procedure I had originally didn't work because it was " too large for try statement " :

 

https://imgur.com/a/WvWBXdB 

 

This is the procedure that I used. Its very long and it is the same thing for every block all the way down:

 

https://imgur.com/a/1ncynrN 

 

I am using 1.19.2 and MCreator 2023.1

 

I understand that someone had a similar post to me but that didnt help at all.

Last seen on 00:53, 10. Oct 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also put the procedure…
Sun, 04/30/2023 - 19:10

I also put the procedure under "block on right click"

Last seen on 21:09, 9. Jun 2023
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can i get the procedure pls
Fri, 06/09/2023 - 21:10

Can i get the procedure pls