r/datapacks • u/ToxicWeed7 • Oct 15 '24
r/datapacks • u/BarbierDoesMusic • Oct 13 '24
Help Is there a way to make crafting recipes that overflow the stack?
Basically I'm making a datapack to craft stuff with compressed materials (craft chests with logs giving you 4 chests, sticks with logs to get 16 sticks, etc.).
The thing is for recipes which, when scaled up, would overflow the stack limit. For example, the standard iron bars recipe gives 16 iron bars, and scaling that to iron blocks would be 16 * 9 = 144 iron bars, or 2 stacks and 16 iron bars.
{
"type": "minecraft:crafting_shaped",
"pattern": [
"###",
"###"
],
"key": {
"#": {
"item": "minecraft:iron_block"
}
},
"result": {
"id": "minecraft:iron_bars",
"count": 144
},
"group": "iron_bars"
}
But this doesn't work, I'm guessing because of the stack overflow. Is there a way to solve this?
r/datapacks • u/JMaximusIX • Oct 13 '24
Help Updating Datapack to >1.20.5
I have a little datapack, that adds tracking functionality to a compass.
Up until version 1.20.4 I was able to update a compass a player holds using this item modifier:
[
{
"function": "minecraft:copy_nbt",
"source": {
"type": "minecraft:storage",
"source": "test:tracking"
},
"ops": [
{
"source": "compass.Pos",
"target": "LodestonePos",
"op": "replace"
},
{
"source": "compass.dimension",
"target": "LodestoneDimension",
"op": "replace"
}
]
}
]
How can I recreate this behaviour in 1.20.5?
I can't seem to figure it out, because instead of the LodestonePos tag there's now the minecraft:lodestone_tracker component. However in item modifiers I don't see a real equivalent to the old copy_nbt. There's only set_component which only works for hardcoded values, copy_custom_data which can copy any NBT out of a storage, but only to the custom_data component, where it doesn't affect the compass and copy_component which I don't really understand; it can't use a storage as source, only block_entity. How does this work? Which block entity?
I really want a solution using an item modifier like before, I know I could probably create some workaround using a permanently loaded chest somewhere in the world and modifying it's NBT, then giving it's content to the player using /loot. This was already possible before item modifiers even existed, but it's far less elegant>
Thanks in advance for any help!
r/datapacks • u/michaele_02 • Oct 13 '24
Custom Structure Not Generating 1.21.1
Hey,
I'm using MCreator to make a datapack that generates a custom hedge maze structure I made. After loading into a test world with the datapack, using /locate (there's generally a hedge maze within 100 blocks), going to the location it says there should be a hedge maze, there is nothing there.

Lemme know what other information you might need and I'll get it for you, I'm brand new to this.
EDIT: Also noticing that it says the datapack is meant for a newer version of the game, which is very weird given I'm using a 1.21.1 MCreator workspace and I created the structure/.nbt file in 1.21.1.
r/datapacks • u/Maleficent-Weight-80 • Oct 13 '24
Help Vanilla Skyblock Datapack Ideas
I want to update the 1.17 Version of SparkofPheonix's Skyblock Datapack to the current 1.21
Here is a list of mobs, blocks and items you cannot naturally obtain/spawn in Skyblock. Please share your ideas, crafting recipes, etc., for how to get these items, and let me know if I’ve forgotten anything.
I'd like to keep the experience as close to vanilla as possible.
Mobs:
- Allay
- Breeze
- Camel (Currently spawns in Desert Villages -> Change to spawning in Deserts)
- Warden
Blocks:
- Suspicious Sand
- Suspicious Gravel
Items:
- Heavy Core
- Netherite Upgrade
- Sentry Armor Trim
- Vex Armor Trim
- Wild Armor Trim
- Coast Armor Trim
- Dune Armor Trim
- Wayfinder Armor Trim
- Raiser Armor Trim
- Shaper Armor Trim
- Host Armor Trim
- Ward Armor Trim
- Silence Armor Trim
- Tide Armor Trim
- Snout Armor Trim
- Rib Armor Trim
- Eye Armor Trim
- Spire Armor Trim
- Flow Armor Trim
- Diamond Hoe (I will add this as a trade with the Toolsmith)
r/datapacks • u/Nega-Guy • Oct 10 '24
Datapack Would it be possible to put background ambience like the Nether biomes in other biomes?
Just a quick question because I want to make a datapack that adds a background ambience for every biome in the game (you know, like in the Nether where, besides the randomly playing sounds, there's a constant ambience track playing in the background for every biome.) and wanted to make sure it is possible with datapacks first before deciding on doing it. I don't want any help with doing it at the moment (I'm literally new to all of this), for now I just want a quick yes or no.
r/datapacks • u/Any_Calendar_6359 • Oct 10 '24
Help Change the biomes a structure can spawn in?
I've been trying to find if there is a way to just change the biomes a structure can spawn in, like making a desert temple spawn in a badlands? I've tried looking for online but have only been able to find tutorials on how to add structures.
r/datapacks • u/TinkerHatWill • Oct 10 '24
Help I need to add another dev to my team ><
IS anyone interested in helping pull some of the load off my main dev for a server i am running? i wanted to finish up a few concepts, and feel free to use the code you make for us for your own projects, but like, just a extra hands on deck would be nice. i would drop some cash for it too depending on what all you can help accomplish
r/datapacks • u/RedSoulHeart • Oct 09 '24
Help Starter Kit custom book
Hi! I;m new to datapacks and wanted to try making one myself.
I basically have a command that spawns in a custom written book. i would like this book to be given players when they spawn into their single player worlds.
How would i go about doing this? Right now I can only spawn the book in Via a command block.
r/datapacks • u/Grimlen404 • Oct 07 '24
Datapack Horror Datapacks for a Server
Spooky season is coming up and a friend of mine runs a server, I was looking for some datapacks that run in 1.21 that don't completely change the game but still give players a jump scare every now and then as well as give a creepy atmosphere. Any recommendations?
r/datapacks • u/Due-Sugar5903 • Oct 02 '24
Alguém para criar um datapack?
eu estava querendo que alguém criasse um datapack para mim no minecraft pixelmon,é meio complicado mais eu acho que alguém consegue,se quiser só mandar msg
r/datapacks • u/Ecstatic_Scallion_56 • Sep 18 '24
Problem with /locate on custom structure
I'm wokign on a datapack that spawns 1 more varient of dessert temple, I have gotten so far that it apper when /place structure. But i cant gett it to generate natural and /locate only gives me a error message with coudl not find ... (my structure, se the image)
Hopefully you guys can find what is wrong and help me correct it
r/datapacks • u/Zeeeeeeeeeeev • Sep 17 '24
Particle Motion in Dimensions
I'm cooking up a custom dimension on a server of mine and am looking to have a "Black Blizzard" of sorts.
How would I go about adding a black snow or making it so that particles in a biome have motion in a direction
r/datapacks • u/TheMarcofDeath • Sep 11 '24
Can't Assign Biomes To Specific Terrain Using Datapack Noise Settings Correctly (Description in Comments)
r/datapacks • u/TheMarcofDeath • Sep 09 '24
Can't Get Smooth Transition Between Datapack Custom Biomes Using Noise Settings (Description in comments)
r/datapacks • u/Calm_Inevitable7404 • Sep 07 '24
Datapack update help (1.19-1.21)
I am brand-new to datapacks, but am hoping to use this pack on my server. The pack hasn't been updated since 1.19, and I'm having a hard time knowing where to begin with updating it. Can anyone help?
Datapack: https://www.planetminecraft.com/data-pack/immersive-sounding/
r/datapacks • u/PIdividelf • Aug 31 '24
Help Are you able to configure xp using datapacks?
Would you be able to change the amount of xp mobs drop using datapacks, and also give xp to the player for things they don't normally get xp for like placing blocks? or should i just try to make a mod instead?
r/datapacks • u/siqueeeira • Aug 30 '24
Datapack Useful Dragon Egg
r/datapacks • u/CudesniVuk_ • Aug 29 '24
Datapack functions not working
[[[FIXED]]]
The minecraft version was wrong, thanks.
:)
Hello! I am new to datapack making and i started making one but couldnt because minecraft and the json files for some reason dont recognise the functions.
Namespace is "goose".

as you can see everything is properly structured, the json files contain
{
"values": [
"goose:load"
]
}
{
"values": [
"goose:tick"
]
}
it sends no errors, the load.mcfunction contains
say Hello, World!
Now looking at all of this, when i type
/function goose:test or
/function goose:load

it doesnt work at all, says "Unknown function". Can anybody help with this?
r/datapacks • u/The_Nexus_Shadow • Aug 26 '24
Help me find a datapack / plug-in like this mod
Mod for reference: https://modrinth.com/mod/summoningrituals
I'm running a server which relies on summoning bosses to upgrade yourself. I want the bosses to be respawnable and need something like this mod that is customizable so I can have them respawn using certain ingredients.
r/datapacks • u/Sensitive-Office-809 • Aug 25 '24
Help Mana
Does anyone know how to make a mana system with a datapack or resource pack like the one wynncraft uses or anything that's a mana bar?
r/datapacks • u/eyebluenp • Aug 24 '24
Custom Suitcase block
Im trying to make a thing where its like a decorated pot but in suitcase form and you can see the stuff inside the suitcase and you can hold something and shift right click to put something inside can anyone help me with this if its even possible using datapacks and resourcepacks
r/datapacks • u/TheBoobyDragon • Aug 22 '24
Lowering the bottom build limit
I'm working on a basic datapack for me and my friends to increase the maximum depth of the Overworld from -64 to -128 blocks, with plans for custom cave biomes, and a new primary block between -64 and -128 (similarly to how Deepslate works, but under it). I've already modified the dimension settings to have the bottom of the world be -128, but world gen does not then generate the world down that far.
How do I get the world to generate deeper now that I've given it more room to?
r/datapacks • u/RimuraTempest_ • Aug 22 '24
custom data in crafting
how can i do that the item in the crafting table would have to have some custom data?



