How do I put a mob in a block

Started by Rattiwrapper on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 months ago
Joined Dec 2020
Points:
703

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 142
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.

Active 3 years ago
Joined Jun 2021
Points:
545

User statistics:

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

 

Active 3 years ago
Joined Jun 2021
Points:
569

User statistics:

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

Active 2 months ago
Joined Dec 2020
Points:
703

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 142
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.

Active 3 days ago
Joined Sep 2020
Points:
1191

User statistics:

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