Meats and eats (#2001)

* meats and eats

* changelog and pt_br
This commit is contained in:
Redeix 2025-10-10 03:14:29 -05:00 committed by GitHub
parent 9f530f8fb3
commit 69d8e68ef1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 469 additions and 35 deletions

View file

@ -20,6 +20,7 @@ function registerPrimitiveCreaturesLoots(event) {
// forager - light tan clothes, holds a stone axe
event.addEntityLootModifier('primitive_creatures:iloger_1')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([5, 8], ['tfg:food/raw_long_pig_filet'])
.addWeightedLoot([
// the illusion of randomness
Item.of('tfc:food/bunchberry', 3),
@ -46,10 +47,14 @@ function registerPrimitiveCreaturesLoots(event) {
Item.of('tfc_textile:raw_shirt'),
Item.of('tfc_textile:raw_pants'),
Item.of('tfc_textile:raw_socks')])
event.addEntityLootModifier('primitive_creatures:iloger_1')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfg:food/raw_long_pig_filet'])
// herbalist - brown clothes with a mask that looks like a Creaking
event.addEntityLootModifier('primitive_creatures:iloger_2')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([5, 8], ['tfg:food/raw_long_pig_filet'])
.addWeightedLoot([3,4], ['gtceu:tricalcium_phosphate_dust'])
.addAlternativesLoot(
LootEntry.of('gtceu:cobalt_brass_mortar').damage([0.3, 0.9]).when(c => c.randomChance(0.3)),
@ -63,10 +68,14 @@ function registerPrimitiveCreaturesLoots(event) {
Item.of('tfc_textile:grizzly_bear_shirt'),
Item.of('tfc_textile:grizzly_bear_pants'),
Item.of('tfc_textile:grizzly_bear_boots')])
event.addEntityLootModifier('primitive_creatures:iloger_2')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfg:food/raw_long_pig_filet'])
// bonebreaker - skull helmet, bone armor? hits harder, has knockback
event.addEntityLootModifier('primitive_creatures:iloger_3')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([5, 8], ['tfg:food/raw_long_pig_filet'])
.addWeightedLoot([0,2], ['minecraft:flint'])
.addWeightedLoot([1,3], ['minecraft:bone'])
.addAlternativesLoot(
@ -80,12 +89,16 @@ function registerPrimitiveCreaturesLoots(event) {
Item.of('tfc_textile:direwolf_shirt'),
Item.of('tfc_textile:direwolf_pants'),
Item.of('tfc_textile:direwolf_boots')])
event.addEntityLootModifier('primitive_creatures:iloger_3')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfg:food/raw_long_pig_filet'])
// ambusher - leaf on head, leafy clothes (like the swamp vanilla villager type), ranged with poison
event.addEntityLootModifier('primitive_creatures:iloger_4')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([8,12], LootEntry.of('minecraft:tipped_arrow')).addPotion("poison")
.addWeightedLoot([4,8], ['firmalife:food/nightshade_berry'])
.addWeightedLoot([5, 8], ['tfg:food/raw_long_pig_filet'])
.addAlternativesLoot(
LootEntry.of('minecraft:bow').damage([0.3, 0.9]).when(c => c.randomChance(0.5)),
LootEntry.of('primitive_creatures:totem_0').when(c => c.randomChance(0.05)),
@ -98,11 +111,15 @@ function registerPrimitiveCreaturesLoots(event) {
Item.of('tfc_textile:crocodile_shirt'),
Item.of('tfc_textile:crocodile_pants'),
Item.of('tfc_textile:crocodile_boots')])
event.addEntityLootModifier('primitive_creatures:iloger_4')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfg:food/raw_long_pig_filet'])
// hunter - wears brown and white fur, briefly disappears when hit, ranged with weakness
event.addEntityLootModifier('primitive_creatures:iloger_5')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([8,12], LootEntry.of('minecraft:tipped_arrow')).addPotion("weakness")
.addWeightedLoot([5, 8], ['tfg:food/raw_long_pig_filet'])
.addAlternativesLoot(
// placeholder for a blowpipe
LootEntry.of('minecraft:bamboo').when(c => c.randomChance(0.5)),
@ -116,10 +133,14 @@ function registerPrimitiveCreaturesLoots(event) {
Item.of('tfc_textile:sabertooth_shirt'),
Item.of('tfc_textile:sabertooth_pants'),
Item.of('tfc_textile:sabertooth_boots')])
event.addEntityLootModifier('primitive_creatures:iloger_5')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfg:food/raw_long_pig_filet'])
// shaman - yellow clothes, throws fireballs
event.addEntityLootModifier('primitive_creatures:iloger_6')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([5, 8], ['tfg:food/raw_long_pig_filet'])
.addWeightedLoot([1,2], ['primitive_creatures:f_1']) // primitive explosives
.addWeightedLoot([1,3], ['minecraft:gunpowder'])
.addAlternativesLoot(
@ -134,10 +155,14 @@ function registerPrimitiveCreaturesLoots(event) {
Item.of('tfc_textile:cougar_shirt'),
Item.of('tfc_textile:cougar_pants'),
Item.of('tfc_textile:cougar_boots')])
event.addEntityLootModifier('primitive_creatures:iloger_6')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfg:food/raw_long_pig_filet'])
// beast tamer - wears tiger fur, holds vanilla sugarcane? fucking summons ravagers
event.addEntityLootModifier('primitive_creatures:wiloger')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([5, 8], ['tfg:food/raw_long_pig_filet'])
.addWeightedLoot([0,2], ['primitive_creatures:grh']) // battered wool
.addAlternativesLoot(
LootEntry.of('gtceu:cobalt_brass_butchery_knife').damage([0.3, 0.9]).when(c => c.randomChance(0.3)),
@ -151,10 +176,14 @@ function registerPrimitiveCreaturesLoots(event) {
Item.of('tfc_textile:tiger_shirt'),
Item.of('tfc_textile:tiger_pants'),
Item.of('tfc_textile:tiger_boots')])
event.addEntityLootModifier('primitive_creatures:wiloger')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfg:food/raw_long_pig_filet'])
// warrior - lion fur, holds flint club - stuns you in place when hit
event.addEntityLootModifier('primitive_creatures:piloger_9')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([5, 8], ['tfg:food/raw_long_pig_filet'])
.addAlternativesLoot(
LootEntry.of('primitive_creatures:yhgi').when(c => c.randomChance(0.8)), // flint club
LootEntry.of('tfc:small_raw_hide').when(c => c.randomChance(0.4)),
@ -166,10 +195,14 @@ function registerPrimitiveCreaturesLoots(event) {
Item.of('tfc_textile:lion_shirt'),
Item.of('tfc_textile:lion_pants'),
Item.of('tfc_textile:lion_boots')])
event.addEntityLootModifier('primitive_creatures:piloger_9')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfg:food/raw_long_pig_filet'])
// mercenary
event.addEntityLootModifier('primitive_creatures:viloger_10')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([5, 8], ['tfg:food/raw_long_pig_filet'])
.addWeightedLoot([1,2], ['minecraft:emerald'])
.addAlternativesLoot(
LootEntry.of('gtceu:cobalt_brass_knife').damage([0.3, 0.7]).when(c => c.randomChance(0.3)),
@ -183,10 +216,14 @@ function registerPrimitiveCreaturesLoots(event) {
Item.of('tfc_textile:raw_shirt'),
Item.of('tfc_textile:raw_pants'),
Item.of('tfc_textile:raw_socks')])
event.addEntityLootModifier('primitive_creatures:viloger_10')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfg:food/raw_long_pig_filet'])
// huntmaster - miniboss
event.addEntityLootModifier('primitive_creatures:nahida')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([5, 8], ['tfg:food/raw_long_pig_filet'])
.addWeightedLoot([
LootEntry.of('gtceu:cobalt_brass_spade').damage([0.85, 1]),
LootEntry.of('gtceu:cobalt_brass_sickle').damage([0.85, 1]),
@ -209,10 +246,14 @@ function registerPrimitiveCreaturesLoots(event) {
Item.of('tfc_textile:panther_shirt'),
Item.of('tfc_textile:panther_pants'),
Item.of('tfc_textile:panther_boots')])
event.addEntityLootModifier('primitive_creatures:nahida')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfg:food/raw_long_pig_filet'])
// berserker - guy with celtic blue face paint
event.addEntityLootModifier('primitive_creatures:iloger_10')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([5, 8], ['tfg:food/raw_long_pig_filet'])
.addWeightedLoot([
LootEntry.of('gtceu:cobalt_brass_sword').damage([0.85, 1]),
LootEntry.of('sns:burlap_sack'),
@ -225,13 +266,18 @@ function registerPrimitiveCreaturesLoots(event) {
Item.of('tfc_textile:sabertooth_shirt'),
Item.of('tfc_textile:sabertooth_pants'),
Item.of('tfc_textile:sabertooth_boots')])
event.addEntityLootModifier('primitive_creatures:iloger_10')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfg:food/raw_long_pig_filet'])
// mistah beeeaaaasssstt
event.addEntityLootModifier('primitive_creatures:beast')
.removeLoot(ItemFilter.ALWAYS_TRUE)
.addWeightedLoot([20, 30], ['tfg:food/raw_long_pig_filet'])
.addWeightedLoot([12,16], ['minecraft:bone'])
.addWeightedLoot([2,3], ['tfc:large_raw_hide'])
.addWeightedLoot([4,6], ['tfc:blubber'])
// change to our own raw meat?
.addWeightedLoot([20, 30], ['tfc:food/bear'])
event.addEntityLootModifier('primitive_creatures:beast')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([10, 15], ['tfg:food/raw_long_pig_filet'])
}