Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions datapack/data/load/functions/__init.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# If you are a user of this library, do not modify this function, or you risk
# causing compatibility issues with other data packs. If you have a good reason
# to *add* something, feel free to make an issue on the GitHub for this project:
# https://github.com/LanternMC/Load

# Add the common objective to be used for version resolution.
scoreboard objectives add load dummy

# Reset all scores on this objective to allow for version resolution on reload.
scoreboard players reset * load

# Call a nonexistent function to allow for this data pack to be extended later.
function load:__init2
8 changes: 8 additions & 0 deletions datapack/data/load/tags/functions/__init.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"values": [
"load:__init",
"#load:standard",
"#load:load",
"#load:post_load"
]
}
3 changes: 3 additions & 0 deletions datapack/data/load/tags/functions/standard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"values": []
}
2 changes: 1 addition & 1 deletion datapack/data/minecraft/tags/functions/load.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"values": [
"#vplib:load/init"
"#load:__init"
]
}
6 changes: 3 additions & 3 deletions datapack/data/vplib/functions/recipes/crafted/cake.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
data modify storage vplib:temp ignoredSlots set value [2b,3b,4b]

# Set items in the grid(It's a shaped recipe, so the buckets will always be in the same slot)
replaceitem block ~ ~ ~ container.2 minecraft:bucket
replaceitem block ~ ~ ~ container.3 minecraft:bucket
replaceitem block ~ ~ ~ container.4 minecraft:bucket
item replace block ~ ~ ~ container.2 with minecraft:bucket
item replace block ~ ~ ~ container.3 with minecraft:bucket
item replace block ~ ~ ~ container.4 with minecraft:bucket
6 changes: 0 additions & 6 deletions datapack/data/vplib/tags/functions/load/init.json

This file was deleted.