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
4 votes
2 answers
5k views

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

I'm wondering about whether it is possible to change part of an NBT or add NBT to an item that a player is holding. My goal is to make custom enchants. For example when a player uses an item to ...
user avatar
2 votes
2 answers
4k 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 ...
user avatar
  • 49
2 votes
1 answer
148 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
1 vote
1 answer
213 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 ...
user avatar
  • 971
-2 votes
2 answers
4k 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 ...
user avatar
  • 103