PARTICIPANT IN A UNRANKED JAM
This Data Pack is an entry in the completed Nature Walk Community Event.

Minecraft Data Packs / Adventure

Rainbows & Beams Datapack

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • 17,220 views, 8 today
  • 1,996 downloads, 0 today
  • 80
  • 55
  • 46
UltroGhast's Avatar UltroGhast
Level 68 : High Grandmaster Engineer
181

Rainbows in Minecraft v4      
1.16

-Rainbows can spawn after rain, chance is increased if you have the effect luck or you are in the flower forest. There are two kind of day rainbows: Regular and Strange.
There is also the Lunar Rainbow, a rainbow without light that seems white-green, it can spawn during the night after the rain.
-Day Rainbows disappear with the thunder, during the night or in general after some minutes(with the treasure/rainbow rock too).
-Regular Rainbows have also a treasure: you can take only one thing from that, but the rainbow will disappear fast(don't try to destroy the chest).
-Strange Rainbows have a Rainbow Rock(seems obsidian): when you mine it you have a small chance to get one of the 7 Rainbow Beam Blocks.
-Rainbow Beam Blocks create rainbows that give the player effects(it depends on the item in the item frame on the block); but you need to charge the block with emeralds.


Rainbows general features
Day Rainbows
Day Rainbows can spawn after the rain. You can get a Strange Rainbow with a chance of 1/6 of rainbows.
Rainbows can't spawn in deserts
Rainbows can spawn only in the overworld
Rainbows disappear if it's raining, thundering or night, and it will remove all the things it created if you didn't take them.



Regular Rainbow
The regular rainbow is the classic Regular Rainbow, nothing strange. At the base of that there will be always a treasure: you can take only one thing from that then the rainbow and the treasure will disappear.
Strange Rainbow
The strange rainbow is very normal... no, that's not true: something strange happened at the beams of this rainbow, and now they have a strange shape.
Anyway, at the base of this rainbow you can find the Rainbow Rock(very hard and obsidianly), mining that you have chance(48/100) to find 1 of the 7 Beam Blocks.
Lunar Rainbow
Lunar Rainbow can spawn after rain during the night. It disappear soon or when the sub come. You can't find anything at the base of it. It is useless but his ray let you go from one side of the rainbow to the other.



Rainbow Beam Blocks
7 Types
There are seven types of that, one for each color of the rainbow.
More the block color is close to red, more the maximum beam distance will be.
Maximum Distance depending on the Beam Block color:
Purple - 120
Blue - 130
Aqua - 140
Green - 150
Yellow - 165
Orange - 170
Red - 180

Charging
You have to charge the block, or it will not work.
To charge it, just put an emerald on that. For each emerald absorbed it will be active for 6 real life hours(64 Emeralds = 16 Days Playing).
When it is working(so it has to be charged) it will create green particles
If you mine the block you will not get back the emeralds.

6 Effects

You can use the these blocks to give the player 6 different effect, these effects will be given by a beam wich will start from the block and go to the nearest player in the available range, giving him, if it success to go to him(the beam can't pass through blocks) the effect you choose. The effect depends on the item wich is in the item frame above the beam block.
What items for what effects?
Remember to place the item frame with the item into it on the block or it will not work.
Enchanted Golden Apple = Saturation
Sugar = Speed
Phantom Membrane = Slow Falling
Ender Eye = Glowing
Diamond = Resistance
Heart of the Sea = Conduit Power




P.S. If you place the Rainbows Beam Blocks in the correct order you can create a "piece of rainbow".

How to change some things:
Disable Rainbows Spawn message:
add tag "ulg.rsp_ignore" to players who don't want to see it.
/tag @a add ulg.rsp_ignore
Disable all rainbows except the Regular one:
/scoreboard players set #ULG_ONLY1RB ulg_gen 1
Make the checks faster(so when the rain stops the rainbow will spawn immediately:
/scoreboard players set #ULG_RB_FAST ulg_gen 1


Rainbows & Beams Datapack Minecraft Data Pack
CompatibilityMinecraft 1.16
Tags

5 Update Logs

Update to 1.16 - Version 4 Released : by UltroGhast 07/06/2020 10:07:37 amJul 6th, 2020

Technical Changes:

-Updated to 1.16.1

-Convention Corrections

-Corrected Bug:
"Rainbow type: strange does not display particles"

Thanks EstEarth who found the bug

The datapack will no longer work in 1.15 or previous versions
LOAD MORE LOGS

Create an account or sign in to comment.

1
01/27/2022 11:18 pm
Level 33 : Artisan Musician
string cheese
string cheese's Avatar
will this update?
1
02/01/2021 9:50 pm
Level 1 : New Miner
Plant_
Plant_'s Avatar
Hey! I love this data pack I have it installed into my realm rn and its working-ish, we are getting the loot just no rainbow. The other issue we are having is the gold blocks above the chests do no go away and are starting be to become rampant. We are just putting blocks to cover them but they are showing up in areas where we don't want blocks to cover. If you have a solution to see the rainbows and remove the gold blocks that would be super appreciated.
1
11/07/2020 11:15 am
Level 19 : Journeyman Geek
Animyos Fox
Animyos Fox's Avatar
Funny idea!
1
10/16/2020 11:17 pm
Level 9 : Apprentice Skinner
Ferralis
Ferralis's Avatar
I can already taste the lag
2
08/20/2020 12:43 am
Level 1 : New Miner
HackX
HackX's Avatar
I have a little problem with the beam blocks, I got the egg but as soon as I place it just shows some particles gives me speed for 1 second and then dissapears and gives the egg again. Any info on how to fix it?
1
12/24/2020 2:11 am
Level 1 : New Miner
ZzmanzZ
ZzmanzZ's Avatar
I have the same problem.
1
08/21/2020 6:37 am
Level 68 : High Grandmaster Engineer
UltroGhast
UltroGhast's Avatar
What beam block?
2
07/25/2020 1:57 pm
Level 2 : Apprentice Explorer
Edaks
Edaks's Avatar
In multiplayer, I believe that it spawns one rainbow for each player. Can you make it spawns only one rainbow at a random player?
3
07/26/2020 5:59 am
Level 68 : High Grandmaster Engineer
UltroGhast
UltroGhast's Avatar
If there is 1 player, it will spawn 1 rainbow. If there are 2 players, it will spawn 2 rainbows. If there are 10000000000 players, it will spawn 2 rainbows. Anyway, I'll make if there are from 2 to 6 players, it will spawn 1 rainbow.
1
07/17/2020 6:00 pm
Level 2 : Apprentice Explorer
Edaks
Edaks's Avatar
Is this multiplayer friendly? If so, which rainbow will be generated next to which player?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome