who up tweakin they mars crops

This commit is contained in:
Pyritie 2025-07-31 21:07:38 +01:00
parent 89767a200e
commit db967e8ac9
7 changed files with 163 additions and 46 deletions

View file

@ -7,8 +7,28 @@
*/
function registerBetterEndItems(event) {
event.create('betterend:bolux_mushroom_cooked')
.food(food => {
food.hunger(2)
food.saturation(2.5)
})
event.create('betterend:cave_pumpkin_chunks')
.food(food => {
food.hunger(4)
food.saturation(1)
})
event.create('betterend:cave_pumpkin_pie')
.food(food => {
food.hunger(4)
food.saturation(3)
})
event.create('betterend:chorus_mushroom_cooked')
.food(food => {
food.hunger(2)
food.saturation(2.5)
})
event.create('betterend:shadow_berry_cooked')
.food(food => {
food.hunger(5)
food.saturation(2)
})
}

View file

@ -60,6 +60,12 @@ const registerTFGCrops = (event) => {
.nutrient('phosphorous')
.stages(3)
.hardness(0.4)
['productItem(java.util.function.Consumer)'](product => {
product.food(food => {
food.hunger(4)
food.saturation(1)
})
})
.deadBlock(dead => {
dead.hardness(0.2)
dead.soundType('crop')
@ -80,6 +86,12 @@ const registerTFGCrops = (event) => {
.nutrient('potassium')
.stages(3)
.hardness(0.4)
['productItem(java.util.function.Consumer)'](product => {
product.food(food => {
food.hunger(5)
food.saturation(1)
})
})
.deadBlock(dead => {
dead.hardness(0.2)
dead.soundType('crop')
@ -99,10 +111,10 @@ const registerTFGCrops = (event) => {
.soundType('cherry_wood')
.tagBlock('minecraft:mineable/axe')
.tagBlock('minecraft:mineable/hoe')
.mapColor('color_red')
.requiresTool(false)
.fullBlock(false)
.opaque(false)
.renderType('cutout')
event.create('betterend:cave_pumpkin_plant', 'tfc:spreading_crop')
.soundType('crop')
@ -131,6 +143,12 @@ const registerTFGCrops = (event) => {
.nutrient('phosphorous')
.stages(3)
.hardness(0.4)
['productItem(java.util.function.Consumer)'](product => {
product.food(food => {
food.hunger(2)
food.saturation(1)
})
})
.deadBlock(dead => {
dead.hardness(0.2)
dead.soundType('nether_wart')
@ -152,6 +170,12 @@ const registerTFGCrops = (event) => {
.nutrient('potassium')
.stages(3)
.hardness(0.4)
['productItem(java.util.function.Consumer)'](product => {
product.food(food => {
food.hunger(5)
food.saturation(1)
})
})
.deadBlock(dead => {
dead.hardness(0.2)
dead.soundType('crop')
@ -172,6 +196,12 @@ const registerTFGCrops = (event) => {
.nutrient('phosphorous')
.stages(3)
.hardness(0.4)
['productItem(java.util.function.Consumer)'](product => {
product.food(food => {
food.hunger(2)
food.saturation(1)
})
})
.deadBlock(dead => {
dead.hardness(0.2)
dead.soundType('nether_wart')

View file

@ -5,7 +5,7 @@ const registerTFGBlocks = (event) => {
registerTFGNetherBlocks(event)
registerTFGSpaceBlocks(event)
registerTFGSupportBlocks(event)
registerTFGCrops(event)
registerTFGCrops(event)
event.create('tfg:artificial_end_portal_frame')
.stoneSoundType()
@ -26,7 +26,7 @@ const registerTFGBlocks = (event) => {
.defaultTranslucent()
.mapColor('color_white')
.speedFactor(1.2)
.particleOffset(1, 1, 1)
.particleOffset(1, 1, 1)
.particleVelocity(0.05, 0, 0.05)
.particle('minecraft:campfire_cosy_smoke')
.particleCount(2)
@ -46,15 +46,15 @@ const registerTFGBlocks = (event) => {
.mapColor('color_light_gray')
})
event.create(`tfg:casings/machine_casing_stainless_evaporation`)
.translationKey(`block.tfg.casings.machine_casing_stainless_evaporation`)
.model(`tfg:block/casings/machine_casing_stainless_evaporation`)
.soundType('copper')
.hardness(5)
.resistance(6)
.tagBlock('minecraft:mineable/pickaxe')
.tagBlock('minecraft:mineable/wrench')
.mapColor('color_light_gray')
event.create(`tfg:casings/machine_casing_stainless_evaporation`)
.translationKey(`block.tfg.casings.machine_casing_stainless_evaporation`)
.model(`tfg:block/casings/machine_casing_stainless_evaporation`)
.soundType('copper')
.hardness(5)
.resistance(6)
.tagBlock('minecraft:mineable/pickaxe')
.tagBlock('minecraft:mineable/wrench')
.mapColor('color_light_gray')
//#endregion
@ -144,7 +144,7 @@ const registerTFGBlocks = (event) => {
event.create('tfg:pile/brown_sand', 'tfg:layer_block')
.existingItem('tfc:sand/brown')
event.create('tfg:pile/green_sand', 'tfg:layer_block')
.existingItem('tfc:sand/green')
@ -168,7 +168,7 @@ const registerTFGBlocks = (event) => {
event.create('tfg:pile/venus_sand', 'tfg:layer_block')
.existingItem('ad_astra:venus_sand')
// #endregion