Skip to content

Commit

Permalink
Converted block loot tables to datagen
Browse files Browse the repository at this point in the history
  • Loading branch information
Forstride committed Apr 25, 2024
1 parent bc7586b commit b43a961
Show file tree
Hide file tree
Showing 412 changed files with 5,598 additions and 3,966 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@
],
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/algal_end_stone"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:anomaly"
}
],
"conditions": [
{
"condition": "minecraft:match_tool",
Expand All @@ -24,7 +17,15 @@
]
}
}
]
],
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:anomaly"
}
],
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/anomaly"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,23 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:glowworm_silk"
}
],
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "biomesoplenty:shears"
}
}
]
],
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:barley"
}
],
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/barley"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:barnacles"
}
],
"conditions": [
{
"condition": "minecraft:match_tool",
Expand All @@ -24,7 +17,15 @@
]
}
}
]
],
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:barnacles"
}
],
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/barnacles"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:black_sand"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/black_sand"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:black_sandstone"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/black_sandstone"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,34 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:set_count",
"add": false,
"conditions": [
{
"condition": "minecraft:block_state_property",
"block": "biomesoplenty:black_sandstone_slab",
"condition": "minecraft:block_state_property",
"properties": {
"type": "double"
}
}
],
"count": 2
"count": 2.0,
"function": "minecraft:set_count"
},
{
"function": "minecraft:explosion_decay"
}
],
"name": "biomesoplenty:black_sandstone_slab"
}
]
],
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/black_sandstone_slab"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:black_sandstone_stairs"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/black_sandstone_stairs"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:black_sandstone_wall"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/black_sandstone_wall"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:blackstone_bulb"
}
],
"conditions": [
{
"condition": "minecraft:match_tool",
Expand All @@ -24,7 +17,15 @@
]
}
}
]
],
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:blackstone_bulb"
}
],
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/blackstone_bulb"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:blackstone_spines"
}
],
"conditions": [
{
"condition": "minecraft:match_tool",
Expand All @@ -24,7 +17,15 @@
]
}
}
]
],
"entries": [
{
"type": "minecraft:item",
"name": "biomesoplenty:blackstone_spines"
}
],
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/blackstone_spines"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:block_state_property",
"block": "biomesoplenty:blue_hydrangea",
"condition": "minecraft:block_state_property",
"properties": {
"half": "lower"
}
Expand All @@ -18,11 +23,8 @@
"name": "biomesoplenty:blue_hydrangea"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
"rolls": 1.0
}
]
],
"random_sequence": "biomesoplenty:blocks/blue_hydrangea"
}
Loading

0 comments on commit b43a961

Please sign in to comment.