Started by
Grimdredd
on
Topic category: Help with Minecraft modding (Java Edition)
Hi everyone, I started creating a mod today but I can't figure out how to make my furnace work only if its daytime.
Edited by Grimdredd on Thu, 04/02/2020 - 21:51
Make an if loop for
if - is day in provided world
do (your furnace code here)
Wait a sec, think you might need it more like this
if - is day in provided world = true
do - (furnace code)
Thanks but now i'm encountering a new issue : my "furnace" is not "smelting" anything ( i'm using "" because its not a furnace but so we understand its easier ) Its a compressor and I just want it to use daytime to activate so, no need to use coal or anything
Alright, would you be down to Discord call, or to just send me the workspace over Discord or in a reply here? I might have an idea, but I would need to test it first. I'll let you know if I come up with anything.
Alright, so I came up with an idea for a new energy type. Essentially, I'm gonna make a solar panel block that when it can see the sky and when it is day time will produce "Solar Energy" on each tick update. The player can right-click the block and collect the energy in the form of something I haven't yet decided, maybe a battery. The battery can then power your furnace??? To be honest, I have no idea how to achieve this, but I'll do my best and let you know if it works out.
Also, I'm aware this is not what you want exactly, but I couldn't find a way that fit what you wanted.
I couldn't manage to make something that worked. I did make a procedure to try and make what you wanted though, but I ran into the same problem where it would not smelt anything. Try reporting an issue, this may just be a problem with MCreator and not with the procedures.
What is your discord name ? So we can talk about that directly ^^ And I appreciate the effort you are putting into helping me with this project ^^ I'm trying to make this mod for my parents that don't like mining x) my discord is Haneul#1382