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:12, 11. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know exactly but it…
Thu, 02/10/2022 - 19:08

I don't know exactly but it could be something to do with this warning..

sdfvsfdg

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well it works to place the…
Thu, 02/10/2022 - 19:32

Well it works to place the block the block just doesn't tick and when you right click it vanishes

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And if it doesn't tick that…
Thu, 02/10/2022 - 19:32

And if it doesn't tick that means the block won't hatch into any tadpoles

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah that's what a ghost…
Thu, 02/10/2022 - 19:33

Yeah that's what a ghost block is, it's not actually there, if you relog it'll also vanish. That is caused by a desync between the client and server.

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I guess i'll just try to…
Thu, 02/10/2022 - 19:35

I guess i'll just try to make it just place the block if theres water but the thing is if someone breeds the mob when its not in water then no frog egg will appear thats why i did the nbt so it would check if it was true then place it if the entity is in water

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you try surrounding the…
Thu, 02/10/2022 - 19:41

afedssefgrgrCan you try surrounding the place egg at x: ... block with this?

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok ill try it now to see if…
Thu, 02/10/2022 - 19:44

Ok ill try it now to see if it works

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok now they aren't even…
Thu, 02/10/2022 - 19:52

Ok now they aren't even placing anything and its not making a sound of the egg laying even though thats part is outside of that block

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it still setting the…
Thu, 02/10/2022 - 19:54

Is it still setting the isPregnant to false?

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not sure im gonna do a…
Thu, 02/10/2022 - 19:55

I'm not sure im gonna do a print block to see if it is activating that part of the procedure

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok that time it did the…
Thu, 02/10/2022 - 19:59

Ok that time it did the print and the sound but it didn't place the frog egg

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Does it not place it at all?…
Thu, 02/10/2022 - 20:01

Does it not place it at all? What if you relog?

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I left the world and went…
Thu, 02/10/2022 - 20:03

I left the world and went back in but it's still not there

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok can you try using this…
Thu, 02/10/2022 - 20:05

Ok can you try using this block instead?dgsfradfgb