Started by
pixelkingliam
on
Topic category: Help with Minecraft modding (Java Edition)
So, im trying to make a block that generates a item every 30 second (600 ticks)
i want it to generate 100 of said item until the block no longer functions
Edited by pixelkingliam on Wed, 05/27/2020 - 20:37
That's not the way you would do it.
Use on block tick,
Set an NBT Block Tag tickbarn to get tag tickbarn+1
if get tickbarn/600 and get tickbarn<=60000
then if get item in slot 0<64
add thing in the BlockGUI not player
else send msg is FULL
else
if tickbarn>60000
send message Max uses exeeded
P.s. i highlighted different statements
what do you mean by Set an NBT Block Tag tickbarn to get tag tickbarn+1? im confused...
im pretty much confused by all of it,
if get tickbarn/600 and (wym by and,)get tickbarn<=60000
something visual would help more
sorry it's actually if get tickbarn/600=1 and get tickbarn<=60000
there's an AND procedure block in logics