Skip to content

Commit

Permalink
fix typo, change swarm behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
eerussianguy committed Sep 6, 2022
1 parent dba0093 commit 7024a18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion resources/recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def generate(rm: ResourceManager):
mixing_recipe(rm, 'butter', ingredients=[utils.ingredient('tfc:powder/salt')], fluid='1000 firmalife:cream', output_item='firmalife:food/butter')
mixing_recipe(rm, 'pie_dough', ingredients=[not_rotten('firmalife:food/butter'), not_rotten('#tfc:foods/flour'), utils.ingredient('#firmalife:sweetener')], fluid='1000 minecraft:water', output_item='firmalife:food/pie_dough')
mixing_recipe(rm, 'pumpkin_pie_dough', ingredients=[not_rotten('minecraft:egg'), not_rotten('firmalife:food/pumpkin_chunks'), not_rotten('firmalife:food/pumpkin_chunks'), not_rotten('#tfc:foods/flour'), utils.ingredient('#firmalife:sweetener')], fluid='1000 minecraft:water', output_item='firmalife:food/pumpkin_pie_dough')
mixing_recipe(rm, 'pizza_dough', ingredients=[not_rotten('#tfc:foods/dough'), utils.ingredient('tfc:powder/salt'), utils.ingredient('firmalife:basil_leaves')], fluid='1000 tfc:olive_oil', output_item='4 firmalife:food/pizza_dough')
mixing_recipe(rm, 'pizza_dough', ingredients=[not_rotten('#tfc:foods/dough'), utils.ingredient('tfc:powder/salt'), utils.ingredient('firmalife:spice/basil_leaves')], fluid='1000 tfc:olive_oil', output_item='4 firmalife:food/pizza_dough')

meal_shapeless(rm, 'crafting/filled_pie', ('firmalife:food/pie_dough', '#firmalife:foods/preserves', '#firmalife:pie_pans'), 'firmalife:food/filled_pie', 'firmalife:pie').with_advancement('firmalife:food/pie_dough')
meal_shapeless(rm, 'crafting/raw_pizza', ('firmalife:food/pizza_dough', '#firmalife:foods/pizza_ingredients', '#firmalife:foods/pizza_ingredients', 'firmalife:food/shredded_cheese'), 'firmalife:food/raw_pizza', 'firmalife:pizza').with_advancement('firmalife:food/pizza_dough')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ public boolean isDurationEffectTick(int time, int amp)
@Override
public void applyEffectTick(LivingEntity entity, int amplifier)
{
if (entity.getHealth() > 1.0F && !entity.isInWaterOrRain() && FLConfig.SERVER.enableBeeSwarm.get())
if (!entity.isInWaterOrRain() && FLConfig.SERVER.enableBeeSwarm.get())
{
entity.hurt(FLDamageSources.SWARM, 1.0F);
entity.hurt(FLDamageSources.SWARM, 0.5F);
}
particles(entity.getLevel(), entity.blockPosition(), entity.getRandom());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"item": "tfc:powder/salt"
},
{
"item": "firmalife:basil_leaves"
"item": "firmalife:spice/basil_leaves"
}
],
"fluid_ingredient": {
Expand Down

0 comments on commit 7024a18

Please sign in to comment.