How do I put a mob in a block

Started by Rattiwrapper on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I put a mob in a block

I added jars to my mod, that can have bug entities in them, but the bugs suffocate inside, I tried changing the bounding box of the block, so it's the shape of a normal cube, but inside it's hollow, that didn't work so I tried making a hole at the bottom, but that didn't work either, also the size of the bugs is 0.3, 0.3.

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make it immune to…
Mon, 07/12/2021 - 01:16

make it immune to suffocation it should be in the entity properties > Is immune to

 

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Or change the block from…
Mon, 07/12/2021 - 02:26

Or change the block from being Solid, they won't suffocate in nonskid blocks like glass, fences, slabs, leaves, etc

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I change it to not…
Mon, 07/12/2021 - 08:32

How do I change it to not solid?

Also I tested it with another non solid block, one of my custom leaves, and it suffocated.

Try creating a block that…
Sat, 07/24/2021 - 12:17

Try creating a block that you can walk into and put a procedure that block the entity you want inside