Jump to content

[1.16] Modifying water freezing?


crischu

Recommended Posts

7 hours ago, crischu said:

Does anyone know if this would be possible?

you can overwrite the ice block and add your chance

you then have to register the block with the minecraft id

 

Another way would be with the BlockEvent NeighborNotifyEvent,

but I'm not sure when this event is triggered exactly

(i don't know if it is triggered when the ice is converted into water).

If you want to try that, first use the debbuger to determine whether the event is triggered

Link to comment
Share on other sites

 

8 hours ago, Luis_ST said:

 

you can overwrite the ice block and add your chance

Interesting, what's the method to overwrite?

 

8 hours ago, Luis_ST said:

Another way would be with the BlockEvent NeighborNotifyEvent

 

6 hours ago, diesieben07 said:

NeighborNotifyEvent should work.

I didn't find much documentation about how to check events, for example, how does one check if the event is water freezing versus for example a player placing an ice block on a water source? or an ice block generating on a water source in other way?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.