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
1 vote
0 answers
208 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 ...
user avatar
  • 2,425
2 votes
1 answer
341 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":"...
user avatar
  • 2,425
1 vote
1 answer
689 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 ...
user avatar
  • 2,425
1 vote
1 answer
1k views

What is the function to add a lore to a custom items in a custom loot table

I have created a custom fish that comes out of a custom loot table, and it took a while to get it to have a name. It turned out that there is a function called set_name and I could name the item. Now ...
user avatar
  • 53
4 votes
2 answers
744 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, ...
user avatar
  • 141
2 votes
1 answer
827 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 ...
user avatar
  • 133

1 2
3