Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
One-Nose committed Jun 29, 2023
0 parents commit 9fa42ce
Show file tree
Hide file tree
Showing 103 changed files with 5,849 additions and 0 deletions.
146 changes: 146 additions & 0 deletions data/minecraft/loot_tables/blocks/acacia_leaves.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"items": [
"minecraft:shears"
]
}
},
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"nbt": "{Tags: [\"silky_hands\"]}"
}
}
]
}
],
"name": "minecraft:acacia_leaves"
},
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:survives_explosion"
},
{
"condition": "minecraft:table_bonus",
"enchantment": "minecraft:fortune",
"chances": [
0.05,
0.0625,
0.083333336,
0.1
]
}
],
"name": "minecraft:acacia_sapling"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:table_bonus",
"enchantment": "minecraft:fortune",
"chances": [
0.02,
0.022222223,
0.025,
0.033333335,
0.1
]
}
],
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 2.0,
"type": "minecraft:uniform"
}
},
{
"function": "minecraft:explosion_decay"
}
],
"name": "minecraft:stick"
}
],
"conditions": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"items": [
"minecraft:shears"
]
}
},
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"nbt": "{Tags: [\"silky_hands\"]}"
}
}
]
}
}
]
}
]
}
61 changes: 61 additions & 0 deletions data/minecraft/loot_tables/blocks/bee_nest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:copy_nbt",
"source": "block_entity",
"ops": [
{
"source": "Bees",
"target": "BlockEntityTag.Bees",
"op": "replace"
}
]
},
{
"function": "minecraft:copy_state",
"block": "minecraft:bee_nest",
"properties": [
"honey_level"
]
}
],
"name": "minecraft:bee_nest"
}
],
"conditions": [
{
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"nbt": "{Tags: [\"silky_hands\"]}"
}
}
]
}
]
}
]
}
70 changes: 70 additions & 0 deletions data/minecraft/loot_tables/blocks/beehive.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"nbt": "{Tags: [\"silky_hands\"]}"
}
}
]
}
],
"functions": [
{
"function": "minecraft:copy_nbt",
"source": "block_entity",
"ops": [
{
"source": "Bees",
"target": "BlockEntityTag.Bees",
"op": "replace"
}
]
},
{
"function": "minecraft:copy_state",
"block": "minecraft:beehive",
"properties": [
"honey_level"
]
}
],
"name": "minecraft:beehive"
},
{
"type": "minecraft:item",
"name": "minecraft:beehive"
}
]
}
]
}
]
}
Loading

0 comments on commit 9fa42ce

Please sign in to comment.