added mars trees to the tree chop mod

loot tables for mars "leaves", recipes for plant balls/biomass
This commit is contained in:
Pyritie 2025-10-04 23:59:19 +01:00
parent 4eb2c49cbf
commit 468d1d0e01
12 changed files with 471 additions and 100 deletions

View file

@ -1,104 +1,124 @@
{
"disableCrouchMining": false,
"disableExtraToolDamage": false,
"disableExtraFoodExhaustion": false,
"treeLifetimeLength": 4.0,
"dynamicMiningSpeed": {
"disable": false,
"speedMultiplication": 0.05,
"maxSpeedMultiplication": 16.0
},
"trees": {
"standardTree": {
"algorithm": {
"maxLeavesRadius": 15,
"maxLogAmount": 512,
"shouldFallOnMaxLogAmount": true,
"shouldIgnorePersistentLeaves": true
},
"logFilter": {
"whitelistedTags": [
"minecraft:logs"
],
"whitelist": [],
"blacklist": []
},
"leavesFilter": {
"whitelistedTags": [
"minecraft:leaves"
],
"whitelist": [],
"blacklist": []
},
"extraBlockFilter": {
"whitelistedTags": [],
"whitelist": [
"minecraft:vine",
"minecraft:bee_nest",
"minecraft:cocoa"
],
"blacklist": []
},
"enabled": true,
"onlyFallWithRequiredTool": false,
"allowedToolFilter": {
"whitelistedTags": [
"minecraft:axes"
],
"whitelist": [],
"blacklist": []
}
"disableCrouchMining": false,
"disableExtraToolDamage": false,
"disableExtraFoodExhaustion": false,
"treeLifetimeLength": 4.0,
"dynamicMiningSpeed": {
"disable": false,
"speedMultiplication": 0.05,
"maxSpeedMultiplication": 16.0
},
"verticalTree": {
"filter": {
"whitelistedTags": [],
"whitelist": [
"minecraft:cactus",
"minecraft:bamboo"
],
"blacklist": []
},
"enabled": true,
"onlyFallWithRequiredTool": false,
"allowedToolFilter": {
"whitelistedTags": [],
"whitelist": [],
"blacklist": []
}
},
"chorusTree": {
"enabled": true,
"onlyFallWithRequiredTool": false,
"allowedToolFilter": {
"whitelistedTags": [],
"whitelist": [],
"blacklist": []
}
},
"mushroomTree": {
"stemFilter": {
"whitelistedTags": [],
"whitelist": [
"minecraft:mushroom_stem"
],
"blacklist": []
},
"capFilter": {
"whitelistedTags": [],
"whitelist": [
"minecraft:red_mushroom_block",
"minecraft:brown_mushroom_block",
"minecraft:shroomlight"
],
"blacklist": []
},
"enabled": true,
"onlyFallWithRequiredTool": false,
"allowedToolFilter": {
"whitelistedTags": [],
"whitelist": [],
"blacklist": []
}
"trees": {
"standardTree": {
"algorithm": {
"maxLeavesRadius": 22,
"maxLogAmount": 512,
"shouldFallOnMaxLogAmount": true,
"shouldIgnorePersistentLeaves": true
},
"logFilter": {
"whitelistedTags": [
"minecraft:logs"
],
"whitelist": [
"minecraft:mushroom_stem",
"beneath:wood/log/crimson",
"beneath:wood/stripped_log/crimson",
"beneath:wood/wood/crimson",
"beneath:wood/stripped_wood/crimson",
"beneath:wood/log/warped",
"beneath:wood/stripped_log/warped",
"beneath:wood/wood/warped",
"beneath:wood/stripped_wood/warped",
"ad_astra:aeronos_stem",
"ad_astra:strophar_stem"
],
"blacklist": []
},
"leavesFilter": {
"whitelistedTags": [
"minecraft:leaves"
],
"whitelist": [
"minecraft:red_mushroom_block",
"minecraft:brown_mushroom_block",
"minecraft:shroomlight",
"species:alphacene_mushroom_block",
"species:alphacene_mushroom_growth",
"minecraft:nether_wart_block",
"minecraft:warped_wart_block",
"beneath:wood/leaves/crimson",
"beneath:wood/leaves/warped",
"ad_astra:aeronos_cap",
"ad_astra:strophar_cap"
],
"blacklist": []
},
"extraBlockFilter": {
"whitelistedTags": [],
"whitelist": [
"minecraft:vine",
"minecraft:bee_nest",
"minecraft:cocoa"
],
"blacklist": []
},
"enabled": true,
"onlyFallWithRequiredTool": false,
"allowedToolFilter": {
"whitelistedTags": [
"minecraft:axes"
],
"whitelist": [],
"blacklist": []
}
},
"verticalTree": {
"filter": {
"whitelistedTags": [],
"whitelist": [
"minecraft:cactus",
"minecraft:bamboo"
],
"blacklist": []
},
"enabled": true,
"onlyFallWithRequiredTool": false,
"allowedToolFilter": {
"whitelistedTags": [
"minecraft:axes"
],
"whitelist": [],
"blacklist": []
}
},
"chorusTree": {
"enabled": false,
"onlyFallWithRequiredTool": false,
"allowedToolFilter": {
"whitelistedTags": [],
"whitelist": [],
"blacklist": []
}
},
"mushroomTree": {
"stemFilter": {
"whitelistedTags": [],
"whitelist": [],
"blacklist": []
},
"capFilter": {
"whitelistedTags": [],
"whitelist": [],
"blacklist": []
},
"enabled": true,
"onlyFallWithRequiredTool": false,
"allowedToolFilter": {
"whitelistedTags": [],
"whitelist": [],
"blacklist": []
}
}
}
}
}

View file

@ -0,0 +1,52 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "ad_astra:aeronos_cap",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "forge:shears"
}
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "tfg:saplings/aeronos",
"conditions": [
{
"condition": "minecraft:survives_explosion"
},
{
"condition": "minecraft:random_chance",
"chance": 0.013
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -0,0 +1,52 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "ad_astra:strophar_cap",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "forge:shears"
}
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "tfg:saplings/strophar",
"conditions": [
{
"condition": "minecraft:survives_explosion"
},
{
"condition": "minecraft:random_chance",
"chance": 0.013
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -0,0 +1,20 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:mushroom_stem"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -0,0 +1,52 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:nether_wart_block",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "forge:shears"
}
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "tfg:saplings/crimson",
"conditions": [
{
"condition": "minecraft:survives_explosion"
},
{
"condition": "minecraft:random_chance",
"chance": 0.013
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -0,0 +1,52 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:warped_wart_block",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "forge:shears"
}
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "tfg:saplings/warped",
"conditions": [
{
"condition": "minecraft:survives_explosion"
},
{
"condition": "minecraft:random_chance",
"chance": 0.013
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -0,0 +1,52 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "species:alphacene_moss_block",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "forge:shears"
}
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "tfg:saplings/glacian",
"conditions": [
{
"condition": "minecraft:survives_explosion"
},
{
"condition": "minecraft:random_chance",
"chance": 0.004
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -0,0 +1,52 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "species:alphacene_mushroom_block",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "forge:shears"
}
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "tfg:saplings/alphacene",
"conditions": [
{
"condition": "minecraft:survives_explosion"
},
{
"condition": "minecraft:random_chance",
"chance": 0.02
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -131,6 +131,8 @@ const registerAdAstraItemTags = (event) => {
// these are log tags
event.remove('ad_astra:aeronos_caps', 'ad_astra:aeronos_cap')
event.remove('ad_astra:strophar_caps', 'ad_astra:strophar_cap')
event.add('minecraft:wart_blocks', 'ad_astra:aeronos_cap')
event.add('minecraft:wart_blocks', 'ad_astra:strophar_cap')
event.add('tfc:makes_tannin', '#ad_astra:glacian_logs')
event.add('tfc:makes_tannin', '#tfc:crimson_logs')

View file

@ -209,6 +209,12 @@ const registerGTCEURecipes = (event) => {
.duration(300)
.EUt(2)
event.recipes.gtceu.compressor('plant_ball_from_wart_blocks')
.itemInputs('4x #minecraft:wart_blocks')
.itemOutputs('gtceu:plant_ball')
.duration(300)
.EUt(2)
//#endregion
//#region Выход: Биомасса
@ -285,6 +291,13 @@ const registerGTCEURecipes = (event) => {
.duration(100)
.EUt(3)
event.recipes.gtceu.brewery('biomass_from_wart_blocks')
.itemInputs('#minecraft:wart_blocks')
.inputFluids("#tfc:any_water 20")
.outputFluids(Fluid.of('gtceu:biomass', 50))
.duration(100)
.EUt(3)
//#endregion
//#region Выход: Рыбье масло

View file

@ -94,6 +94,8 @@ const registerMinecraftItemTags = (event) => {
event.add('create:blaze_burner_fuel/regular', 'minecraft:coal')
event.add('create:blaze_burner_fuel/regular', 'minecraft:charcoal')
event.add('minecraft:wart_blocks', 'minecraft:mushroom_stem')
}
const registerMinecraftBlockTags = (event) => {

View file

@ -28,4 +28,6 @@ const registerSpeciesItemTags = (event) => {
event.add('tfc:compost_greens', 'species:alphacene_mushroom_block')
event.add('tfc:compost_greens_low', 'species:alphacene_mushroom_growth')
event.add('tfc:compost_greens', 'species:alphacene_moss_block')
event.add('minecraft:wart_blocks', 'species:alphacene_mushroom_block')
}