diff --git a/src/main/java/de/ellpeck/naturesaura/chunk/effect/AnimalEffect.java b/src/main/java/de/ellpeck/naturesaura/chunk/effect/AnimalEffect.java index a284ba50..90ef3d29 100644 --- a/src/main/java/de/ellpeck/naturesaura/chunk/effect/AnimalEffect.java +++ b/src/main/java/de/ellpeck/naturesaura/chunk/effect/AnimalEffect.java @@ -53,7 +53,7 @@ public class AnimalEffect implements IDrainSpotEffect { return -1; if (!this.bb.contains(player.getPositionVector())) return -1; - if (NaturesAuraAPI.instance().isEffectPowderActive(player.world, player.getPosition(), NAME)) + if (!NaturesAuraAPI.instance().isEffectPowderActive(player.world, player.getPosition(), NAME)) return 0; return 1; } @@ -77,7 +77,7 @@ public class AnimalEffect implements IDrainSpotEffect { for (EntityItem item : items) { if (item.isDead) continue; - if (NaturesAuraAPI.instance().isEffectPowderActive(world, item.getPosition(), NAME)) + if (!NaturesAuraAPI.instance().isEffectPowderActive(world, item.getPosition(), NAME)) continue; ItemStack stack = item.getItem(); @@ -111,7 +111,7 @@ public class AnimalEffect implements IDrainSpotEffect { EntityAnimal first = animals.get(world.rand.nextInt(animals.size())); if (first.isChild() || first.isInLove()) return; - if (NaturesAuraAPI.instance().isEffectPowderActive(world, first.getPosition(), NAME)) + if (!NaturesAuraAPI.instance().isEffectPowderActive(world, first.getPosition(), NAME)) return; Optional secondOptional = animals.stream() diff --git a/src/main/java/de/ellpeck/naturesaura/chunk/effect/DrainSpotEffects.java b/src/main/java/de/ellpeck/naturesaura/chunk/effect/DrainSpotEffects.java index 77246290..c8a9b9a0 100644 --- a/src/main/java/de/ellpeck/naturesaura/chunk/effect/DrainSpotEffects.java +++ b/src/main/java/de/ellpeck/naturesaura/chunk/effect/DrainSpotEffects.java @@ -17,6 +17,6 @@ public final class DrainSpotEffects { NaturesAuraAPI.EFFECT_POWDERS.put(PlantBoostEffect.NAME, 0xc2f442); NaturesAuraAPI.EFFECT_POWDERS.put(CacheRechargeEffect.NAME, 0x1fb0d1); - NaturesAuraAPI.EFFECT_POWDERS.put(AnimalEffect.NAME, 0xba1010); + NaturesAuraAPI.EFFECT_POWDERS.put(AnimalEffect.NAME, 0xc842f4); } } diff --git a/src/main/java/de/ellpeck/naturesaura/recipes/ModRecipes.java b/src/main/java/de/ellpeck/naturesaura/recipes/ModRecipes.java index c254cd82..34bef5e6 100644 --- a/src/main/java/de/ellpeck/naturesaura/recipes/ModRecipes.java +++ b/src/main/java/de/ellpeck/naturesaura/recipes/ModRecipes.java @@ -105,7 +105,7 @@ public final class ModRecipes { Ingredient.fromItem(ModItems.AURA_CACHE)).register(); new TreeRitualRecipe(new ResourceLocation(NaturesAura.MOD_ID, "animal_powder"), Ingredient.fromStacks(new ItemStack(Blocks.SAPLING, 1, 3)), - ItemEffectPowder.setEffect(new ItemStack(ModItems.EFFECT_POWDER, 24), AnimalEffect.NAME), 400, + ItemEffectPowder.setEffect(new ItemStack(ModItems.EFFECT_POWDER, 8), AnimalEffect.NAME), 400, Helper.blockIng(ModBlocks.GOLD_POWDER), Helper.blockIng(ModBlocks.GOLD_POWDER), Ingredient.fromItem(ModItems.SKY_INGOT), diff --git a/src/main/resources/assets/naturesaura/lang/en_US.lang b/src/main/resources/assets/naturesaura/lang/en_US.lang index f3d631a9..c3dd43b1 100644 --- a/src/main/resources/assets/naturesaura/lang/en_US.lang +++ b/src/main/resources/assets/naturesaura/lang/en_US.lang @@ -76,7 +76,7 @@ item.naturesaura.infused_iron_pants.name=Botanist's Leggings item.naturesaura.infused_iron_shoes.name=Botanist's Shoes item.naturesaura.effect_powder.naturesaura:plant_boost.name=Powder of Steady Growth item.naturesaura.effect_powder.naturesaura:cache_recharge.name=Powder of no Storage -item.naturesaura.effect_powder.naturesaura:animal.name=Powder of Chastity +item.naturesaura.effect_powder.naturesaura:animal.name=Powder of Fertility item.naturesaura.mover_cart.name=Aura Attraction Cart item.naturesaura.range_visualizer.name=Mystical Magnifier item.naturesaura.clock_hand.name=Hand of Time diff --git a/src/main/resources/assets/naturesaura/patchouli_books/book/en_us/entries/effects/animal.json b/src/main/resources/assets/naturesaura/patchouli_books/book/en_us/entries/effects/animal.json index 9df20669..807f7c76 100644 --- a/src/main/resources/assets/naturesaura/patchouli_books/book/en_us/entries/effects/animal.json +++ b/src/main/resources/assets/naturesaura/patchouli_books/book/en_us/entries/effects/animal.json @@ -6,16 +6,16 @@ "pages": [ { "type": "text", - "text": "When the amount of $(aura) in an area increases beyond about two thirds of the $(l:items/eye)Environmental Eye$()'s gauge, it starts to affect the $(item)animals$() in the area: Cows, sheep, pigs and the like will start $(thing)mating$() without any encouragement occasionally, draining some of the $(aura) in the process as if falling in love because of its power." + "text": "When the amount of $(aura) in an area increases beyond about two thirds of the $(l:items/eye)Environmental Eye$()'s gauge, and there is some $(l:effects/effect_powder)Powder of Fertility$() nearby, it starts to affect the $(item)animals$() in the area: Cows, sheep, pigs and the like will start $(thing)mating$() without any encouragement occasionally, draining some of the $(aura) in the process as if falling in love because of its power." }, { "type": "text", - "text": "Additionally, $(item)Eggs$() that have been laying around on the ground as an item for a while will have a chance to $(thing)hatch$() into a chicken without needing to be thrown.$(p)Note that both of these effects will cease to occur once there are enough animals present in the area, preventing overpopulation." + "text": "Additionally, $(item)Eggs$() that have been laying around on the ground as an item for a while will $(thing)hatch$() into a chicken without needing to be thrown.$(p)Note that both of these effects will cease to occur once there are enough animals present in the area, preventing overpopulation." }, { "type": "naturesaura:tree_ritual", "recipe": "naturesaura:animal_powder", - "text": "This effect can be inhibited using $(l:effects/effect_powder)Powder of Chastity$()." + "text": "Creating the $(l:effects/effect_powder)Powder of Fertility$()." } ] } \ No newline at end of file