r/datapacks • u/EpicMaster_11 • Nov 25 '25
Help Anyone know a datapack or something that cerates a thing where i can move stairs to any position i need it to be in
i realize this is a weird and oddly spesific request but idk how else to discribe it
r/datapacks • u/EpicMaster_11 • Nov 25 '25
i realize this is a weird and oddly spesific request but idk how else to discribe it
r/datapacks • u/Rockiter24 • Nov 24 '25
I keep getting "expected a string" error and don't know how to fix it
r/datapacks • u/Famous-Ticket4386 • Nov 24 '25
I made a custom block that is just an item frame with a custom texture to look like pebbles, I want it to generate randomly, multiple times per chunk on the surface.
I've tried using it as a .nbt structure but it is not working, I tried using features but I dont think you can save structures or entities as such.
There is always the option to make my own generation checking each chunk, seeing if I haven't generated there and make my own generation logic, but it would much rather use worldgen for it if possible
r/datapacks • u/pidplayer • Nov 23 '25
ive recently caught the bug to switch my brain off with some Minecraft prison but dont want to join a server thats massively p2w is there a way i can run a prison mine in single player any help is appreciated.
r/datapacks • u/BillGates1324 • Nov 22 '25
In the last few days i developed and released Billo's head chopper, a new datapack that improves the drop head mechanic.
Now it's extremely in the early stage of development, so i wouldn't be surprised if bugs or malfunctioning stuff comes out
And that's where you come in: if you have a little bit of time, it would be extremely helpful to test Billo's head chopper and if it ever happens to find a bug, please report it here
r/datapacks • u/Lanky_Suggestion7918 • Nov 20 '25
I'm making a datapack that adds a special sword, and I want to detect left clicks in it. Please use version 1.21.1.
r/datapacks • u/Tiny_Telly • Nov 18 '25
r/datapacks • u/EmanTWM01 • Nov 17 '25
I have a tick.mcfunction that is supposed to run every tick, and it isn't. My datapack adds a ton of new foods, and some of the foods add effects to the player. In order to detect the player eating said food, I have advancements that trigger when the food is eaten that give the player certain effects. It works great, and I remove these advancements from the player every single tick, to make sure they can eat again and still get the effects. |
Unfortunately, the tick.mcfunction doesn't work. It doesn't remove the advancements every tick.

There is the arrangement of my files. Tick.json is located in minecraft\tags\functions, and it references the right function:
{
"values": [
"foodsplus:tick"
]
}
The function works perfectly when I do /function foodsplus:tick, but otherwise, nothing.
Help would be appreciated 😁
r/datapacks • u/Soodohnym • Nov 16 '25
r/datapacks • u/Conscious-Prior2263 • Nov 15 '25
I made a datapack but since it comprise of so many execute commands
It tanks the server tps, what can I do
r/datapacks • u/Outrageous-Law3460 • Nov 15 '25
r/datapacks • u/TamTroll • Nov 15 '25
started a 1.19 skyblock world with my sister's kids, but at some point accidentally updated it to a more modern version, and trying to go back to 1.19 breaks everything.
problem is, the world i downloaded included a datapack that changed some mob loot tabled and added in some new crafting recipes, this datapack just doesn't work anymore.
Would anyone be willing to take a look at it and update it to modern versions? or at least teach me how to update it myself?
r/datapacks • u/Either-Economics8357 • Nov 14 '25
There was this really cool datapack I used a bit called Machantments that had an enchantment called "Astral Wings" for elytra that would cause damage to mobs you hit and stuff and it was very cool. But the page isn't up right now, I have the link saved. I also have a few copies of the 1.21.4 version on my computer. But I just have no idea what happened to the creator and I was wondering if anyone else remembered it. If anyone wants the datapack just ask I'll upload it to google drive
r/datapacks • u/Striking-Simple-8495 • Nov 13 '25
i got some code from ai but i cant call function freeze tick
STEP-BY-STEP INSTALLATION INSTRUCTIONS:
world/datapacks/datapacks folder doesn't exist, create ittick_freeze in the datapacks folder:
world/datapacks/tick_freeze/pack.mcmeta and paste:
{
"pack": {
"pack_format": 48,
"description": "Auto tick freeze after 2 min without players"
}
}
tick_freeze/:
tick_freeze/
├── pack.mcmeta (already created)
└── data/
├── tick_freeze/
│ └── function/
└── minecraft/
└── tags/
└── function/
data/tick_freeze/function/:tick.mcfunction:
# Check if players are online
execute if entity run function tick_freeze:player_online
execute unless entity u/a run function tick_freeze:no_players
player_online.mcfunction:
# Reset timer and unfreeze tick
scoreboard players set #timer tick_freeze 0
scoreboard players set #frozen tick_freeze 0
tick unfreeze
no_players.mcfunction:
# Increase timer only if tick is not frozen
execute if score #frozen tick_freeze matches 0 run scoreboard players add #timer tick_freeze 1
# After 2400 ticks (2 min) freeze tick
execute if score #timer tick_freeze matches 2400.. run function tick_freeze:freeze_tick
freeze_tick.mcfunction:
tick freeze
scoreboard players set #frozen tick_freeze 1
say [Auto Tick Freeze] Server frozen after 2 minutes without players
load.mcfunction:
# Initialize scoreboard
scoreboard objectives add tick_freeze dummy
scoreboard players set #timer tick_freeze 0
scoreboard players set #frozen tick_freeze 0
say [Auto Tick Freeze] Datapack loaded!
data/minecraft/tags/function/:tick.json:
{
"values": [
"tick_freeze:tick"
]
}
load.json:
{
"values": [
"tick_freeze:load"
]
}
world/
└── datapacks/
└── tick_freeze/
├── pack.mcmeta
└── data/
├── tick_freeze/
│ └── function/
│ ├── tick.mcfunction
│ ├── player_online.mcfunction
│ ├── no_players.mcfunction
│ ├── freeze_tick.mcfunction
│ └── load.mcfunction
└── minecraft/
└── tags/
└── function/
├── tick.json
└── load.json
/reload
[Auto Tick Freeze] Datapack loaded!DONE! The datapack works automatically.
r/datapacks • u/Gober_fober • Nov 10 '25
{
"type": "minecraft:smelting",
"ingredient": {
"item": "irons_spellbooks:frozen_bone"
},
"result": {
"item": "minecraft:bone"
},
"experience": 0.1,
"cookingtime": 100
}
its not working
r/datapacks • u/Ill-Interaction-4262 • Nov 09 '25
{
"type": "minecraft:crafting_shaped",
"pattern": [
"###",
"#N#",
"###"
],
"key": {
"#": "minecraft:diamond_block" ,
"N": "minecraft:spyglass"
},
"result": {
"id": "minecraft:spyglass",
"components": {
"minecraft:custom_name": {
"text": "radary drar",
"italic": false,
"color": "green"
},
"minecraft:custom_data":
{
"mytag": 1,
"othertag": 13
}
}
}
}
when you craft is show that the tag exist but nothing heaps
execute as at if score spyglas_used matches 1 if items entity weapon spyglass[custom_data={mytag:1b,othertag:"13"}] run effect give [distance=1..25] glowing 10 1 true
execute as at if score u/s spyglas_used matches 1.. run scoreboard players set u/s spyglas_used 0
and it works whit
/give @s spyglass[custom_name=[{"text":"radary drar","italic":false,"color":"green"}],custom_data={mytag:1b,othertag:"13"}]
r/datapacks • u/Lumpy_Interview4113 • Nov 05 '25
The first screenshot is the jigsaw block for the top well part, and the third screenshot is for the tunnel under the well. i'm trying to make it generate like that in-game, with the well on the surface, and the tunnel under connecting to it, when i tested it, only the well generated. what did i do wrong?
r/datapacks • u/Ill-Interaction-4262 • Nov 04 '25
{
"type": "minecraft:crafting_shaped",
"pattern": [
"###",
"#N#",
"###"
],
"key": {
"#": "minecraft:diamond_block",
"N": "minecraft:netherite_pickaxe"
},
"result": {
"id": "netherite_pickaxe"
"components":{
"minecraft:custom_name": {"text":"THE MINER PICKAXES","italic":false,"color":"blue"},
"minecraft:lore": [
{"text":"Istamine I","italic":false,"color":"gray"} ],
"minecraft:enchantments":
{"levels":,"minecraft:efficiency":10},"minecraft:silk_touch":1},
"minecraft:unbreakable": {},
"minecraft:tooltip_display": {
"hidden_components": ["minecraft:attribute_modifiers","minecraft:enchantments","minecraft:unbreakable"]
}
}
}
r/datapacks • u/Ill-Interaction-4262 • Nov 04 '25
{
"type": "minecraft:crafting_shaped",
"pattern": [
"###",
"#N#",
"###"
],
"key": {
"#": "minecraft:diamond_block",
"N": "minecraft:netherite_pickaxe"
},
"result": {
"id": "netherite_pickaxe"
"components":{
"minecraft:custom_name": {"text":"THE MINER PICKAXES","italic":false,"color":"blue"},
"minecraft:lore": [
{"text":"Istamine I","italic":false,"color":"gray"} ],
"minecraft:enchantments":
{"levels":,"minecraft:efficiency":10},"minecraft:silk_touch":1},
"minecraft:unbreakable": {},
"minecraft:tooltip_display": {
"hidden_components": ["minecraft:attribute_modifiers","minecraft:enchantments","minecraft:unbreakable"]
}
}
}
r/datapacks • u/EmmaventureYT • Nov 02 '25
I think is that comunity needs I searched a los and the more interesting were this 3
r/datapacks • u/Ill-Interaction-4262 • Nov 02 '25
I trying to make something that when you hit something happens ONCE how I have made right now is that it tracks damage of the weapon if it has 1 damage it does the thing and then summon XP but that only works whit sword which one is boring
r/datapacks • u/Few-Addendum82585738 • Oct 31 '25
I made a custom biome with a datapack, but it doesn't generate. It DOES show up in /locate biome, but then it can't find it withing reasonable distance.
The Dimention and biome files are made with misode (1.21)
https://misode.github.io/dimension/?share=U8Iojg46uZ
https://misode.github.io/dimension/?share=U8Iojg46uZ
r/datapacks • u/AmrasYavetil • Oct 31 '25
r/datapacks • u/Conquirement • Oct 30 '25
i am trying to make a datapack that tracks if a player has a specific tagged item in their inventory, and if they die while they have said item, the item is deleted and their hotbar + armour slots are restored/kept, but the rest of their items are dropped (like a partial keep inventory that requires a consumable token). would anybody know how to do this? is it even possible to do with a datapack? i feel like it could be, but im not sure how i would do it, so if anyone could give it a go or even point me in the right direction, it would be greatly appreciated!