mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Add poison effects to pufferfish
This commit is contained in:
parent
58d435f03d
commit
c78abf58be
2 changed files with 16 additions and 2 deletions
|
@ -31,6 +31,20 @@ public interface UFoodComponents {
|
|||
FoodComponent SCONE = builder(2, 0.2F).build();
|
||||
FoodComponent FRIED_EGG = builder(4, 0.4F).build();
|
||||
|
||||
FoodComponent ROTTEN_PUFFERFISH = new FoodComponent.Builder()
|
||||
.hunger(4)
|
||||
.saturationModifier(0.1F)
|
||||
.statusEffect(new StatusEffectInstance(StatusEffects.POISON, 1200, 1), 1)
|
||||
.statusEffect(new StatusEffectInstance(StatusEffects.HUNGER, 300, 2), 1)
|
||||
.statusEffect(new StatusEffectInstance(StatusEffects.NAUSEA, 300, 0), 1)
|
||||
.meat()
|
||||
.build();
|
||||
FoodComponent COOKED_PUFFERFISH = builder(5, 0.6F)
|
||||
.statusEffect(new StatusEffectInstance(StatusEffects.POISON, 1200, 1), 0.2F)
|
||||
.statusEffect(new StatusEffectInstance(StatusEffects.HUNGER, 300, 2), 0.3F)
|
||||
.statusEffect(new StatusEffectInstance(StatusEffects.NAUSEA, 300, 0), 0.4F)
|
||||
.build();
|
||||
|
||||
FoodComponent WORMS = builder(1, 1.5F).alwaysEdible().meat().build();
|
||||
FoodComponent INSECTS = builder(1, 0).alwaysEdible().build();
|
||||
|
||||
|
|
|
@ -231,10 +231,10 @@ public interface UItems {
|
|||
Item ROTTEN_COD = register("rotten_cod", new Item(new Item.Settings().food(FoodComponents.ROTTEN_FLESH)), ItemGroups.FOOD_AND_DRINK);
|
||||
Item ROTTEN_SALMON = register("rotten_salmon", new Item(new Item.Settings().food(FoodComponents.ROTTEN_FLESH)), ItemGroups.FOOD_AND_DRINK);
|
||||
Item ROTTEN_TROPICAL_FISH = register("rotten_tropical_fish", new Item(new Item.Settings().food(FoodComponents.ROTTEN_FLESH)), ItemGroups.FOOD_AND_DRINK);
|
||||
Item ROTTEN_PUFFERFISH = register("rotten_pufferfish", new Item(new Item.Settings().food(FoodComponents.ROTTEN_FLESH)), ItemGroups.FOOD_AND_DRINK);
|
||||
Item ROTTEN_PUFFERFISH = register("rotten_pufferfish", new Item(new Item.Settings().food(UFoodComponents.ROTTEN_PUFFERFISH)), ItemGroups.FOOD_AND_DRINK);
|
||||
|
||||
Item COOKED_TROPICAL_FISH = register("cooked_tropical_fish", new Item(new Item.Settings().food(FoodComponents.COOKED_COD)), ItemGroups.FOOD_AND_DRINK);
|
||||
Item COOKED_PUFFERFISH = register("cooked_pufferfish", new Item(new Item.Settings().food(FoodComponents.COOKED_COD)), ItemGroups.FOOD_AND_DRINK);
|
||||
Item COOKED_PUFFERFISH = register("cooked_pufferfish", new Item(new Item.Settings().food(UFoodComponents.COOKED_PUFFERFISH)), ItemGroups.FOOD_AND_DRINK);
|
||||
Item FRIED_AXOLOTL = register("fried_axolotl", new ConsumableItem(new Item.Settings().food(FoodComponents.COOKED_CHICKEN).maxCount(1).recipeRemainder(Items.BUCKET), UseAction.EAT), ItemGroups.FOOD_AND_DRINK);
|
||||
Item GREEN_FRIED_EGG = register("green_fried_egg", new Item(new Item.Settings().food(UFoodComponents.FRIED_EGG)), ItemGroups.FOOD_AND_DRINK);
|
||||
|
||||
|
|
Loading…
Reference in a new issue