Published Feb 16th, 2021, 2/16/21 4:45 am
- 409,902 views, 99 today
- 153,816 downloads, 40 today
6,541
Here is a new datapack whose title indicates clearly what it does. Dropped items are random but also their number (maximum 10 stacks at a time to avoid too many lags).
The block loot tables have been randomly generated but will be the same for everyone. If you want another randomly generated version, send me a private message via Discord.
For any support, join my discord server : https://discord.me/awhikax
Datapack requested by elmayo97
© Awhikax - Attribution-NonCommercial-NoDerivatives 4.0 International (NonCommercial except for monetized videos)
The block loot tables have been randomly generated but will be the same for everyone. If you want another randomly generated version, send me a private message via Discord.
For any support, join my discord server : https://discord.me/awhikax
Datapack requested by elmayo97
License - By downloading this datapack, you accept it. — Expand for more information
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode.
An exception is made for video content, which can be monetized. However, video creators must give appropriate credit and provide a link to the license
An exception is made for video content, which can be monetized. However, video creators must give appropriate credit and provide a link to the license
If you create videos, add this to the description : — Expand for more information
Datapack by Awhikax : https://www.planetminecraft.com/data-pack/random-blocks-drops/
Licensed under : https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode
Licensed under : https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode
If you have any questions : — Expand for more information

Credit | Thumbnail by Silviu16 |
Compatibility | Minecraft 1.16 |
Tags |
4972508
119
Create an account or sign in to comment.
code
import os
def update_files_in_directory(directory):
search_str = '{"min":1,"max":640}' # DONT CHANGE ITS THE SEARCH STRING
replace_str = '{"min":1,"max":32}' # Change Nr you want
for filename in os.listdir(directory):
if filename.endswith(".json"):
file_path = os.path.join(directory, filename)
with open(file_path, 'r') as file:
content = file.read()
content = content.replace(search_str, replace_str)
with open(file_path, 'w') as file:
file.write(content)
directory_path = '/Dein/verzeichnis/woDie/JsonDrinSind' # Passe den Verzeichnispfad entsprechend an YOU PATH WITH THE BLOCK JSON
update_files_in_directory(directory_path)
code