How do I make a fluid poisonous to touch?

Started by MaxiMusMega on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a fluid poisonous to touch?

I wanted to make a fluid block, that gives you the poison effect if you swim in it. But I can't find the right variables to make the fitting procedure. Has anyone eve done smth like that?

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just made this for you. When…
Tue, 03/21/2023 - 18:17

Just made this for you. When in the liquid it would instantly reset the poison to 10 seconds  ( the ticks i selected ) and not do any damage. That is why there is a damage block as well but this block will kill you if you run out of hearts ) the poison will take you to half a heart but if still in the fluid the damage will still deal a fatal damage and kill you. it is set to only effect players but it can be changed for any entity. The white block is my liquid ( milk ) also it is not added to any of the liquids triggers, the procedure is by itself. 


https://i.imgur.com/7WOPk6z.png

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wow! Thank you so much!!!
Wed, 03/22/2023 - 15:17

Wow! Thank you so much!!!

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No problem, glad to be of…
Wed, 03/22/2023 - 21:12

No problem, glad to be of help