Dragon Mounts: Legacy

Dragon Mounts: Legacy

23M Downloads

Ender Dragon Egg causes Crash to Desktop upon picking it back up

BriarGarden opened this issue · 3 comments

commented

Logs:

Crash Logs: https://mclo.gs/x2c5JyB
Ram usage: 8gb
Ram Total: 32gb

Steps to reproduce:

  1. Place down end dragon egg with '600 seconds to hatch' description
  2. See it say 'Error'
    3, Decide to try and pick it up with intent to try and reset it by re-placing it down
  3. Mine it up like a normal dragon egg (dig out block under the egg and put a torch down method)
  4. 'Enjoy' crashing

Bonus points; it fell in my first item slot rendering the character inoperable without a wipe.

Description of issue:

Considering the simplicity of the issue the steps to reproduce answer everything. I put a dragon egg down, it said it was an error in the description. I tried to pick it up the way you do with the normal dragon egg. It immediately hits you with a crash to desktop upon hovering over the item in inventory, holding the item in hand, and trying to stack swap it to move it to another inventory.

commented

This happens with every kind of egg including custom ones. I broke an egg to check its progress, then placed it back down and had the same "<ERROR>" text appear when using Jade. Breaking it with left click will cause it not to drop like it did before. And as described above, breaking it by any other means crashes the game. Apparently it's an issue with the name not having a value..? (that would check out since the game crashed right after I hovered over to hold it and put it back down)

[10ápr.2025 21:56:38.418] [Render thread/WARN] [net.minecraftforge.common.ForgeHooks/]: Picking on: [ENTITY] dragonmounts:dragon_egg gave null item [10ápr.2025 21:59:48.918] [Render thread/ERROR] [net.minecraftforge.client.gui.ForgeIngameGui/]: Error rendering overlay 'Item Name' java.lang.NullPointerException: null

Another thing to note is that it had the fire egg texture/model despite being a different kind of egg

commented

Did you manage to solve your problem? I had the same thing happen and my game simply stopped working, I was the server host, I can't leave my friends in the lurch like that :(

commented

@deltarice I used an NBT editor to delete the item (dragonmounts:dragon_egg) from my inventory. You'll need to know where the player inventory is stored (in singleplayer it's in the level.dat file under your UUID, although you might have to tamper with the playerdata folder in multiplayer, I'm not sure because I haven't tried it there yet)
If you want the non-glitchy version of the egg back, you can use /give dragonmounts:dragon_egg{ItemName:"any name here",BlockEntityTag:{HatchTime: 12000, Breed:"breed name with namespace, like: dragonmounts:fire or dragonmounts:water"}} 1

To avoid this entirely, you should use jade to hover over dragon eggs, check which ones are called <ERROR> and avoid doing the whole falling block method on them (you can still hatch them and break them with left click in creative, just don't let them fall on a torch/pressure plate/etc). Also don't middle click the error eggs in creative either, that seems to trigger it too