Jump to content

[1.16.5] Help with custom GameRule function / CreateFluidSourceEvent


Recommended Posts

Posted

I've added a few new rules to minecraft and now I'm creating the functions.

But some of my functions not work / they don't work as they should.

 

Enable lava fluid source

- if the gamerule is true lava source are enabled but it dont work but why this is the code i use (BlockEvent.CreateFluidSourceEvent)

https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/events/world/block/OnCreateFluidSourceEvent.java

error: no matter if true or false lava can always creat source

Posted
24 minutes ago, diesieben07 said:

If that is not what you want - what do you want instead?

that's how it should work

true: can creat source

false can't creat source

 

when i set the gamrule to true/false lava always creat source but why

Posted
9 minutes ago, diesieben07 said:

This is not what I observed when I cloned our repository.

i remove the complete event and lava will create source

- i export the mod and check it outside of the ide again

Posted (edited)
1 hour ago, diesieben07 said:

Then something is seriously messed up about your game. Normally you cannot create Lava like this

This is currently an error in my IDE but i dont know why

Edited by Luis_ST

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.