How to check if gem touches water?

Started by Josiah_Ironclad on

Topic category: Help with MCreator software

Active 3 years ago
Joined Aug 2021
Points:
493

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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 ^^

Active 3 years ago
Joined Aug 2021
Points:
493

User statistics:

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

Yes please, it would. <3

Active 3 years ago
Joined Aug 2021
Points:
493

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
Hello? O.o
Sat, 09/04/2021 - 14:33

Hello? O.o

Active 3 years ago
Joined Aug 2021
Points:
493

User statistics:

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

Active 1 week ago
Joined Jan 2020
Points:
773

User statistics:

  • Modifications: 5
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 92
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

Active 11 months ago
Joined Nov 2022
Points:
265

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
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...

 

Active 1 year ago
Joined Jun 2023
Points:
269

User statistics:

  • Modifications: 1
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 60
He's the messiah!
Thu, 09/14/2023 - 17:37

He's the messiah!

Active 2 months ago
Joined Nov 2023
Points:
119

User statistics:

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

Active 2 months ago
Joined Mar 2024
Points:
234

User statistics:

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

can you fix the image  chezr 

Active 2 months ago
Joined Nov 2023
Points:
119

User statistics:

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