Loot tables

This commit is contained in:
2026-10-08 00:54:45 -03:00
parent 757ee74bc7
commit ec2b53c02a
45 changed files with 1733 additions and 150 deletions
+2 -6
View File
@@ -53,6 +53,7 @@
"mining": {
"toughness": 0
},
"loot_table": "farmersdelight:blocks/cabbages",
"item": false,
"place_on": [
"bworld:hoed_dirt"
@@ -68,12 +69,7 @@
"bworld:crop": {
"days": 12,
"stages": 8,
"fertilizer": "bworld:bone_meal",
"drops": {
"young": "farmersdelight:cabbage_seeds",
"mature": "farmersdelight:cabbage",
"bonus": "farmersdelight:cabbage_seeds"
}
"fertilizer": "bworld:bone_meal"
}
}
}
+2 -6
View File
@@ -33,6 +33,7 @@
"mining": {
"toughness": 0
},
"loot_table": "farmersdelight:blocks/onions",
"item": false,
"place_on": [
"bworld:hoed_dirt"
@@ -48,12 +49,7 @@
"bworld:crop": {
"days": 4,
"stages": 4,
"fertilizer": "bworld:bone_meal",
"drops": {
"young": "farmersdelight:onion",
"mature": "farmersdelight:onion",
"bonus": "farmersdelight:onion"
}
"fertilizer": "bworld:bone_meal"
}
}
}
+2 -5
View File
@@ -40,6 +40,7 @@
"mining": {
"toughness": 0
},
"loot_table": "farmersdelight:blocks/rice",
"item": false,
"place_on": [
"bworld:dirt",
@@ -67,11 +68,7 @@
"stages": 4,
"supporting_age": 4
},
"leaves": "bworld:water",
"drops": {
"young": "farmersdelight:rice",
"mature": "farmersdelight:rice"
}
"leaves": "bworld:water"
}
}
}
@@ -33,6 +33,7 @@
"mining": {
"toughness": 0
},
"loot_table": "farmersdelight:blocks/rice_panicles",
"item": false,
"place_on": [
"farmersdelight:rice"
@@ -46,10 +47,7 @@
],
"components": {
"bworld:crop_top": {
"stages": 4,
"drops": {
"mature": "farmersdelight:rice_panicle"
}
"stages": 4
}
}
}
+2 -14
View File
@@ -53,6 +53,7 @@
"mining": {
"toughness": 0
},
"loot_table": "farmersdelight:blocks/tomatoes",
"item": false,
"place_on": [
"bworld:hoed_dirt"
@@ -70,20 +71,7 @@
"stages": 8,
"fertilizer": "bworld:bone_meal",
"regrow_days": 4,
"harvest": {
"item": "farmersdelight:tomato",
"count": [
1,
2
]
},
"drops": {
"young": "farmersdelight:tomato_seeds",
"mature": [
"farmersdelight:tomato",
"farmersdelight:tomato_seeds"
]
}
"harvest": "farmersdelight:harvest/tomatoes"
}
}
}
@@ -0,0 +1,61 @@
{
"format_version": 1,
"loot_table": {
"pools": [
{
"entries": [
{
"item": "farmersdelight:cabbage",
"conditions": [
{
"condition": "block_state",
"states": {
"age": 7
}
}
]
},
{
"item": "farmersdelight:cabbage_seeds",
"conditions": [
{
"condition": "inverted",
"term": {
"condition": "block_state",
"states": {
"age": 7
}
}
}
]
}
]
},
{
"conditions": [
{
"condition": "block_state",
"states": {
"age": 7
}
}
],
"entries": [
{
"item": "farmersdelight:cabbage_seeds",
"functions": [
{
"function": "set_count",
"count": {
"n": 3,
"p": 0.5714
},
"add": true
}
]
}
]
}
]
}
}
@@ -0,0 +1,39 @@
{
"format_version": 1,
"loot_table": {
"pools": [
{
"entries": [
{
"item": "farmersdelight:onion"
}
]
},
{
"conditions": [
{
"condition": "block_state",
"states": {
"age": 3
}
}
],
"entries": [
{
"item": "farmersdelight:onion",
"functions": [
{
"function": "set_count",
"count": {
"n": 3,
"p": 0.5714
},
"add": true
}
]
}
]
}
]
}
}
@@ -0,0 +1,14 @@
{
"format_version": 1,
"loot_table": {
"pools": [
{
"entries": [
{
"item": "farmersdelight:rice"
}
]
}
]
}
}
@@ -0,0 +1,22 @@
{
"format_version": 1,
"loot_table": {
"pools": [
{
"conditions": [
{
"condition": "block_state",
"states": {
"age": 3
}
}
],
"entries": [
{
"item": "farmersdelight:rice_panicle"
}
]
}
]
}
}
@@ -0,0 +1,29 @@
{
"format_version": 1,
"loot_table": {
"pools": [
{
"entries": [
{
"item": "farmersdelight:tomato_seeds"
}
]
},
{
"conditions": [
{
"condition": "block_state",
"states": {
"age": 7
}
}
],
"entries": [
{
"item": "farmersdelight:tomato"
}
]
}
]
}
}
@@ -0,0 +1,18 @@
{
"format_version": 1,
"loot_table": {
"pools": [
{
"entries": [
{
"item": "farmersdelight:tomato",
"count": {
"min": 1,
"max": 2
}
}
]
}
]
}
}