diff --git a/CHANGELOG.md b/CHANGELOG.md index e1783d136..cd22b6c29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ - Fixed a dupe with certus quartz @Pyritie - Moved the golden apple recipe over to the food processor so it respects food expiry data @Pyritie - Removed some remaining swine-steel crafting recipes @Pyritie +- Added missing hoe/scythe mineable tags from custom crops (#1622) @Pyritie ## [0.10.9] - 10-08-2025 ### Changes diff --git a/kubejs/startup_scripts/tfg/blocks.crops.js b/kubejs/startup_scripts/tfg/blocks.plants.js similarity index 86% rename from kubejs/startup_scripts/tfg/blocks.crops.js rename to kubejs/startup_scripts/tfg/blocks.plants.js index 2a520e0a0..e24b762bb 100644 --- a/kubejs/startup_scripts/tfg/blocks.crops.js +++ b/kubejs/startup_scripts/tfg/blocks.plants.js @@ -13,6 +13,7 @@ const registerTFGCrops = (event) => { .doubleStages(2) .hardness(0.4) .growthModifier(0.8) + .tagBlock('minecraft:mineable/hoe') .productItem(product => { product.texture('tfg:item/sunflower_product') }) @@ -22,6 +23,7 @@ const registerTFGCrops = (event) => { .deadBlock(dead => { dead.hardness(0.2) dead.soundType('crop') + dead.tagBlock('minecraft:mineable/hoe') }) event.create('tfg:sunflower_wild', 'tfc:wild_crop') @@ -31,6 +33,7 @@ const registerTFGCrops = (event) => { .food('tfg:sunflower_product') .hardness(0.2) .tagBoth('tfc:wild_crops') + .tagBlock('minecraft:mineable/hoe') .tagItem('c:hidden_from_recipe_viewers') event.create('tfg:rapeseed', 'tfc:double_crop') @@ -40,9 +43,11 @@ const registerTFGCrops = (event) => { .stages(3) .doubleStages(3) .hardness(0.4) + .tagBlock('minecraft:mineable/hoe') .deadBlock(dead => { dead.hardness(0.2) dead.soundType('crop') + dead.tagBlock('minecraft:mineable/hoe') }) event.create('tfg:rapeseed_wild', 'tfc:wild_crop') @@ -52,6 +57,7 @@ const registerTFGCrops = (event) => { .food('tfg:rapeseed_product') .hardness(0.2) .tagBoth('tfc:wild_crops') + .tagBlock('minecraft:mineable/hoe') .tagItem('c:hidden_from_recipe_viewers') // Mars @@ -61,6 +67,7 @@ const registerTFGCrops = (event) => { .nutrient('phosphorous') .stages(3) .hardness(0.4) + .tagBlock('minecraft:mineable/hoe') .productItem(product => { product.food(food => { food.hunger(4) @@ -70,6 +77,7 @@ const registerTFGCrops = (event) => { .deadBlock(dead => { dead.hardness(0.2) dead.soundType('crop') + dead.tagBlock('minecraft:mineable/hoe') }) event.create('betterend:amber_root_wild', 'tfc:wild_crop') @@ -79,6 +87,7 @@ const registerTFGCrops = (event) => { .food('betterend:amber_root_product') .hardness(0.2) .tagBoth('tfc:wild_crops') + .tagBlock('minecraft:mineable/hoe') .tagItem('c:hidden_from_recipe_viewers') @@ -87,6 +96,7 @@ const registerTFGCrops = (event) => { .nutrient('potassium') .stages(3) .hardness(0.4) + .tagBlock('minecraft:mineable/hoe') .productItem(product => { product.food(food => { food.hunger(5) @@ -96,6 +106,7 @@ const registerTFGCrops = (event) => { .deadBlock(dead => { dead.hardness(0.2) dead.soundType('crop') + dead.tagBlock('minecraft:mineable/hoe') }) event.create('betterend:blossom_berry_wild', 'tfc:wild_crop') @@ -105,6 +116,7 @@ const registerTFGCrops = (event) => { .food('betterend:blossom_berry_product') .hardness(0.2) .tagBoth('tfc:wild_crops') + .tagBlock('minecraft:mineable/hoe') .tagItem('c:hidden_from_recipe_viewers') @@ -123,9 +135,11 @@ const registerTFGCrops = (event) => { .nutrient('nitrogen') .stages(3) .hardness(0.4) + .tagBlock('minecraft:mineable/hoe') .deadBlock(dead => { dead.hardness(0.2) dead.soundType('crop') + dead.tagBlock('minecraft:mineable/hoe') }) .fruitBlock('betterend:cave_pumpkin') .textureAt(0, "betterend:block/cave_pumpkin_stem_0") @@ -141,6 +155,7 @@ const registerTFGCrops = (event) => { .seeds('betterend:cave_pumpkin_seeds') .hardness(0.2) .tagBoth('tfc:wild_crops') + .tagBlock('minecraft:mineable/hoe') .tagItem('c:hidden_from_recipe_viewers') @@ -150,6 +165,7 @@ const registerTFGCrops = (event) => { .nutrient('phosphorous') .stages(3) .hardness(0.4) + .tagBlock('minecraft:mineable/hoe') .productItem(product => { product.food(food => { food.hunger(2) @@ -161,6 +177,7 @@ const registerTFGCrops = (event) => { .deadBlock(dead => { dead.hardness(0.2) dead.soundType('nether_wart') + dead.tagBlock('minecraft:mineable/hoe') }) event.create('betterend:chorus_mushroom_wild', 'tfc:wild_crop') @@ -171,6 +188,7 @@ const registerTFGCrops = (event) => { .food('betterend:chorus_mushroom_product') .hardness(0.2) .tagBoth('tfc:wild_crops') + .tagBlock('minecraft:mineable/hoe') .tagItem('c:hidden_from_recipe_viewers') @@ -179,6 +197,7 @@ const registerTFGCrops = (event) => { .nutrient('potassium') .stages(3) .hardness(0.4) + .tagBlock('minecraft:mineable/hoe') .productItem(product => { product.food(food => { food.hunger(5) @@ -189,6 +208,7 @@ const registerTFGCrops = (event) => { .deadBlock(dead => { dead.hardness(0.2) dead.soundType('crop') + dead.tagBlock('minecraft:mineable/hoe') }) event.create('betterend:shadow_berry_wild', 'tfc:wild_crop') @@ -198,6 +218,7 @@ const registerTFGCrops = (event) => { .food('betterend:shadow_berry_product') .hardness(0.2) .tagBoth('tfc:wild_crops') + .tagBlock('minecraft:mineable/hoe') .tagItem('c:hidden_from_recipe_viewers') @@ -206,6 +227,7 @@ const registerTFGCrops = (event) => { .nutrient('phosphorous') .stages(3) .hardness(0.4) + .tagBlock('minecraft:mineable/hoe') .productItem(product => { product.food(food => { food.hunger(2) @@ -217,6 +239,7 @@ const registerTFGCrops = (event) => { .deadBlock(dead => { dead.hardness(0.2) dead.soundType('nether_wart') + dead.tagBlock('minecraft:mineable/hoe') }) event.create('betterend:bolux_mushroom_wild', 'tfc:wild_crop') @@ -226,5 +249,6 @@ const registerTFGCrops = (event) => { .food('betterend:bolux_mushroom_product') .hardness(0.2) .tagBoth('tfc:wild_crops') + .tagBlock('minecraft:mineable/hoe') .tagItem('c:hidden_from_recipe_viewers') } \ No newline at end of file