From 38bc788229127356b6240d23c325ddf3ef8a4454 Mon Sep 17 00:00:00 2001 From: GirafiStudios Date: Fri, 10 Mar 2017 23:12:01 +0100 Subject: [PATCH] Fixed Botania horn of the wild support --- .../java/biomesoplenty/common/block/BlockBOPFlower.java | 8 ++++---- .../java/biomesoplenty/common/block/BlockBOPPlant.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/biomesoplenty/common/block/BlockBOPFlower.java b/src/main/java/biomesoplenty/common/block/BlockBOPFlower.java index 9ec6165e9..629c3a3e9 100644 --- a/src/main/java/biomesoplenty/common/block/BlockBOPFlower.java +++ b/src/main/java/biomesoplenty/common/block/BlockBOPFlower.java @@ -44,7 +44,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Random; -@Optional.Interface(iface = "vazkii.botania.api.item.IHornHarvestable", modid = "Botania") +@Optional.Interface(iface = "vazkii.botania.api.item.IHornHarvestable", modid = "botania") public class BlockBOPFlower extends BlockBOPDecoration implements IShearable, IHornHarvestable { @@ -347,7 +347,7 @@ public class BlockBOPFlower extends BlockBOPDecoration implements IShearable, IH public List onSheared(ItemStack item, IBlockAccess world, BlockPos pos, int fortune) { return new ArrayList(); } @Override - @Optional.Method(modid = "Botania") + @Optional.Method(modid = "botania") public boolean canHornHarvest(World world, BlockPos pos, ItemStack stack, EnumHornType hornType) { if (hornType != EnumHornType.WILD) return false; @@ -360,14 +360,14 @@ public class BlockBOPFlower extends BlockBOPDecoration implements IShearable, IH } @Override - @Optional.Method(modid = "Botania") + @Optional.Method(modid = "botania") public boolean hasSpecialHornHarvest(World world, BlockPos pos, ItemStack stack, EnumHornType hornType) { return false; } @Override - @Optional.Method(modid = "Botania") + @Optional.Method(modid = "botania") public void harvestByHorn(World world, BlockPos pos, ItemStack stack, EnumHornType hornType) { } diff --git a/src/main/java/biomesoplenty/common/block/BlockBOPPlant.java b/src/main/java/biomesoplenty/common/block/BlockBOPPlant.java index 6f9bd1886..e1953affe 100644 --- a/src/main/java/biomesoplenty/common/block/BlockBOPPlant.java +++ b/src/main/java/biomesoplenty/common/block/BlockBOPPlant.java @@ -57,7 +57,7 @@ import java.util.Random; // TODO: pick block? -@Optional.Interface(iface = "vazkii.botania.api.item.IHornHarvestable", modid = "Botania") +@Optional.Interface(iface = "vazkii.botania.api.item.IHornHarvestable", modid = "botania") public class BlockBOPPlant extends BlockBOPDecoration implements IShearable, IHornHarvestable { @@ -576,7 +576,7 @@ public class BlockBOPPlant extends BlockBOPDecoration implements IShearable, IHo } @Override - @Optional.Method(modid = "Botania") + @Optional.Method(modid = "botania") public boolean canHornHarvest(World world, BlockPos pos, ItemStack stack, EnumHornType hornType) { if (hornType != EnumHornType.WILD) return false; @@ -595,14 +595,14 @@ public class BlockBOPPlant extends BlockBOPDecoration implements IShearable, IHo } @Override - @Optional.Method(modid = "Botania") + @Optional.Method(modid = "botania") public boolean hasSpecialHornHarvest(World world, BlockPos pos, ItemStack stack, EnumHornType hornType) { return false; } @Override - @Optional.Method(modid = "Botania") + @Optional.Method(modid = "botania") public void harvestByHorn(World world, BlockPos pos, ItemStack stack, EnumHornType hornType) { }