Jump to content

Prevent Fire in an Area?


Zetal

Recommended Posts

What's the best way to prevent the spawning/spread of Fire in a specific area? I know Firespread can be disabled globally using vanilla settings, but I only want to disable it in a set location.

 

Right now the mod I have does so by doing chunk scans on chunk tick and checking to see if there is fire in a protected zone, but it's rather performance intensive and I'm looking for a better way to do this.

Have a modding question? PM me and hopefully I'll be able to help. Good at 2d Pixel Art? We need your help!  http://www.minecraftforum.net/topic/1806355-looking-for-2d-pixel-artist/

Link to comment
Share on other sites

I see there's a lot of discussion about the performance issues with such a thing... why don't they just add a forge hook for modifying the array of blocks to be ticked once per tick before it goes into the for loop, instead of once per block per tick after it's in the loop?

 

Wouldn't that serve the same purpose, and save performance time? Or am I misunderstanding?

Have a modding question? PM me and hopefully I'll be able to help. Good at 2d Pixel Art? We need your help!  http://www.minecraftforum.net/topic/1806355-looking-for-2d-pixel-artist/

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.