Make A furnace have random outputs

Started by MrBOBERTAK on

Topic category: Advanced modding

Last seen on 15:54, 4. May 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make A furnace have random outputs

So, i have a block called Obsidian refiner, that works kinda like a furnace, once ou smelt the obsidian, there is 3 output blocks : 

 

i want that for each slot (03 04 and 02) there is a 50/50 chance of having obsidian dust, and 50/50 chance to get obsidian shard, how can i make that, for now i have no procedures for this furnace 

Last seen on 00:49, 29. Apr 2024
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if random[0,1] < 0.5  do set…
Sun, 11/12/2023 - 11:59

if random[0,1] < 0.5 

do set obsidian dust to slot3 

or set obsidian shard to slot 3

 

slot4 and 5 is same with above