Datapack Utils

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • check_circle Recipes
  • check_circle Structures
                    • 116 diamonds
                    • 62,071 views, 162 today
                    • 21,597 downloads, 73 today
                    • 49 comments
                    • 116 favorites
                    avatar ImCoolYeah105
                    Level 65 : High Grandmaster Programmer
                    164
                    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.16
                    Tags

                    17 Update Logs

                    v2.2.1d : 10/04/2020 1:52:11 pmOct 4th, 2020

                    Disabled chunk scan in The End and in Custom Dimensions. Will revisit this feature later if the need for it arises.
                    Fixed issues with the ender dragon
                    Hopefully fixed respawning at half a heart when damaged by the custom damage system
                    Fixed custom damage killing creative/spectator mode players
                    LOAD MORE LOGS

                    4
                    09/26/2020 5:46 amhistory
                    Level 1 : New Miner
                    Deadslash05
                    I was going to use this datapack in a server with combat+ and a couple others. When i was testing for compatibility issues I found out that this datapack causes the dragon to fly up to over y 200 instead of going to the portal. I have tested this datapack by itself and the same thing still happens so its not a compatibility issue
                    2
                    08/05/2020 8:33 pm
                    Level 19 : Journeyman Engineer
                    Pengalu
                    Seems like a neat API! Can it handle player input?
                    2
                    08/05/2020 9:31 pm
                    Level 65 : High Grandmaster Programmer
                    ImCoolYeah105
                    It has a predicate for sneaking, as well as tags for jumping and is_moving- but those are all fairly simple to implement. More advanced player input generally requires special conditions to operate.
                    1
                    08/04/2020 11:56 pm
                    Level 21 : Expert Mage
                    Technopathic759
                    it said it's for 1.16, but it's for older version when i downloaded it
                    1
                    08/05/2020 5:14 pmhistory
                    Level 65 : High Grandmaster Programmer
                    ImCoolYeah105
                    v2.2.0a is for Minecraft 1.16- double check the version. If you are in fact getting an error message with the correct version, can you answer these 2 questions:

                    1. Are you in a non-vanilla environment? (optifine, forge, fabric, spigot, etc).
                    2. Do you have any other datapacks installed?
                    1
                    08/06/2020 7:13 am
                    Level 21 : Expert Mage
                    Technopathic759
                    1. I'm in vanilla

                    2. Yes
                    1
                    08/06/2020 5:34 pmhistory
                    Level 65 : High Grandmaster Programmer
                    ImCoolYeah105
                    It's possible another datapack is conflicting? At least, that's the only cause I can think of.
                    If you're definitely using 2.2.0a you should be able to safely ignore the error message
                    1
                    07/29/2020 5:26 am
                    Level 2 : Apprentice Mage
                    Octogiraffe2
                    Like your stuff :)
                    1
                    07/16/2020 7:53 am
                    Level 45 : Master Dragonborn
                    depressed__
                    Custom... durability?

                    2
                    07/16/2020 4:46 pm
                    Level 65 : High Grandmaster Programmer
                    ImCoolYeah105
                    The concept is reasonably straight forward to understand- whenever the tool takes normal durability, I cancel that and instead subtract from a fake durability stored on the item. Then I just mix in some magic to actually make the durability bar accurate and such.
                    1
                    07/16/2020 8:25 pm
                    Level 45 : Master Dragonborn
                    depressed__
                    I know you didn’t change the original max durability itself. I’m just shocked that you know how to make a custom durability system.
                    1
                    07/01/2020 10:11 am
                    Level 49 : Master Modder
                    2mal3
                    I find the Datapack very helpful and use it often. Can you please update it for struckture and ore generation for custom dimensions?
                    1
                    07/01/2020 4:27 pmhistory
                    Level 65 : High Grandmaster Programmer
                    ImCoolYeah105
                    Yes, the 1.16 update will include support for custom dimensions.
                    This is the main reason why it's taking awhile to update.
                    1
                    07/01/2020 5:40 pm
                    Level 49 : Master Modder
                    2mal3
                    Nice!
                    1
                    05/16/2020 9:13 am
                    Level 49 : Master Modder
                    2mal3
                    How do you make sure that structures or ores are not generated multiple times in the same chunk?
                    3
                    05/16/2020 11:02 am
                    Level 65 : High Grandmaster Programmer
                    ImCoolYeah105
                    The bedrock is replaced with barriers at y=0 to flag which chunks have been generated.
                    1
                    07/01/2020 10:12 am
                    Level 49 : Master Modder
                    2mal3
                    Okay, thanks.
                    1
                    05/01/2020 8:18 pm
                    Level 2 : Apprentice Explorer
                    G4stavoM1ster
                    My players are getting spawners by breaking them with a pickaxe, can you pls fix this?
                    1
                    05/02/2020 12:25 pm
                    Level 65 : High Grandmaster Programmer
                    ImCoolYeah105
                    Sounds like conflict with another datapack- if you have others installed can you list them?
                    1
                    04/23/2020 4:49 am
                    Level 30 : Artisan Fox
                    EvanTheFox
                    Can you add a custom mob spawning system?
                    1
                    03/26/2020 3:39 pm
                    Level 52 : Grandmaster Programmer
                    Ryuggo
                    Hi there, if it's not too long to explain, how do you make the biome detection?

                    Testing blocks at the surface and guessing the biome with only that?

                    Or did you find some better way to do it?
                    2
                    03/26/2020 9:26 pm
                    Level 65 : High Grandmaster Programmer
                    ImCoolYeah105
                    In 1.15 predicates were introduced that can be used to test for the biome type (among other things like weather, light level, the structure at that location, etc). Predicates are very useful and you should definitely learn them.
                    1
                    03/27/2020 5:55 am
                    Level 52 : Grandmaster Programmer
                    Ryuggo
                    Thanks a lot, I'm definitely gonna check that!
                    1
                    03/09/2020 2:33 am
                    Level 46 : Master Technomancer
                    Zero_4793
                    This is beautiful. I am going to use this for future versions of Vanilla Plus.
                    Do you have any tutorial videos or sites, your pack adds a tonne of useful tools, but not much i can find to explain it. It's gonna be tough incorporating this into an already massive pack.
                    2
                    03/09/2020 11:12 am
                    Level 65 : High Grandmaster Programmer
                    ImCoolYeah105
                    I haven't made any video tutorials, but have you taken a look at the wiki? It has all of the API references.

                    If you're looking for examples, Mechanization extends most of the features in DU (and in fact DU was built around extracting the useful bits from Mechanization).
                    1
                    03/09/2020 2:34 am
                    Level 46 : Master Technomancer
                    Zero_4793
                    Also, how did i not discover this earlier.
                    1
                    03/07/2020 6:23 pm
                    Level 1 : New Miner
                    acki02
                    How you made vanilla structure detection system?
                    1
                    03/07/2020 7:18 pm
                    Level 65 : High Grandmaster Programmer
                    ImCoolYeah105
                    1.15 predicate files have a "location check" criteria that can detect structures.
                    1
                    03/01/2020 12:18 pm
                    Level 1 : New Miner
                    MrSubSub
                    I suppose part of this could be that I'm using this in the 1.16 snapshot, but even so its kinda funny and I might as well post it here. When using this DatapackUtils (I made sure it was this by disabling each one individually and re-enabling them until the problem was fixed), any item I place into the inventory crafting slots gets immediately deleted, as if I were placing it into the trash slot in the creative inventory. Thought I should put that here.
                    1
                    03/01/2020 1:21 pm
                    Level 65 : High Grandmaster Programmer
                    ImCoolYeah105
                    It's a reported issue in 1.16 snapshots. I generally don't support snapshots until they're more stable (because stuff like this happens).
                    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 65 : High 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 5 : Apprentice Miner
                    BlackSwordFIFTY5
                    where do i put this file?
                    1
                    12/19/2019 1:33 pm
                    Level 65 : High 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 65 : High 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 65 : High 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 65 : High 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 46 : 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 65 : High 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 71 : Legendary 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 Logo

                    Website

                    © 2010 - 2021
                    www.planetminecraft.com

                    Welcome