Ability to detect block NBT within loot tables- Addition of an optional loot table argument in
/loot ... mine
- New entry type in loot tables that runs a function
data resolve
to resolve text components in NBT- Loot table tags. With a new entry type
loot_table_tag
, similar totag
. It also hasexpand
that acts the same. - New entry type in loot tables that drops xp. If the loot table is used in a container, the container will store the xp, like it does currently with furnaces.
- New entry type in loot tables that will insert the loot table that you are replacing. For example if you want to add a new drop to a vanilla loot table without copying the vanilla loot table. This allows multiple datapacks to each add their own drops to an existing loot table. https://gist.github.com/misode/728b6251adfcdef5f71e50e51e002059
- Selecting sublists in NBT arrays with nbt paths. This could have the following syntax:
Items[2..5]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"condition": "minecraft:inverted", | |
"term": { | |
"condition": "minecraft:alternative", | |
"terms": [ | |
{ | |
"condition": "minecraft:inverted", | |
"term": { | |
"condition": "minecraft:location_check", | |
"offsetY": 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"values": [ | |
"test:load" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"textures": { | |
"0": "minecart/minecart", | |
"1": "minecart/chest" | |
}, | |
"elements": [ | |
{ | |
"name": "Cube", | |
"from": [ 1.0, 4.0, 1.0 ], | |
"to": [ 15.0, 18.0, 15.0 ], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifest_version": 2, | |
"name": "Mojira Shortener", | |
"version": "0.1", | |
"content_scripts": [ | |
{ | |
"matches": [ | |
"https://bugs.mojang.com/*" | |
], | |
"js": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 0 0 ### | |
[] | |
### 1 0 ### | |
[] | |
### 2 0 ### | |
[] | |
### 3 7 ### |
This is a proposal for a way to include the loot table that is being overwritten by the new data pack. This can be useful if you want to partially overwrite a vanilla loot table, but want it to be future proof. Or if you also want other data packs to be able to overwrite the same vanilla loot table. This is currently not possible.
The first data pack loads the initial loot table.
{
"pools": [
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bonus_chest": false, | |
"dimensions": { | |
"minecraft:overworld": { | |
"generator": { | |
"biome_source": { | |
"seed": -1464245863, | |
"large_biomes": false, | |
"type": "minecraft:vanilla_layered" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variants": { | |
"conditional=false,facing=down": { "model": "block/command_block", "x": 90 }, | |
"conditional=false,facing=up": { "model": "block/command_block", "x": 270 }, | |
"conditional=false,facing=north": { "model": "block/command_block" }, | |
"conditional=false,facing=south": { "model": "block/command_block", "y": 180 }, | |
"conditional=false,facing=west": { "model": "block/command_block", "y": 270 }, | |
"conditional=false,facing=east": { "model": "block/command_block", "y": 90 }, | |
"conditional=true,facing=down": { "model": "block/minecart/empty" }, | |
"conditional=true,facing=up": { "model": "block/minecart/chest" }, |