Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Seeloewen committed Nov 18, 2021
1 parent 0e6f709 commit 19e7ccb
Show file tree
Hide file tree
Showing 45 changed files with 35,746 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Random Item Giver 1.18/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
╔═══════╗ ╔═╗ ╔═╗ ╔══════╗ ╔══╗ ╔═╗ ╔═══════╗ ╔═══════╗ ╔═╗ ╔══════╗ ╔═══════╗
║ ╔═════╝ ║ ║ ║ ║ ║ ╔══╗ ║ ║ ╚╗ ║ ║ ║ ╔═════╝ ║ ╔═════╝ ║ ║ ║ ╔══╗ ║ ║ ╔═════╝
║ ║ ║ ╚══╝ ║ ║ ╚══╝ ║ ║ ╠╗╚╗ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║
║ ║ ║ ╔══╗ ║ ║ ╔══╗ ║ ║ ║╚╗╚╗ ║ ║ ║ ║ ╔═══╗ ║ ╚═════╗ ║ ║ ║ ║ ║ ║ ║ ║ ╔═══╗
║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ╚╗╚╗║ ║ ║ ║ ╚═╗ ║ ║ ╔═════╝ ║ ║ ║ ║ ║ ║ ║ ║ ╚═╗ ║
║ ╚═════╗ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ╚╗╚╝ ║ ║ ╚═══╝ ║ ║ ╚═════╗ ║ ╚═════╗ ║ ╚══╝ ║ ║ ╚═══╝ ║
╚═══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ ╚═══════╝ ╚═══════╝ ╚═══════╝ ╚══════╝ ╚═══════╝

This changelog only lists changes to the 1.18 Snapshot Beta version of the datapack.

Version 1.2.0-Beta2 for Snapshot 21w42a (21.10.2021)
+ Added otherside music disc from 21w42a

Version 1.2.0-Beta1 for Snapshot 21w37a (15.09.2021)
* Changed version number to 8 for full compatibility with Snapshot 21w37a
25 changes: 25 additions & 0 deletions Random Item Giver 1.18/CREDITS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
╔═══════╗ ╔═════╗ ╔═══════╗ ╔══════╗ ╔═╗ ╔═══════╗ ╔═══════╗
║ ╔═════╝ ║ ╔═╗ ║ ║ ╔═════╝ ║ ╔══╗ ╚╗ ║ ║ ╚══╗ ╔══╝ ║ ╔═════╝
║ ║ ║ ╚═╝ ║ ║ ║ ║ ║ ╚╗ ║ ║ ║ ║ ║ ║ ║
║ ║ ║ ╔═╝ ║ ╚═════╗ ║ ║ ║ ║ ║ ║ ║ ║ ║ ╚═════╗
║ ║ ║ ╠╗╚╗ ║ ╔═════╝ ║ ║ ╔╝ ║ ║ ║ ║ ║ ╚═════╗ ║
║ ╚═════╗ ║ ║╚╗╚╗ ║ ╚═════╗ ║ ╚══╝ ╔╝ ║ ║ ║ ║ ╔═════╝ ║
╚═══════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═══════╝

[Important Note]
The original creator of this Datapack is PhoenixSC. He made the datpack for Minecraft Version 1.14.4. Because Mojang keeps adding new blocks and this
is a really cool datapack, I (Louis9) decided to keep updating it. If PhoenixSC has a problem with me reuploading his datapack in newer Versions,
I'm gonna take it down as soon as I can, but I hope this Version is allowed, because I have made many people happy with it. But again, if there
are any Problems, I will take it down. You can find his original Video with the datapack here: https://www.youtube.com/watch?v=L4kFPn0BBYY&ab_channel=PhoenixSC

[User Credit 1]
Version 1.0.5 of this Datapack was made by User3317898G on Planetminecraft, who also helped on Version 1.0.15 and 1.1.4. You can find him here: https://www.planetminecraft.com/member/user3317898g/

[User Credit 2]
The Bug which was fixed in 1.0.7 was found by MrRedeminator on Planetminecraft. You can find him here: https://www.planetminecraft.com/member/mrredeminator/

[User Credit 3]
The Fact, that there weren't any 1.15 blocks and items which was fixed in 1.0.8 was discovered by WiseSunshine on Planetminecraft. You can find him here: https://www.planetminecraft.com/member/wisesunshine/

[User Credit 4]
The suspicious soups with the effects were added by QueenieLawrens on Planetminecraft. You can find him here: https://www.planetminecraft.com/member/queenielawrens/
22 changes: 22 additions & 0 deletions Random Item Giver 1.18/INFORMATION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
╔═╗ ╔══╗ ╔═╗ ╔══════╗ ╔══════╗ ╔═════╗ ╔═══════════╗ ╔══════╗ ╔═══════╗ ╔═╗ ╔══════╗ ╔══╗ ╔═╗
║ ║ ║ ╚╗ ║ ║ ║ ╔════╝ ║ ╔══╗ ║ ║ ╔═╗ ║ ║ ╔══╗ ╔══╗ ║ ║ ╔══╗ ║ ╚══╗ ╔══╝ ║ ║ ║ ╔══╗ ║ ║ ╚╗ ║ ║
║ ║ ║ ╠╗╚╗ ║ ║ ║ ╚════╗ ║ ║ ║ ║ ║ ╚═╝ ║ ║ ║ ║ ║ ║ ║ ║ ╚══╝ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ╠╗╚╗ ║ ║
║ ║ ║ ║╚╗╚╗ ║ ║ ║ ╔════╝ ║ ║ ║ ║ ║ ╔═╝ ║ ║ ║ ║ ║ ║ ║ ╔══╗ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║╚╗╚╗ ║ ║
║ ║ ║ ║ ╚╗╚╗║ ║ ║ ║ ║ ║ ║ ║ ║ ╠╗╚╗ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ╚╗╚╗║ ║
║ ║ ║ ║ ╚╗╚╝ ║ ║ ║ ║ ╚══╝ ║ ║ ║╚╗╚╗ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ╚══╝ ║ ║ ║ ╚╗╚╝ ║
╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═══╝

This is a simple datapack that gives you a random item or block every 15 seconds.
The time between getting an item can also be changed!

This datapack will be updated for every stable version of Minecraft (e.g. 1.16.5) and sometimes Snapshots, but it will also recieve updates
if bugs need to be fixed or other stuff needs to be added.

If you find a bug, it would be awesome if you report it on my planetminecraft page! You can also suggest things to add
or change and I might add them and credit you.

I hope you enjoy my datapack! The original version of this datapack was created by Phoenix SC, but his version only
supported 1.14.4. I reached out to him, and after confirmation that I am allowed to continue developing this datapack,
I made it compatible with newer versions and added some other tweaks.

You can find the original video of Phoenix SC showing his datapack here: https://www.youtube.com/watch?v=L4kFPn0BBYY
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"values": ["randomitemgiver:reload"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"randomitemgiver:main"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#Check for time
scoreboard objectives add item_timer dummy
scoreboard players add give item_timer 1
execute if score give item_timer >= give_item item_timer run scoreboard players set give item_timer 0
forceload add 0 0

#Generate random number
setblock 0 255 0 chest
execute store result score rng_main item_timer run loot insert 0 255 0 loot randomitemgiver:rng_main

#Give random item
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 7..1060 if score SpawnEggs Enabled matches 2 if score CommandBlocks Enabled matches 2 if score OtherItems Enabled matches 2 run execute as @a run loot give @s loot randomitemgiver:main
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 7..1060 if score SpawnEggs Enabled matches 1 if score CommandBlocks Enabled matches 1 if score OtherItems Enabled matches 1 run execute as @a run loot give @s loot randomitemgiver:main_without_creative-only
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 7..1060 if score SpawnEggs Enabled matches 2 if score CommandBlocks Enabled matches 1 if score OtherItems Enabled matches 1 run execute as @a run loot give @s loot randomitemgiver:special_vxx
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 7..1060 if score SpawnEggs Enabled matches 2 if score CommandBlocks Enabled matches 2 if score OtherItems Enabled matches 1 run execute as @a run loot give @s loot randomitemgiver:special_vvx
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 7..1060 if score SpawnEggs Enabled matches 1 if score CommandBlocks Enabled matches 2 if score OtherItems Enabled matches 1 run execute as @a run loot give @s loot randomitemgiver:special_xvx
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 7..1060 if score SpawnEggs Enabled matches 1 if score CommandBlocks Enabled matches 2 if score OtherItems Enabled matches 2 run execute as @a run loot give @s loot randomitemgiver:special_xvv
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 7..1060 if score SpawnEggs Enabled matches 1 if score CommandBlocks Enabled matches 1 if score OtherItems Enabled matches 2 run execute as @a run loot give @s loot randomitemgiver:special_xxv
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 7..1060 if score SpawnEggs Enabled matches 2 if score CommandBlocks Enabled matches 1 if score OtherItems Enabled matches 2 run execute as @a run loot give @s loot randomitemgiver:special_vxv
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 1 run execute as @a run loot give @s loot randomitemgiver:enchanted_books
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 2 run execute as @a run loot give @s loot randomitemgiver:potion
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 3 run execute as @a run loot give @s loot randomitemgiver:lingering_potion
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 4 run execute as @a run loot give @s loot randomitemgiver:splash_potion
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 5 run execute as @a run loot give @s loot randomitemgiver:tipped_arrow
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score rng_main item_timer matches 6 run execute as @a run loot give @s loot randomitemgiver:suspicious_stew

#Post that you got an item (if enabled)
execute if score give item_timer matches 0 if score RandomItemGiverPack GiveItems matches 2 if score ShowItemMessage Enabled matches 2 run tellraw @a ["",{"text":"[","color":"gray"},{"text":"Random Item Giver","bold":true,"color":"gold"},{"text":"]","color":"gray"},{"text":" You received a new item!","color":"green"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":"═════════════════════════","color":"green","bold":true}
tellraw @s ["",{"text":"Random Item Giver ","bold":true,"color":"#EFAF1A"},{"text":"-","bold":true,"color":"gray"},{"text":" Credits","bold":true,"color":"#D9541C"},{"text":"\n"},{"text":"Who contributed to the datapack?","italic":true,"color":"gray"},{"text":"\n\n"},{"text":"Phoenix SC ","color":"red"},{"text":"-","color":"gray"},{"text":" Original creator","color":"red"},{"text":"\n"},{"text":"Louis9 ","color":"green"},{"text":"- ","color":"gray"},{"text":"Creator of this version","color":"green"},{"text":"\n"},{"text":"User3317898G ","color":"#97F7F7"},{"text":"- ","color":"gray"},{"text":"Made Version 1.0.5 and helped on Version 1.1.4 & 1.0.15\nMrRedeminator ","color":"#97F7F7"},{"text":"- ","color":"gray"},{"text":"Reported a bug\nWiseSunshine ","color":"#97F7F7"},{"text":"- ","color":"gray"},{"text":"Reported a bug\nQueenieLawrens ","color":"#97F7F7"},{"text":"- ","color":"gray"},{"text":"Added suspicious stews","color":"#97F7F7"},{"text":"\n\n"},{"text":"[","color":"gray","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to the main menu"}},{"text":"<","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to the main menu"}},{"text":"] ","color":"gray","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to the main menu"}},{"text":"Back to menu","color":"#D86264","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to the main menu"}}]
tellraw @s {"text":"═════════════════════════","color":"green","bold":true}

#Some of the text was made using the JSON Text Generator by minecraft.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":"═════════════════════════","color":"green","bold":true}
tellraw @s ["",{"text":"Random Item Giver","bold":true,"color":"#EFAF1A"},{"text":" - ","bold":true,"color":"gray"},{"text":"Help","bold":true,"color":"#26A7D0"},{"text":"\n\n"},{"text":"How do I change the time an item is given to me?","color":"#F6F225"},{"text":"\n"},{"text":"-> You can change it in the settings menu. ","color":"#FFF5AD"},{"text":"(click here)","color":"gray","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/settings"},"hoverEvent":{"action":"show_text","contents":"Go to the settings"}},{"text":"\n\n"},{"text":"Can I use the datapack in a video?","color":"#F6F225"},{"text":"\n"},{"text":"-> Yes, of course, but please credit me with a link and a shoutout.","color":"#FFF5AD"},{"text":"\n\n"},{"text":"Does this datapack work with multiplayer?","color":"#F6F225"},{"text":"\n"},{"text":"-> Yes, every x seconds a random person on the server gets an item.","color":"#FFF5AD"},{"text":"\n\n"},{"text":"[","color":"gray","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to menu"}},{"text":"<","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to menu"}},{"text":"]","color":"gray","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to menu"}},{"text":" ","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to menu"}},{"text":"back to menu","color":"#D86264","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to menu"}}]
tellraw @s {"text":"═════════════════════════","color":"green","bold":true}

#Some of the text was made using the JSON Text Generator by minecraft.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":" "}
tellraw @s {"text":"═════════════════════════","color":"green","bold":true}
tellraw @s ["",{"text":"Random Item Giver","bold":true,"color":"#EFAF1A"},{"text":" - ","bold":true,"color":"gray"},{"text":"Information","bold":true,"color":"aqua"},{"text":"\n\n"},{"text":"Version 1.2.0-Beta2","color":"yellow"},{"text":"\n"},{"text":"For Snapshot 21w42a","color":"yellow"},{"text":"\n\n"},{"text":"Made by Louis9","color":"red"},{"text":"\n"},{"text":"Original version by Phoenix SC","color":"red"},{"text":"\n\n"},{"text":"[","color":"gray","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to main menu"}},{"text":"<","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to main menu"}},{"text":"]","color":"gray","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to main menu"}},{"text":" ","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to main menu"}},{"text":"Back to menu","color":"#D86264","clickEvent":{"action":"run_command","value":"/function randomitemgiver:menus/menu"},"hoverEvent":{"action":"show_text","contents":"Go back to main menu"}}]
tellraw @s {"text":"═════════════════════════","color":"green","bold":true}

#Some of the text was made using the JSON Text Generator by minecraft.tools
Loading

0 comments on commit 19e7ccb

Please sign in to comment.