Minecraft Data Packs / Other

Random Block Generator

  • check_circle Functions
  • check_circle Loot Tables
  • 3,778 views, 12 today
  • 236 downloads, 1 today
  • 3
  • 3
GlitchedWrench's Avatar GlitchedWrench
Level 14 : Journeyman Dragon
1
A Simple datapack that lets the player roll the dice with what blocks/items they will get. This value can be easily adjusted to the players need.
This datapack is meant to be used in 1.16
The pack also keeps the value at which you entered incase you want to re-roll or get more
Necessary Commands

  • /function rbg:Initialize
  • /scoreboard set blocks BlockCount [​number]
  • /function rbg:start
  • /function rbg:uninstall
Commands meaning

rbg:Initialize gets the neccesary components in place so that the datapack can run correctly

scoreboard set blocks BlockCount [​number] Is the amount of block that the player will receive

rbg:start Is the main function that needs to be executed in order for everything to work properly

rbg:uninstall removes everything the datapack brings in


If something breaks

if you are receive an unnatural amount of items try and run this /scoreboard players set const Blockcount 1

If something else breaks please let me know
CompatibilityMinecraft 1.16
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome