Skip to main content

Questions tagged [minecraft-data-packs]

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.

Filter by
Sorted by
Tagged with
6 votes
2 answers
14k views

How can I modify an item while it is inside the player's inventory?

I'm wondering whether it is possible to change part of the NBT or add NBT to an item that a player is holding. My goal is to make custom enchantments. For example, my system is set up so that when a ...
Wicked Grinn's user avatar
2 votes
2 answers
5k views

Datapacks question: Craft Enchanted Items [duplicate]

The title explains most of it for you. I basically want a cursed crafting recipe However, I want the resulting wooden pickaxe to be enchanted with sharpness (for absolutely no reason). I tried ...
HalpMe's user avatar
  • 49
2 votes
1 answer
865 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 ...
TheEngineerGuy's user avatar
1 vote
1 answer
480 views

Teleport to Scaled Coordinates?

I am working on a datapack and would like the give the end dimension a coordinate scale like the nether (so it can be used for fast travel). So I set the coordinate scale to 16 in the json file and it ...
Aceplante's user avatar
  • 1,538
-2 votes
2 answers
5k views

Minecraft Datapack drop X blocks instead of One when Destroying any block

I want to create a Datapack. My goal is to drop more than one items when destroying a block in Minecraft. For example: When I destroy a grass-block it drops default One dirt-block. But I want (for ...
Jonathan's user avatar
  • 103