The thing I love about scoreboard timers is that you can add time to them or deduct time from them while they're running. Heck, you can even pause them by using a boolean dummy value. This can be incredibly useful for certain minigames.
I have a question: Can you please make a simple tutorial, how to generate custom Structers in the world. I literally found nothing useful on the internet about this topic, an I love your tutorials! Thanks!
A little tip for optimization, when setting a scoreboard timer, instead of checking entity score every tick you can schedule(append) a function to check the scoreboard instead. Example - scoreboard players set @s timer_one 40 - schedule function namespace:check_if_score_is_zero 40t This way instead of running "execute as" every tick. It'll run once per entity on timer.
What would the check_if_score_is_zero look like? I assume it targets the desired effect, but then why go through the tick countdown if you just run the intended function with out it?
Nice job Timber, 4 hours in and no dislikes! I was just wondering are you planning on doing any more advanced tutorials, or is that the point of the let’s code videos? EDIT: Also I like your new transition
Haha thanks. I do have some ideas for advanced tutorials, but they just take longer and I always worry I did something inefficiently and that I’ll be roasted xD
@@TimberForge Never feel self conscious about your projects - I did about the one BettingPants mentioned, and it slowed me down a lot because I thought if I asked for help people would laugh at me. I felt sure my idea had been done before, but couldn’t bring myself to search it, as then my fears would be true, for certain. When it was done, I did look it up, and found it nowhere, no matter what I searched. Moral of the Story: Don’t worry about what people will think of your creations.
Hi Timber Forge, Could you try to make a video of how to make a Recipe Book? not like the actual recipe book in-game but an Item that has a gui showing custom recipes or something? Is this even possible only with data packs?
As for the schedule command limitations you also forgot that it clears when you disconnect from the world, which is something I wish I would've found out sooner
tried to follow along. got to the scoreboard timer and had it set to 40, then I replicated the countdown but could'nt get it to countdown. went through video a couple of times but i could'nt get it to work. I would like to set something like t his up in order to execute function every few seconds rather than every tick but That's where I got lost.
it is 3 Years old but i wanted to ask this... with 23w12a u can make rightclick detection for "any" Item an i have everything setup and everything works the only thing i struggle with is that i dont want the cooldown to always stay at >mycooldowntime< when i hold down rightclick it should only trigger once and then again when the cooldown is at 0
can someone please point me in the right direction to make days last longer in Minecraft 1.20.2 java? looking everywhere and can't seem to find anything the /time command and commands blocks aren't working I can only speed up not slow down... Thanks
Hello, I have a question, what is in your global repat function, because I seem to need a function that is repeated over and over again. Thanks in advance.
I get an error :/ in my tick.mcfunction: scoreboard players remove @e[scores={timer_tnt=1..}] timer_tnt 1 im my load.mcfunction: scoreboard objectives add timer_tnt dummy LOOOL after watching it 10 times I noticed it should be in same line
I have sneaking examples in the jump pack lets code and item detection in a lot of my videos, i think the food and mando pistol videos. Just combine it with an execute command or detect the two separate scoreboards.
If you remember the throwable fireballs datapack you made. I was trying to make a minigame with it but I can't get it to work with multiplayer. Only one person is able to throw fireballs. Any help?
Anyone should be able to do it IIRC, not sure why that could happen. I dont have time rn but maybe someone on the discord could help if u send specific info.
hey! I have a problem. I searched around the internet and didn't find a solution. I know you are good with things like this and so I came up asking you this question. When a player is facing a specific block, which can be dirt or stone, a scoreboard should turn on. I managed to do it, but its not perfect. When I look at the edge of one block, the block isn't detected. How can I do this?
Use raycasting(instantaneous, not using an entity) and make sure to use a small “step” size. (I explain the step/increment size in my lets code cannon video). Instantaneous raycasting uses a function that calls itself and moves forwards, I think cloudwolf has a video.