Why is placing a block spawning a ghost block

Started by Chasebear777 on

Topic category: Help with modding (Java Edition)

Last seen on 15:36, 30. May 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why is placing a block spawning a ghost block

i made the frogs like the ones in minecraft 1.19 and everything about them is finished but them laying eggs, i made it so it sets a nbt value then when it is in water it spawns the frog eggs and sets the nbt to false, but the blocks that spawn are like ghost blocks, they dont tick so they arent hatching and when you right click them they vanish, it was fine a few months ago but all of a sudden it just isn't working, does anyone have any solutions to fix it? this is the code for it : https://imgur.com/a/lQGVm5p

Last seen on 15:36, 30. May 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That worked but the egg…
Thu, 02/10/2022 - 20:12

That worked but the egg still isn't ticking 

Last seen on 17:15, 11. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait it's not a ghost block…
Thu, 02/10/2022 - 20:15

Wait it's not a ghost block now?

Last seen on 15:36, 30. May 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No it is still
Thu, 02/10/2022 - 20:16

No it is still

Last seen on 17:15, 11. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wdym it worked then? Anyway…
Thu, 02/10/2022 - 20:18

Wdym it worked then? Anyway ig you'll just have to use a global variable then.

Last seen on 15:36, 30. May 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well it worked because that…
Thu, 02/10/2022 - 20:20

Well it worked because that made the block place since it wasn't even placing at all before, but yeah i will have to use a global variable or something then