Procedure Help with a generator style of block

Started by pixelkingliam on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure Help with a generator style of block
Wed, 05/27/2020 - 20:37 (edited)

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

 

https://imgur.com/a/eq6UilQ

Edited by pixelkingliam on Wed, 05/27/2020 - 20:37
That's not the way you would…
Wed, 05/27/2020 - 22:34

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

 

Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what do you mean by Set an…
Wed, 05/27/2020 - 23:19

what do you mean by Set an NBT Block Tag tickbarn to get tag tickbarn+1? im confused...

Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
im pretty much confused by…
Wed, 05/27/2020 - 23:47

im pretty much confused by all of it,
if get tickbarn/600 and (wym by and,)get tickbarn<=60000
something visual would help more