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

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

How to make a death loot datapack?

So I want to make a data pack to change the death drops of zombies but I don't know how to. When I tried it it got rid of all the zombie loot.
1
vote
0answers
23 views

How can I check for an item in a specific slot in Minecraft using JSON

I'm currently working on an advancement pack for Minecraft and I wanted to be able to check if a player has a certain item in a certain slot of their inventory. This is what I'm working with right now:...
0
votes
0answers
11 views

How can I have an entity loot table that is determined by location?

I've been trying to customize zombie drops depending on which biome it dies. For example, if the zombie dies in plain biome, it drops slime ball. If it dies in river, it drops leather (I choose these ...
0
votes
0answers
18 views

Hoe do I enable multiple resource packs for datapacks on one server?

I was having trouble trying to get my server to have multiple resource packs in one world. In my case, I have many datapacks on my server, but more than one of them require a resource pack, meaning I ...
0
votes
0answers
81 views

How do I make a custom Minecraft 1.15 advancement that's granted when a player gets killed by TNT?

I'm trying to make custom advancements in Minecraft Java Edition 1.15.2 and there's one I can't get working. The advancement is supposed to be granted when a player gets killed by TNT. I've done this ...
-3
votes
1answer
27 views

Minecraft: question about loot tables

I want to make datapack that changes amount of items dropped from mined blocks and killed mobs by player, in range from 1 to 1024 for example, how can it be done? I know how to change dropped items to ...
1
vote
2answers
234 views

Datapacks question: Craft Enchanted Items

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 ...
-2
votes
2answers
878 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 ...
-1
votes
1answer
38 views

How can I get a list of every item with a unique ID in Minecraft 1.14.4?

How can I get a list of every item with a unique ID in Minecraft 1.14.4 in an easy-to-process format? I'm making a data pack that requires a loot table with every item, and it would take much too long ...
-1
votes
1answer
38 views

How do I make a loot table in Minecraft give one of several items?

How do I make a loot table in Minecraft give me one of several items? I'm setting up a data pack where every player gets a random item every ten seconds, and want it to be less resource-intensive. I ...
0
votes
0answers
26 views

Currently creating a datapack for a custom recipe but i dont know how to name my result after the items have been put in [duplicate]

So I'm using a JSON editor to create my crafting recipe and at the moment I can't seem to figure out how to name my result item. Any help? Code: { "type": "minecraft:crafting_shaped", "...
0
votes
1answer
813 views

Minecraft 1.14.4 Functions not working

In Minecraft 1.14.4, I am trying to learn to make simple functions, but I can't find any information about how to fix the problem I am having. My files are in <world name>\datapacks\<...
1
vote
1answer
196 views

Biome-specific music with resource packs?

So, I saw a suggestion on r/Minecraft talking about biome-specific music, and wondered if it was possible with resource packs? I doubt it is, but i know there are some Minecraft gods out there. I also ...
0
votes
2answers
248 views

Minecraft datapack with a void dimension?

I'd like to outsource sone of my more client-heavy machinery in 1.14.4 Java Edition to a custom void dimension. I haven't reached the End yet, which might be one alternative solution to this issue. ...
0
votes
0answers
3k views

Minecraft Datapacks functions not working

I use 1.14.4 and when I put datapacks in the server, I cant find the functions and they dont appear or work when I manually put them in. I am using a home hosted server and am trying to get datapacks ...
1
vote
0answers
84 views

(Java Minecraft 1.14) Loot table reward won't stack with /given item, even though they have the same nbt?

I have an item in a datapack which has a supplemental function to give it straight to the player (for testing), and an entry in a loot table (which is how survival players get it). I recently noticed ...
1
vote
0answers
144 views

(Java Minecraft 1.14) How to simulate overworld terrain generation?

I need to scatter a specific floating-island structure (stored in a structure file in a datapack) randomly throughout the overworld, so that there is one island approximately every 1000 blocks in any ...
2
votes
1answer
109 views

(Java Minecraft 1.14) How to give effects in a function rewarded by an advancement?

I have a function triggered by an advancement that is supposed to give the player nausea and strength. It looks like this: tellraw @s [{"text":"[","color":"dark_aqua"},{"selector":"@s","color":"...
1
vote
1answer
193 views

(Java Minecraft 1.14) How to set the probability of nested entries in a loot table?

I'm trying to add a new drop, 'Dark Quartz', as a rare drop for the nether quartz ore, using a datapack. I want to replace the old loot table and add a new one, so I've copied the vanilla one out of ...
3
votes
1answer
546 views

Custom Advancements and Functions 1.13.2

I'm setting up a new server, and would like to have some custom Advancements. I was thinking of using these as a way to start new players out with some basics...as they go through the spawn room, ...
2
votes
1answer
567 views

Sub-tick loops in functions without recursions

We all know that adding the minecraft:tick tag to a function can make the function run once every tick, but this would create a really slow loop. The question is, how to complete a loop in a single ...