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- Bountied 0
- Unanswered
- Frequent
- Score
- Unanswered (my tags)
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 ... minecraft-java-edition minecraft-commands minecraft-data-packs- 101
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 ... minecraft-java-edition minecraft-commands minecraft-data-packs- 11
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 ... minecraft-java-edition minecraft-commands minecraft-data-packs- 794
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 ... minecraft-java-edition minecraft-commands minecraft-data-packs- 78
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 ... minecraft-java-edition minecraft-commands minecraft-data-packs- 37
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 ... minecraft-java-edition minecraft-commands minecraft-data-packs- 794
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 ... minecraft-java-edition minecraft-data-packs- 37
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 ... minecraft-java-edition minecraft-data-packs- 37
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 ... minecraft-java-edition minecraft-commands minecraft-data-packs- 101
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={... minecraft-java-edition minecraft-commands minecraft-data-packs- 1
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 ... minecraft-java-edition minecraft-data-packs- 794
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 ... minecraft-java-edition minecraft-commands minecraft-data-packs- 193
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 ... minecraft-java-edition minecraft-data-packs- 794
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}]... minecraft-java-edition minecraft-data-packs- 794
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 ... minecraft-java-edition minecraft-data-packs- 794
15 30 50 per page12345…7 Next