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

Started by kayleb10 on

Topic category: Troubleshooting, bugs, and solutions

Active 1 year ago
Joined Mar 2020
Points:
766

User statistics:

  • Modifications: 2
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 140
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
Active 1 year ago
Joined Mar 2022
Points:
480

User statistics:

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

Active 1 year ago
Joined Mar 2020
Points:
766

User statistics:

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

Thanks!