How to check if gem touches water?

Started by Josiah_Ironclad on

Topic category: Help with MCreator software

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check if gem touches water?
Mon, 09/06/2021 - 06:10 (edited)

I want to drop an item I made, and have something happen when the item touches a water source block.

Before settling on doing this through dropped items, I was trying to use a ranged item, which has a trigger for when the item hits a block. But a normal item doesn't have this.
Even if it did, I struggle to figure out how to determine if the block at the gem's current location is a water source. I looked through numerous posts in this forum, but no one ever seems to have gotten an answer. I've also been looking through the code blocks, but can't find anything of use.

Edited by Josiah_Ironclad on Mon, 09/06/2021 - 06:10
I would so appreciate such…
Wed, 09/01/2021 - 22:13

I would so appreciate such tutorial. I try to make item un-destroyable, but without such detector I feel like it will be tough to even try reaching that goal.

Wishing us all good luck ^^

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes please, it would. <3
Thu, 09/02/2021 - 12:37

Yes please, it would. <3

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unfortunately I already knew…
Sun, 09/05/2021 - 01:12

Unfortunately I already knew about doing it that way. But I need the player to be able to stand on dry land and chuck the item into water. :c

Thank  you for your help anyway though. <3

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I haven't tested this, but I…
Wed, 09/29/2021 - 09:06

I haven't tested this, but I believe this may work?
My thought was that since an Item is an entity, and there is a trigger for an Item being dropped, this might work?

Procedure

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know I'm 2 years late, but…
Tue, 05/09/2023 - 10:50

I know I'm 2 years late, but for any future peoples...

 

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't exactly know why,…
Thu, 08/01/2024 - 03:23

I don't exactly know why, but the procedure Big Martin posted does not work. I am trying to make sodium, where if the item touches water, it explodes, and I've used Big Martin's procedure, but it doesn't work. It doesn't even work with a vanilla item.
Here is my procedure:

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you fix the image  chezr 
Thu, 08/01/2024 - 03:38

can you fix the image  chezr 

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
click on the image and it…
Thu, 08/01/2024 - 20:39

click on the image and it should bring you to an imgur link