Minecraft Data Packs / Quality of Life

Palette Replacer - (place random block-palette) [WorldEdit style]

  • check_circle Functions
  • 3,547 views, 0 today
  • 335 downloads, 0 today
  • 32
  • 26
  • 7
imalittlhigh
Level 64 : High Grandmaster Sweetheart Senpai
123
This Datapack only works for 1.20.2+ (sadly)

Want to place your block-palette randomly but not spend ages placing the blocks?

This Datapack lets you replace a whole selection or just a specified type of block in that selection with a block-palette from your Hotbar!

The Datapack is only usable with administrator permissions (you need to be able to run functions)

After using this pack for quite a few builds, I have noticed issues when selecting large areas. Id recommend not replacing large areas but splitting them up and replacing multiple smaller sections.




Use GitHub for different game versions if available
Palette Replacer - (place random block-palette) [WorldEdit style] Minecraft Data Pack

main will always be the most up to date version.
If you want in dev versions, feel free to download the in_dev. (might not have this exact name)

If there are multiple versions, the older one will work up to the newer one.
[​If there is one "1.19.2" and one "1.20" the "1.19.2" will work from version 1.19.2 until version 1.20]


To get the Chat GUI do /function bprand:get_ui

Palette Replacer - (place random block-palette) [WorldEdit style] Minecraft Data Pack



Klicking on "Give Selection Marker" gives you a spawn-egg that is used to place the corners of your Selection

Palette Replacer - (place random block-palette) [WorldEdit style] Minecraft Data Pack



If you have not placed a valid selection you will get error messages when klicking "Run Replace Command"







To replace Blocks in the Selection klick "Run Replace Command".
This will replace all Blocks in the selection with blocks you have in your Hotbar (these will be placed randomized)
If you want to only replace a specific Block, put that Block in your Offhand and running the command will only replace these Blocks in your Selection.
[​Keep in mind, this is quite a lot slower than replacing the whole selection]
You may have no Item in Hotbar Slots if you run the command.
If you have non Block Items anywhere except the last Hotbar Slot, the replacement might fail. You will not get an error message, but some blocks might have not been edited.
If the replacement has been finished you will get a message with the amount of Blocks edited/checked.





If your game or the server crashes while replacing you might have a problem with "dormant" markers.
They will be included during the next execution of the replace command.
If you dont want that run: /kill @e[​tag=bprand.areamarker]
If you encountered a crash during the execution you might also want to delete the selection markers and replace them to avoid issues.




All of my Datapacks are free to use, modify and rip apart.
If you add them to a pack or something of yours, please let me know so i can check it out.

I do not condone charging money for Datapacks.
You may not use any of my Datapacks for monetary gain.
(except if you are creating content with them [​like YouTube videos])
CompatibilityMinecraft 1.20
Tags

2 Update Logs

Update #2 : by imalittlhigh 12/26/2023 6:48:26 amDec 26th, 2023

issues with large selections
LOAD MORE LOGS

Create an account or sign in to comment.

User5133364G
06/19/2024 3:47 am
He/Him • Level 1 : New Explorer
can you make it to work on 1.21
1
Icecats19
06/17/2024 3:50 am
He/Him • Level 31 : Artisan Engineer Artist
update to 1.2
1
ArrowRobinGood
01/18/2024 12:22 pm
Level 3 : Apprentice Miner
imalittlhigh no work on 1.20.1
1
imalittlhigh
01/18/2024 1:37 pm
Level 64 : High Grandmaster Sweetheart Senpai
yes... "This Datapack only works for 1.20.2+ (sadly)"
Macros were only added in 1.20.2
this doesnt work without macros
1
Lentejas Con Marichuelas
12/26/2023 6:19 am
Level 5 : Apprentice Miner
Great datapack friend!, keep it up
1
ArrowRobinGood
12/16/2023 7:50 am
Level 3 : Apprentice Miner
no work
1
imalittlhigh
12/16/2023 1:05 pm
Level 64 : High Grandmaster Sweetheart Senpai
no work what? are you on 1.20.2+? then it works
1

Welcome