How to make infinite burntime?
How to make infinite burntime?
Say I want to have a fuel in the furnace have infinite burn time only in creative. How would I do that?
Re: How to make infinite burntime?
I don't think this is easily doable.
Just make the burntime really big or add a replacement for the fuel like this:
Just make the burntime really big or add a replacement for the fuel like this:
Code: Select all
minetest.register_craft {
type = "fuel",
recipe = "default:dirt",
burntime = 1,
replacements = {{"default:dirt", "default:dirt"}},
}
Can your read this?
Re: How to make infinite burntime?
I'm not fully understanding how replacements work; especially in this instance. Can you explain the behavior?
Re: How to make infinite burntime?
In the previous example dirt is a fuel and when it gets used it is replaced by dirt again so it will never be used up.
(Just try it out if you want to understand it better, but only put a single dirt in the fuel slot of the furnace otherwise the replaced dirt will go into the output slot I think.)
An example in MTG is the lava bucked recipe.
Code: Select all
minetest.register_craft({
type = "fuel",
recipe = "bucket:bucket_lava",
burntime = 60,
replacements = {{"bucket:bucket_lava", "bucket:bucket_empty"}},
})
For more information read the official documentation .
Last edited by cx384 on Wed Feb 17, 2021 10:46, edited 2 times in total.
Can your read this?
Re: How to make infinite burntime?
Great. Thanks.
Who is online
Users browsing this forum: No registered users and 7 guests