Topic category: Help with Minecraft modding (Java Edition)
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.
I am also using MCreator 1.9.0
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.