feat: Added bison and seal loottable and bison raw and cooked meats (#3396)

* feat: Added bison and seal loottable and bison raw and cooked meats

* fix: lang in tools and bison meat in rich stock and as burguer meat
This commit is contained in:
Ujhik
2026-03-14 18:23:29 +01:00
committed by GitHub
parent 255aa2f1bf
commit 18d3b9e4b5
9 changed files with 59 additions and 0 deletions

View File

@@ -109,6 +109,20 @@ function registerTFGFoodData(event) {
food.decayModifier(2.25);
});
// Bison Meat
event.foodItem("tfg:food/raw_bison_meat", (food) => {
food.hunger(2);
food.protein(1.5);
food.decayModifier(3);
});
event.foodItem("tfg:food/cooked_bison_meat", (food) => {
food.hunger(4);
food.saturation(2);
food.protein(3);
food.decayModifier(2.25);
});
// Springling Collar
event.foodItem("tfg:food/raw_springling_collar", (food) => {
food.hunger(2);

View File

@@ -1300,6 +1300,9 @@ function registerTFGFoodRecipes(event) {
event.recipes.tfc.heating('tfg:food/raw_wraptor', 200)
.resultItem(TFC.isp.of('tfg:food/cooked_wraptor').copyFood())
event.recipes.tfc.heating('tfg:food/raw_bison_meat', 200)
.resultItem(TFC.isp.of('tfg:food/cooked_bison_meat').copyFood())
event.recipes.tfc.heating('tfg:food/raw_springling_collar', 200)
.resultItem(TFC.isp.of('tfg:food/cooked_springling_collar').copyFood())

View File

@@ -128,6 +128,8 @@ function registerTFGFoodItemTags(event) {
'tfg:food/cooked_walker_steak',
'tfg:food/raw_crusher_meat',
'tfg:food/cooked_crusher_meat',
'tfg:food/raw_bison_meat',
'tfg:food/cooked_bison_meat',
'wan_ancient_beasts:raw_ancient_meat',
'wan_ancient_beasts:cooked_ancient_meat'
];
@@ -185,6 +187,7 @@ function registerTFGFoodItemTags(event) {
'tfc:food/venison',
'tfg:food/raw_sniffer_beef',
'tfg:food/raw_crusher_meat',
'tfg:food/raw_bison_meat',
'wan_ancient_beasts:raw_ancient_meat'
];
burgerMeats.forEach(item => {

View File

@@ -169,4 +169,26 @@ function registerTFGLoots(event) {
event.addEntityLootModifier('tfg:wraptor')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 3], ['tfg:food/raw_wraptor'])
// Leopard seal normal loot table
event.addEntityLootModifier('tfg:leopard_seal')
.addWeightedLoot([3, 6], ['tfc:blubber'])
.addWeightedLoot([1, 4], ['minecraft:bone'])
.addWeightedLoot([1], ['tfc:medium_raw_hide'])
// Leopard seal extra with butchery knife
event.addEntityLootModifier('tfg:leopard_seal')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 3], ['tfc:blubber'])
// Bison normal loot table
event.addEntityLootModifier('tfg:bison')
.addWeightedLoot([12, 20], ['tfg:food/raw_bison_meat'])
.addWeightedLoot([7, 10], ['minecraft:bone'])
.addWeightedLoot([1], ['tfc:large_raw_hide'])
// Bison drop extra with butchery knife
event.addEntityLootModifier('tfg:bison')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([4, 6], ['tfg:food/raw_bison_meat'])
};