How do I put a mob in a block

Started by Axolotlzzz on Sun, 07/11/2021 - 11:39

Topic category: Help with modding (Java Edition)

Last seen on 18:48, 18. Sep 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I put a mob in a block
Sun, 07/11/2021 - 11:39

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 01:31, 17. Sep 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:01, 27. Aug 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 18:48, 18. Sep 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 06:49, 19. Sep 2021
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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