[SKIPPED] how to make mobs without spawn egg

Started by MattiDragon835 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SKIPPED] how to make mobs without spawn egg
Sat, 07/14/2018 - 14:05 (edited)

I need to make a storage box. Is there any way to remove the spawn egg.

 

Edited by MattiDragon835 on Sat, 07/14/2018 - 14:05
You want a storage box as an…
Sun, 07/08/2018 - 17:05

You want a storage box as an entity? You can just make a block and give it an inventory, so why do you want to make it a mob? (Spawn Eggs are only used for mobs.)

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can add a procedure…
Tue, 07/10/2018 - 17:29

you can add a procedure where when you right click it opens a gui with inventory

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I now but two things first I…
Sat, 07/14/2018 - 14:02

I now but two things first I don't make the mod and a entity is easer to textuere

Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made a test mob it…
Sat, 07/21/2018 - 21:22

I made a test mob it MCreator to see where in the code the mob egg is located. Here are the results:

Although I can't seem to find how to remove the spawn egg from the game, I can make it not work.

At line ~82 of the mob's code, under public void preInit replace "instance, 64, 1," with "instance, 0, 1"

https://imgur.com/a/jUJr23h <--- Image