How do I put a mob in a block

Started by Axolotlzzz on

Topic category: Help with modding (Java Edition)

Last seen on 15:38, 4. Nov 2023
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.

Last seen on 21:57, 28. Nov 2021
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

 

Last seen on 02:40, 4. Jan 2022
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

Last seen on 15:38, 4. Nov 2023
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.

Last seen on 13:14, 23. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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