Started on beekeeping stuff
|
@ -282,6 +282,10 @@
|
|||
<entry key="item.bop.food.saladveggie.name">Veggie Salad</entry>
|
||||
<entry key="item.bop.food.saladshroom.name">Shroom Salad</entry>
|
||||
<entry key="item.bop.food.persimmon.name">Persimmon</entry>
|
||||
<entry key="item.bop.food.bottle_honey.name">Bottle of Honey</entry>
|
||||
|
||||
<entry key="item.bop.net.name">Net</entry>
|
||||
<entry key="item.bop.bee.name">Honeybee</entry>
|
||||
|
||||
<entry key="item.bop.dartblower.name">Dart Blower</entry>
|
||||
<entry key="item.bop.dart.dart.name">Dart</entry>
|
||||
|
|
After Width: | Height: | Size: 301 B |
After Width: | Height: | Size: 286 B |
After Width: | Height: | Size: 265 B |
BIN
src/minecraft/assets/biomesoplenty/textures/blocks/hiveside.png
Normal file
After Width: | Height: | Size: 511 B |
BIN
src/minecraft/assets/biomesoplenty/textures/blocks/hivetop.png
Normal file
After Width: | Height: | Size: 451 B |
BIN
src/minecraft/assets/biomesoplenty/textures/items/bee.png
Normal file
After Width: | Height: | Size: 273 B |
After Width: | Height: | Size: 309 B |
BIN
src/minecraft/assets/biomesoplenty/textures/items/net.png
Normal file
After Width: | Height: | Size: 326 B |
|
@ -39,13 +39,16 @@ public class Items
|
|||
|
||||
public static Optional<? extends Item> ancientStaff = Optional.absent();
|
||||
public static Optional<? extends Item> enderporter = Optional.absent();
|
||||
public static Optional<? extends Item> food = Optional.absent();
|
||||
public static Optional<? extends Item> food = Optional.absent();
|
||||
public static Optional<? extends Item> miscItems = Optional.absent();
|
||||
public static Optional<? extends Item> mudball = Optional.absent();
|
||||
public static Optional<? extends Item> poison = Optional.absent();
|
||||
public static Optional<? extends Item> dartBlower = Optional.absent();
|
||||
public static Optional<? extends Item> dart = Optional.absent();
|
||||
public static Optional<? extends Item> soulManipulator = Optional.absent();
|
||||
|
||||
public static Optional<? extends Item> net = Optional.absent();
|
||||
public static Optional<? extends Item> bee = Optional.absent();
|
||||
|
||||
public static Optional<? extends Item> flowerBand = Optional.absent();
|
||||
}
|
||||
|
|
|
@ -674,6 +674,9 @@ public class BOPConfiguration
|
|||
public static int scytheAmethystID;
|
||||
|
||||
public static int flowerBandID;
|
||||
|
||||
public static int netID;
|
||||
public static int beeID;
|
||||
|
||||
//Liquid IDs
|
||||
public static int springWaterStillID;
|
||||
|
@ -970,6 +973,9 @@ public class BOPConfiguration
|
|||
scytheMudID = config.getItem("Mud Scythe ID", 21086).getInt();
|
||||
scytheAmethystID = config.getItem("Amethyst Scythe ID", 21087).getInt();
|
||||
|
||||
netID = config.getItem("Net ID", 21088).getInt();
|
||||
beeID = config.getItem("Bee ID", 21089).getInt();
|
||||
|
||||
//Liquid Ids
|
||||
springWaterStillID = config.get("Liquid IDs", "Spring Water Still ID (ID before this must be free!)", 1971, null).getInt();
|
||||
liquidPoisonStillID = config.get("Liquid IDs", "Liquid Poison Still ID (ID before this must be free!)", 1973, null).getInt();
|
||||
|
|
|
@ -156,6 +156,9 @@ public class BOPCrafting
|
|||
// GameRegistry.addRecipe(new ItemStack(Blocks.planks.get(), 1, 10), new Object[] {"###", "###", "###", '#', Blocks.bamboo.get()});
|
||||
GameRegistry.addRecipe(new ItemStack(Block.cobblestoneMossy, 1, 0), new Object[] {"MMM", "MCM", "MMM", 'M', Blocks.moss.get(), 'C', Block.cobblestone});
|
||||
GameRegistry.addRecipe(new ItemStack(Block.stoneBrick, 1, 1), new Object[] {"MMM", "MSM", "MMM", 'M', Blocks.moss.get(), 'S', Block.stoneBrick});
|
||||
|
||||
//Net
|
||||
GameRegistry.addRecipe(new ItemStack(Items.net.get(), 1, 0), new Object[] {"SSS", "SSS", " X ", 'S', Item.silk, 'X', Item.stick});
|
||||
|
||||
//Scythes
|
||||
if (BOPConfiguration.Misc.scytheCrafting)
|
||||
|
|
|
@ -13,6 +13,7 @@ import biomesoplenty.api.Items;
|
|||
import biomesoplenty.armor.ArmorAmethyst;
|
||||
import biomesoplenty.armor.ArmorFlowerBand;
|
||||
import biomesoplenty.armor.ArmorMuddy;
|
||||
import biomesoplenty.items.ItemBee;
|
||||
import biomesoplenty.items.ItemBOP;
|
||||
import biomesoplenty.items.ItemBOPAncientStaff;
|
||||
import biomesoplenty.items.ItemBOPAxe;
|
||||
|
@ -28,6 +29,7 @@ import biomesoplenty.items.ItemBOPSword;
|
|||
import biomesoplenty.items.ItemDart;
|
||||
import biomesoplenty.items.ItemDartBlower;
|
||||
import biomesoplenty.items.ItemEnderporter;
|
||||
import biomesoplenty.items.ItemNet;
|
||||
import biomesoplenty.items.ItemSoulManipulator;
|
||||
|
||||
import com.google.common.base.Optional;
|
||||
|
@ -104,6 +106,9 @@ public class BOPItems {
|
|||
Items.dartBlower = Optional.of(new ItemDartBlower(BOPConfiguration.IDs.dartBlowerID).setUnlocalizedName("bop.dartblower"));
|
||||
Items.dart = Optional.of(new ItemDart(BOPConfiguration.IDs.dartID).setUnlocalizedName("bop.dart"));
|
||||
Items.soulManipulator = Optional.of(new ItemSoulManipulator(BOPConfiguration.IDs.soulManipulatorID).setUnlocalizedName("bop.soulManipulator"));
|
||||
|
||||
Items.net = Optional.of(new ItemNet(BOPConfiguration.IDs.netID).setUnlocalizedName("bop.net"));
|
||||
Items.bee = Optional.of(new ItemBee(BOPConfiguration.IDs.beeID).setUnlocalizedName("bop.bee"));
|
||||
|
||||
Items.ancientStaff = Optional.of(new ItemBOPAncientStaff(BOPConfiguration.IDs.ancientStaffID).setUnlocalizedName("bop.ancientStaff"));
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import biomesoplenty.BiomesOPlenty;
|
|||
|
||||
public class ItemBOPFood extends ItemFood
|
||||
{
|
||||
private static final String[] foodTypes = new String[] {"berries", "shroompowder", "wildcarrots", "sunflowerseeds", "saladfruit", "saladveggie", "saladshroom", "earth", "persimmon"};
|
||||
private static final String[] foodTypes = new String[] {"berries", "shroompowder", "wildcarrots", "sunflowerseeds", "saladfruit", "saladveggie", "saladshroom", "earth", "persimmon", "bottle_honey"};
|
||||
private Icon[] textures;
|
||||
|
||||
public ItemBOPFood(int par1)
|
||||
|
@ -85,6 +85,10 @@ public class ItemBOPFood extends ItemFood
|
|||
player.getFoodStats().addStats(5, 0.2F);
|
||||
break;
|
||||
|
||||
case 9:
|
||||
player.getFoodStats().addStats(3, 0.4F);
|
||||
break;
|
||||
|
||||
default:
|
||||
player.getFoodStats().addStats(0, 0.0F);
|
||||
break;
|
||||
|
|
27
src/minecraft/biomesoplenty/items/ItemBee.java
Normal file
|
@ -0,0 +1,27 @@
|
|||
package biomesoplenty.items;
|
||||
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.potion.Potion;
|
||||
import net.minecraft.potion.PotionEffect;
|
||||
import net.minecraft.world.World;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
public class ItemBee extends Item
|
||||
{
|
||||
|
||||
public ItemBee(int par1)
|
||||
{
|
||||
super(par1);
|
||||
maxStackSize = 8;
|
||||
setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerIcons(IconRegister iconRegister)
|
||||
{
|
||||
itemIcon = iconRegister.registerIcon("biomesoplenty:bee");
|
||||
}
|
||||
}
|
28
src/minecraft/biomesoplenty/items/ItemNet.java
Normal file
|
@ -0,0 +1,28 @@
|
|||
package biomesoplenty.items;
|
||||
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.potion.Potion;
|
||||
import net.minecraft.potion.PotionEffect;
|
||||
import net.minecraft.world.World;
|
||||
import biomesoplenty.BiomesOPlenty;
|
||||
|
||||
public class ItemNet extends Item
|
||||
{
|
||||
|
||||
public ItemNet(int par1)
|
||||
{
|
||||
super(par1);
|
||||
maxStackSize = 1;
|
||||
this.setMaxDamage(63);
|
||||
setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerIcons(IconRegister iconRegister)
|
||||
{
|
||||
itemIcon = iconRegister.registerIcon("biomesoplenty:net");
|
||||
}
|
||||
}
|