Minecraft / Data Packs

Datapack Utils

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • check_circle Recipes
  • check_circle Structures
  • 35 diamonds
  • 19,885 views, 116 today
  • 7,260 downloads, 46 today
  • 19 comments
  • 32 favorites
  • 35
  • 32
  • comment19
  • playlist_add
  • share
  • more_horiz
avatar ImCoolYeah105
Level 51 : Grandmaster Programmer
56
WARNING: Do not update to DU 2.1.0 until the dependents(s) you're using say they have updated to this version! The API has undergone a minor rework to clean up old code and improve usability. As a result, all datapacks that use pre 2.1 are not compatible with this update.

Datapack Utils aims to handle various complicated tasks and simplify them into something easy to use.

Datapack Utils currently Handles:
  • World generation: including custom ores and structures
  • NBT Crafting APIs for crafting tables, furnaces, and campfires
  • Some Math functions, including a pRNG.
  • Villager based Left/Right click detection. No Carrot on a Stick needed.
  • Custom Durability for any item
  • Timer scoreboards
  • Various player stats
  • Biome Detection
  • Extra block and entity tags
Check out the wiki on my github for information on how to implement DU. You can also ask me questions over on my discord. As an added bonus, you'll stay up-to-date with all of the latest changes to DU.
CompatibilityMinecraft 1.15
Tags

7 Update Logs

v2.1.2 : 12/29/2019 4:39:27 pmDec 29th, 2019

Finalized 2.1 API
  Changed variable names in base, crafting, and get powered functions
  Cleaned up some code related to Lantern Load
Updated Chunk Scan
Click Detect should no longer push you around in Spigot environments (and its derivatives)
Fixed another bug in click detection
Fixed bamboo & scaffolding not being recognized as fuel
LOAD MORE LOGS

19 replies

1
12/26/2019 5:39 pm
Level 1 : New Miner
TTDM
How do you get the ores in creative mode or any of the other blocks as well in the same mode?
1
12/26/2019 6:03 pm
Level 51 : Grandmaster Programmer
ImCoolYeah105
Datapack Utils doesn't add any new blocks/items. Another datapack that uses DU to add something will have to add it's own way for you to get its blocks/items.
1
12/19/2019 1:17 pm
Level 4 : Apprentice Miner
BlackSwordFIFTY5
where do i put this file?
1
12/19/2019 1:33 pm
Level 51 : Grandmaster Programmer
ImCoolYeah105
Same as any other datapack, in the <world>/datapack folder.
1
09/30/2019 6:50 am
Level 1 : New Miner
acki02
Is the ore/structure generation seed-based?
1
09/30/2019 8:42 am
Level 51 : Grandmaster Programmer
ImCoolYeah105
Ore gen is not seed based. Theoretically structure gen is seed, but in practice there are a lot of factors that may mess up seeded generation. It sometimes works and sometimes doesn't.
1
09/30/2019 10:12 am
Level 1 : New Miner
acki02
I'm working on seed-based generator that will (almost :v ) always work as intended. If you want to know more just ask me
1
09/30/2019 10:35 pmhistory
Level 51 : Grandmaster Programmer
ImCoolYeah105
The seed based generation for structures works, but the issue is that since DU is data driven, adding new content changes the registry order, invalidating the seed based generation.
For example, if an existing datapack adds even 1 new structure, then the entire generation changes. It's even worse if 2 datapacks are added: datapack load order is arbitrary, meaning the structure order in the registry can change upon re-entering the world, changing what structure is generated at each position.
I have done perfect seed based generation before, but that was in a closed system- not one other people could add content to.
1
10/01/2019 1:05 am
Level 1 : New Miner
acki02
But what if the player will load new chunck from its north side, and when he will recreate the world he will enter this chunck again, but from the south?
1
10/01/2019 9:53 am
Level 51 : Grandmaster Programmer
ImCoolYeah105
Of course- the generator using a combination of position and the world seed to generate chunks. Direction plays no role.
1
02/18/2019 6:34 am
Level 41 : Master Engineer
resistance_is_futile
I've visited your github wiki and found in the tab "Custom Durability" your 1.14 format explanaition.
Does this mean that the data pack can be used for the current snapshots ?
1
02/18/2019 10:00 am
Level 51 : Grandmaster Programmer
ImCoolYeah105
Under the releases section on my github there is a prerelease build for 1.14. Just keep in mind prereleases are incomplete and often buggy.
1
02/15/2019 4:26 am
Level 65 : High Grandmaster Programmer
TheDiamondPlayables
discord.gg/MV4tHgT
Come join us on Datapack Discord!
Discuss datapack techniques,ask experience datapack creators, or just get to know other datapack creators out there. Share this link to any creator you know!

Planet Minecraft

Browse

Website

© 2010 - 2020
www.planetminecraft.com

Welcome