Why Does My Custom Plant Does Not Give Effects To Mobs While Inside?

Started by kayleb10 on

Topic category: Troubleshooting, bugs, and solutions

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why Does My Custom Plant Does Not Give Effects To Mobs While Inside?
Thu, 05/19/2022 - 20:17 (edited)

I was making a hunter mod that adds hunters to hunt you down, but i added bushes to make them hide but for some reason it does not give the effect to the entity. Causualy bad for me. can someone help me?  (still if i put effect procedure)

 

Edited by kayleb10 on Thu, 05/19/2022 - 20:17
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try doing on block tick: …
Sun, 05/29/2022 - 00:27

Try doing on block tick:

For each entity in box of size (how big your block is) do:
      Add potion to (entity iterator) invisibility

yea somethin like that

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks! 
Wed, 06/01/2022 - 16:06

Thanks!