# Copy the last stone slot to a temp array
data modify storage temp Items[] set from block ~ ~ ~ Items[{id:"minecraft:stone"}]
# get the count in a scoreboard and remove one
execute store result storage temp Items[0].Count byte 1 run data get storage temp Items[0].Count 0.99
# Copy the last slot to the output items
data modify block ~ ~ ~ Items append from storage temp Items[0]
This file contains hidden or 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
{ | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": [ | |
"source.mcfunction", | |
"string.unquoted.mcfunction" | |
], | |
"settings": { | |
"foreground": "#bbbbbb" |
This file contains hidden or 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
## 1.11 | |
https://www.mojang.com/2016/09/minecraft-snapshot-16w35a/ | |
https://www.mojang.com/2016/09/minecraft-snapshot-16w36a/ | |
https://www.mojang.com/2016/09/minecraft-snapshot-16w38a/ | |
https://www.mojang.com/2016/09/minecraft-snapshot-16w39a-the-exploration-update/ | |
https://www.mojang.com/2016/10/minecraft-snapshot-16w40a/ | |
https://www.mojang.com/2016/10/minecraft-snapshot-16w41a/ | |
https://www.mojang.com/2016/10/minecraft-snapshot-16w42a/ | |
https://www.mojang.com/2016/10/minecraft-snapshot-16w43a/ | |
https://www.mojang.com/2016/11/seek-out-the-exploration-update-111-on-pc-mac-now/ |
This file contains hidden or 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 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 hidden or 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 hidden or 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" }, |
This file contains hidden or 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 hidden or 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
data merge entity @s[type=minecart] {CustomDisplayTile:1,DisplayState:{Name:"minecraft:command_block",Properties:{conditional:"true",facing:"down"}},DisplayOffset:4} | |
data merge entity @s[type=chest_minecart] {CustomDisplayTile:1,DisplayState:{Name:"minecraft:command_block",Properties:{conditional:"true",facing:"up"}},DisplayOffset:4} | |
data merge entity @s[type=furnace_minecart] {CustomDisplayTile:1,DisplayState:{Name:"minecraft:command_block",Properties:{conditional:"true",facing:"north"}},DisplayOffset:4} | |
data merge entity @s[type=tnt_minecart] {CustomDisplayTile:1,DisplayState:{Name:"minecraft:command_block",Properties:{conditional:"true",facing:"south"}},DisplayOffset:4} | |
data merge entity @s[type=hopper_minecart] {CustomDisplayTile:1,DisplayState:{Name:"minecraft:command_block",Properties:{conditional:"true",facing:"west"}},DisplayOffset:4} | |
tag @s add invisible_minecart |
