Celeb Glow
news | May 03, 2026

Questions tagged [minecraft-data-packs]

Ask Question

Used for questions about server-side packs that add or change recipes, advancements, structures and more in Minecraft Java edition. Always use with the [minecraft-java-edition] tag.

98 questions
0 votes 1 answer 14 views

How to detect if an item is dropped near an armor stand?

I'm trying to make a sort of shrine system where a player can drop a set number of items, say five gold ingots near a shrine, which is a block with an armor stand inside of it, and be given a ... user avatar Alex Sash
  • 101
1 vote 0 answers 25 views

How to print the name of the block under me in Minecraft?

If wanted to make a data pack that takes the block under me and then says: "The block under me is [block]". How would I do that? If this was like a mix between Java and Minecraft then it ... user avatar Danny Theis
  • 11
1 vote 1 answer 36 views

Summon/data merge villager with Explorer Map trade

As the title states, I would like to add an explorer map to a summon villager command but nothing seems to be working. More specifically, I would like to append that trade to an existing villager. Is ... user avatar Aceplante
  • 794
2 votes 1 answer 68 views

Is it possible to create a custom ore and add it to world generation with a Datapack?

As the title suggests, I am wanting to add custom ores to the game (I.E. new gemstones like ruby, sapphire, topaz, etc), but I have no clue how to control world generation to add such a thing. I tried ... user avatar PythonWarrior
  • 78
0 votes 1 answer 26 views

Incrementing attributes in Minecraft

I want to figure out how to increment a player's health without writing 225 lines of Datapack code. I cannot find any way to do this. I've tried : execute at @a run execute unless score @p custHealth ... user avatar 2wen
  • 37
2 votes 0 answers 84 views

Proper path to modify villager anger?

I would like to make villagers angry on command. I assume I need to use /data modify, but I do not know the proper <targetPath>. I have the following so far: execute as @e[type=villager] run ... user avatar Aceplante
  • 794
1 vote 0 answers 61 views

Giving an advancement on crafting a recipe

I have a datapack and in the datapack is a custom crafting recipe. In the advancements folder, I have created an advancement which should trigger when I craft the recipe. However if I craft the item I ... user avatar user13749822
  • 37
1 vote 0 answers 72 views

Issues with overwriting crafting recipe in Minecraft Data Pack

I'm new to making resource packs for Minecraft Java and have decided to try to create some custom crafting. I've tried to change the recipe for black dye, requiring you to craft it with a diamond. I ... user avatar user13749822
  • 37
2 votes 0 answers 62 views

Testing for if an item entity has an ID matching a list of item names

I am making a datapack that uses copper as a fuel, however part of that means that I need to be able to test an item when it is on the ground to see if it is one of the 37 copper items. I have already ... user avatar Accorwolf
  • 101
0 votes 1 answer 61 views

Command is running weirdly from load.json (datapack)

Could someone help me? I am thoroughly confused. I have a command in my datapack that is executed from load.json function: execute unless entity @e [type=armor_stand,name=team_lives,scores={... user avatar Chickblock2
  • 1
4 votes 1 answer 79 views

What structures can be placed with a structure block?

I would like to edit/replace the swamp hut and mineshafts, but I am not sure what the namespace/path is. So does anyone know of a list of the structures that can be placed with the structure block and ... user avatar Aceplante
  • 794
0 votes 2 answers 68 views

Storing a player's location and teleporting the player back to it later in Java Minecraft

I'm looking for a way to store a player's current location (probably in the scoreboard as separate X, Y and Z) and teleport the player to that location later. I'm not completely familiar with the ... user avatar HYBR1D
  • 193
0 votes 1 answer 79 views

Why is my datapack so laggy?

For every single function I have added so far, I have been careful to add tag checks. For example, if I want to replace the ... user avatar Aceplante
  • 794
2 votes 1 answer 69 views

Execute as mobs wearing any type of armor?

I am making a datapack that adds weight (slight movement speed penalty) to armor using attributes. I got it working for players using the command: execute as @e[type=player,nbt={Inventory:[{Slot:100b}]... user avatar Aceplante
  • 794
1 vote 1 answer 31 views

Tall flower loot table issue

Since tall flowers are considered two blocks, both halves trigger a loot table when broken. In vanilla, the game gets around this by having the loot tables check (and only drop the flower) if it is a ... user avatar Aceplante
  • 794

15 30 50 per page123457