Spawn Egg Recipe Bug

Started by GenjjaX on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Spawn Egg Recipe Bug

Anyone who has tried to make a craftable spawn egg mod and has beginner experience with MCreator might run into this problem.

When you make a crafting recipe for a spawn egg, it look like the crafting recipe would come out in the game like this;

 

https://drive.google.com/file/d/1X6kGt_BWKR6beGUkNbOCSCZlTNyBpuIz/view?…

   

However, when I play on MineCraft to test the mod, this shows up;

 

https://drive.google.com/file/d/1ShfegdJtw-PN4-PaUuDGvF9wlWbUcKU8/view?…

 

This happens because the spawn eggs are all the same items with just different NBT values making the spawn egg recipe a blank white spawn egg.

However, even though I know what is wrong here, I dont know how to fix this problem, if anyone would be kind enough to give me a Step By Step way to fix this problem, it would be greatly appreciated.

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am also using MCreator 1.9…
Fri, 08/09/2019 - 22:10

I am also using MCreator 1.9.0

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't have a step by step…
Wed, 11/13/2019 - 16:23

I don't have a step by step tutorial right now but I very quickly thought maybe you could make a custom item with the same texture as the spawn egg of the mob you're trying to spawn. then add a procedure to spawn the mob and get rid of the item if the player is in survival and right-clicks on the ground. then you could detect if the player is in creative if not don't get rid of the egg. and if you also want you can put the egg in no creative menu which will make it not found in the creative inventory.