Loot Tables inside a Custom GUI

Started by CarlTheCow on

Topic category: User side tutorials

Last seen on 18:20, 16. Aug 2020
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Loot Tables inside a Custom GUI

Hello, I am wondering how to have custom loot tables generate a new item inside of a custom GUI within a block. For example, I am trying to create a sifting system. Put 1 sand block in the input slot, press a button, and in the output slot you get an item from the loot table that I had created. However, I am not sure how to do this. Any ideas?

Last seen on 14:46, 8. Oct 2023
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  I released my project…
Fri, 07/17/2020 - 13:19

 

I released my project. This can inspire you.

Last seen on 18:20, 16. Aug 2020
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your mod looks good but I'm…
Fri, 07/17/2020 - 18:28

Your mod looks good but I'm just looking for help on this specific issue (and how to actually do it)

Last seen on 14:25, 2. Jul 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello! I'm uping that topic…
Sat, 07/18/2020 - 11:50

Hello! I'm uping that topic cause i'm also really interested with it!

Last seen on 14:25, 2. Jul 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, I found a totally slow…
Sat, 07/18/2020 - 12:57

Ok, I found a totally slow way to do it... without loot table... i used a nbt tag and random procedure. 

But, when the block is broken, when it'll be replaced, the procedure will be restarting at the begining.

so i think it works only with a unbreakable block... 

That's a beginning, and if you know how to keep nbt tag when the block is destroyed , i'll be gratefull if you tell me how ;)

https://youtu.be/IR3F8Pk_Oog