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
11 views

Is it possible to make multiple different ender chest storages with commands or data packs in a Minecraft world?

I've made some mini games on a realms world and amongst them is something more like an adventure map (non-linear) where you collect items from enemies and such. For this to work, I needed to use ender ...
1
vote
0answers
10 views

How do you import/export minecraft texture packs onto Ps4 Bedrock Edition?

So, I've been trying to add textures to my worlds because it's getting old seeing the same look of cobblestone. I've tried everything I can, downloading .mcpack files, going to ps4 menu and to saved ...
3
votes
0answers
39 views

How to protect a player from firework rocket explosion damage?

I try to make a pvp server that players are able to attack each other by using a crossbow loaded with firework rocket.The problem is if the player fires his crossbow too close to themself, they will ...
1
vote
0answers
10 views

Is there a way to make naturally generated extra-large biomes?

I'm trying to figure out a way for a 1.16 bukkit/spigot-enabled-server to generate biomes that are even larger than the classic "Large Biomes" settings (like WAY larger), but I'm struggling ...
0
votes
1answer
31 views

How can I make members of a Team in Minecraft Invulnerable?

I have a small Java Server on 1.16.1 and use a Vanilla Tweaks datapack ("AFK Display")to have people that stand still for 5+ minutes be considered AFK. This datapack puts them in a team to ...
1
vote
0answers
36 views

Why does /trigger have no objectives/commands after installing a datapack that has /trigger commands?

Disclaimer: I know this is similar to a previous question I asked that is related to this issue, but it was a bit too specific, and I've decided to ask a more general/focused question this time in the ...
1
vote
1answer
48 views

Removing a specific trade from a villager (minecraft 1.16)

I'm trying to make it so that when a villager runs out of stock of a specific trade, it removes that trade from the villager. I'm stuck at the part where I remove the trade. So far I can only wipe the ...
0
votes
1answer
50 views

Is there a way to change what occurs when a specific block is broken?

I am essentially looking for a way to do three things related to when a block is broken: a) Change a block's "loot table" (what the block drops), either single or multiple item/block drops b)...
0
votes
0answers
36 views

How do I continue a data pack function even when a command fails? [closed]

I am very new to data packs, and while messing around with /execute I ran into a problem. As of 1.16.1 there is no "else" subcommand for the /execute command, meaning I have to do something ...
1
vote
0answers
247 views

/trigger not working for datapacks in a specific Minecraft singleplayer world [closed]

I just tried installing some of the datapacks on VanillaTweaks for 1.14 (https://vanillatweaks.net/picker/datapacks/), and after following installment procedures, I was baffled to see that I couldn't ...
0
votes
0answers
18 views

using spawn egg in data pack [duplicate]

I am trying to make a data pack where there are multiple bat spawn eggs with different textures for each one. I am doing this for a mini game I'm making. I have tried many different things to have ...
-1
votes
1answer
293 views

A few general questions about datapacks [closed]

I've been working on a survival world in Minecraft 1.14 recently and I've considered installing some of the datapacks used in Hermitcraft S7 (Vanilla Tweaks, by Xisumavoid: https://vanillatweaks.net/...
1
vote
0answers
26 views

How to select an entity that have same data as another

Suppose there are two players on a server: player A and player B. Each player has 2 tamed dogs which therefore have the Owner data corresponding to their owner. What I want to do is teleport player A'...
0
votes
1answer
456 views

How do i run a minecraft datapack function when a player has a specific item in their inventory? (minecraft 1.15)

I'm making a datapack and in it I need to check (in a mcfunction file) if any player (@a) has a specific item in their inventory (minecraft:gold_ingot{coin:1}) if so, I need to run a function (gc:...
0
votes
0answers
14 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
31 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:...
1
vote
1answer
47 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 ...
2
votes
0answers
86 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
313 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 ...
-1
votes
1answer
86 views

Multiple loot tables in one datapack

So I have a slight issue with loot tables, I created three separate tables and whenever I go in and give myself the chest variant of the loot table it seems to sometimes not work on the others. So for ...
-3
votes
1answer
29 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
968 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 ...
-2
votes
2answers
2k 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
41 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
99 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
30 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
2k 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
500 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
594 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
6k 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
1answer
138 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
177 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
182 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
311 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
2answers
617 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
670 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 ...