Procedure Help with a generator style of block

Started by pixelkingliam on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Mar 2016
Points:
729

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
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
Active 2 days ago
Joined May 2019
Points:
1209

User statistics:

  • Modifications: 0
  • Forum topics: 13
  • Wiki pages: 2
  • MCreator plugins: 1
  • Comments: 844
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

 

Active 4 years ago
Joined Mar 2016
Points:
729

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
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...

Active 4 years ago
Joined Mar 2016
Points:
729

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
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

Active 2 days ago
Joined May 2019
Points:
1209

User statistics:

  • Modifications: 0
  • Forum topics: 13
  • Wiki pages: 2
  • MCreator plugins: 1
  • Comments: 844
sorry it's actually if get…
Thu, 05/28/2020 - 14:10

sorry it's actually if get tickbarn/600=1 and get tickbarn<=60000

Active 2 days ago
Joined May 2019
Points:
1209

User statistics:

  • Modifications: 0
  • Forum topics: 13
  • Wiki pages: 2
  • MCreator plugins: 1
  • Comments: 844
there's an AND procedure…
Thu, 05/28/2020 - 14:11

there's an AND procedure block in logics