How do I make a mob-only forcefield?

Started by FinchyMcFinch on Thu, 05/21/2020 - 00:28

Topic category: Help with modding (Java Edition)

Last seen on 05:16, 19. Jan 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make a mob-only forcefield?
Thu, 05/21/2020 - 00:28

I'm trying to make a Slime Rancher mod, and part of that is forcefields. These forcefields need to be able to stop mobs from walking through them, but allow players to walk through just fine. Is there any way I can do this? Thanks.