Inital commit
This commit is contained in:
commit
b5089257c5
1005 changed files with 23476 additions and 0 deletions
35
datapacks/xp-bottling/data/xp_bottling/advancement/try_to_bottle_xp.json
Executable file
35
datapacks/xp-bottling/data/xp_bottling/advancement/try_to_bottle_xp.json
Executable file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"criteria": {
|
||||
"default_block_use": {
|
||||
"trigger": "minecraft:default_block_use",
|
||||
"conditions": {
|
||||
"location": [
|
||||
{
|
||||
"condition": "minecraft:block_state_property",
|
||||
"block": "minecraft:enchanting_table"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"slots": {
|
||||
"weapon.mainhand": {
|
||||
"items": "minecraft:glass_bottle"
|
||||
}
|
||||
},
|
||||
"type_specific": {
|
||||
"type": "player",
|
||||
"level": {
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"rewards": {
|
||||
"function": "xp_bottling:try_to_bottle_xp"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue