From a106d6b7bfeae4175ce478e23f299d9b9b6589e1 Mon Sep 17 00:00:00 2001 From: nekosune Date: Sun, 7 Sep 2014 15:00:33 +0100 Subject: [PATCH] Removed old unused API --- build.gradle | 9 +- .../java/mods/battlegear2/api/IAllowItem.java | 11 --- .../java/mods/battlegear2/api/IDyable.java | 31 ------ .../mods/battlegear2/api/IOffhandDual.java | 55 ----------- .../java/mods/battlegear2/api/ISheathed.java | 12 --- .../java/mods/battlegear2/api/IShield.java | 55 ----------- .../battlegear2/api/PlayerEventChild.java | 29 ------ .../api/quiver/IArrowContainer2.java | 99 ------------------- .../api/quiver/QuiverArrowEvent.java | 30 ------ .../api/quiver/QuiverArrowRegistry.java | 49 --------- .../api/weapons/IBackStabbable.java | 14 --- .../api/weapons/IBattlegearWeapon.java | 12 --- .../api/weapons/IExtendedReachWeapon.java | 12 --- .../api/weapons/IHitTimeModifier.java | 15 --- .../api/weapons/IPenetrateWeapon.java | 13 --- .../api/weapons/IPotionEffect.java | 23 ----- .../api/weapons/ISpecialEffect.java | 16 --- .../api/weapons/OffhandAttackEvent.java | 22 ----- .../mods/battlegear2/items/ItemShield.java | 11 --- 19 files changed, 5 insertions(+), 513 deletions(-) delete mode 100644 src/main/java/mods/battlegear2/api/IAllowItem.java delete mode 100644 src/main/java/mods/battlegear2/api/IDyable.java delete mode 100644 src/main/java/mods/battlegear2/api/IOffhandDual.java delete mode 100644 src/main/java/mods/battlegear2/api/ISheathed.java delete mode 100644 src/main/java/mods/battlegear2/api/IShield.java delete mode 100644 src/main/java/mods/battlegear2/api/PlayerEventChild.java delete mode 100644 src/main/java/mods/battlegear2/api/quiver/IArrowContainer2.java delete mode 100644 src/main/java/mods/battlegear2/api/quiver/QuiverArrowEvent.java delete mode 100644 src/main/java/mods/battlegear2/api/quiver/QuiverArrowRegistry.java delete mode 100644 src/main/java/mods/battlegear2/api/weapons/IBackStabbable.java delete mode 100644 src/main/java/mods/battlegear2/api/weapons/IBattlegearWeapon.java delete mode 100644 src/main/java/mods/battlegear2/api/weapons/IExtendedReachWeapon.java delete mode 100644 src/main/java/mods/battlegear2/api/weapons/IHitTimeModifier.java delete mode 100644 src/main/java/mods/battlegear2/api/weapons/IPenetrateWeapon.java delete mode 100644 src/main/java/mods/battlegear2/api/weapons/IPotionEffect.java delete mode 100644 src/main/java/mods/battlegear2/api/weapons/ISpecialEffect.java delete mode 100644 src/main/java/mods/battlegear2/api/weapons/OffhandAttackEvent.java delete mode 100644 src/main/java/mods/battlegear2/items/ItemShield.java diff --git a/build.gradle b/build.gradle index a29a51ac..d865aba2 100644 --- a/build.gradle +++ b/build.gradle @@ -84,14 +84,15 @@ minecraft { dependencies { - compile files( - 'TCDEOBF.jar' - ) + compile "codechicken:CodeChickenLib:1.7.10-1.1.1.104:dev" compile "mcp.mobius.waila:Waila:1.5.3a_1.7.10" compile "codechicken:ForgeMultipart:1.7.10-1.1.0.300:dev" + compile "codechicken:CodeChickenCore:1.7.10-1.0.3.25:dev" + + compile "codechicken:NotEnoughItems:1.7.10-1.0.3.51:dev" compile "codechicken:EnderStorage:1.7.10-1.4.5.22:dev" compile "mantle:Mantle:1.7.10-0.3.1.jenkins167:deobf" - compile("tconstruct:TConstruct:1.7.10-1.6.0.jenkins541:deobf") { + compile("tconstruct:TConstruct:1.7.10-1.6.0.build625:deobf") { } } // some crazy stuff to make sure the chicken stuff is in the mods folder... diff --git a/src/main/java/mods/battlegear2/api/IAllowItem.java b/src/main/java/mods/battlegear2/api/IAllowItem.java deleted file mode 100644 index 9c629d48..00000000 --- a/src/main/java/mods/battlegear2/api/IAllowItem.java +++ /dev/null @@ -1,11 +0,0 @@ -package mods.battlegear2.api; - -import net.minecraft.item.ItemStack; - -public interface IAllowItem { - - /** - * Returns true if the mainhand {@link #ItemStack} allows the offhand {@link #ItemStack} to be placed in the partner offhand slot - */ - public boolean allowOffhand(ItemStack mainhand, ItemStack offhand); -} diff --git a/src/main/java/mods/battlegear2/api/IDyable.java b/src/main/java/mods/battlegear2/api/IDyable.java deleted file mode 100644 index 3e72f2fc..00000000 --- a/src/main/java/mods/battlegear2/api/IDyable.java +++ /dev/null @@ -1,31 +0,0 @@ -package mods.battlegear2.api; - - -import net.minecraft.item.ItemStack; -import net.minecraft.nbt.NBTTagCompound; - -//This is a tempory fix until we get the heradry system up and running -public interface IDyable { - - /** - * Return whether the specified ItemStack has a color. - */ - public boolean hasColor(ItemStack par1ItemStack); - - - /** - * Return the color for the specified ItemStack. - */ - public int getColor(ItemStack par1ItemStack); - - public void setColor(ItemStack dyable, int rgb); - - /** - * Remove the color from the specified ItemStack. - */ - public void removeColor(ItemStack par1ItemStack); - - public int getDefaultColor(ItemStack par1ItemStack); - - -} diff --git a/src/main/java/mods/battlegear2/api/IOffhandDual.java b/src/main/java/mods/battlegear2/api/IOffhandDual.java deleted file mode 100644 index 1c184687..00000000 --- a/src/main/java/mods/battlegear2/api/IOffhandDual.java +++ /dev/null @@ -1,55 +0,0 @@ -package mods.battlegear2.api; - -import cpw.mods.fml.relauncher.Side; -import mods.battlegear2.api.weapons.OffhandAttackEvent; -import net.minecraft.item.ItemStack; -import net.minecraftforge.event.entity.player.PlayerInteractEvent; - -public interface IOffhandDual { - /** - * Returns true if the item can be dual wielded in the offhand slot - */ - public boolean isOffhandHandDual(ItemStack off); - - /** - * Perform any function when the item is held in the offhand and the user right clicks an entity. - * This is generally used to attack an entity with the offhand item. If this is the case the event should - * be canceled to prevent any default right clicking events (Eg Villager Trading) - * - * @param event the OffhandAttackEvent that was generated - * @param mainhandItem the ItemStack currently being held in the right hand - * @param offhandItem the ItemStack currently being held in the left hand - * @return true if the off hand swing animation should be performed - */ - public boolean offhandAttackEntity(OffhandAttackEvent event, ItemStack mainhandItem, ItemStack offhandItem); - - /** - * Perform any function when the item is held in the offhand and the user right clicks "Air". - * - * @param event the PlayerInteractEvent that was generated - * @param mainhandItem the ItemStack currently being held in the right hand - * @param offhandItem the ItemStack currently being held in the left hand - * @return true if the off hand swing animation should be performed - */ - public boolean offhandClickAir(PlayerInteractEvent event, ItemStack mainhandItem, ItemStack offhandItem); - - /** - * Perform any function when the item is held in the offhand and the user right clicks a block. - * Note that this will happen prior to the activation of any activation functions of blocks - * - * @param event the PlayerInteractEvent that was generated - * @param mainhandItem the ItemStack currently being held in the right hand - * @param offhandItem the ItemStack currently being held in the left hand - * @return true if the off hand swing animation should be performed - */ - public boolean offhandClickBlock(PlayerInteractEvent event, ItemStack mainhandItem, ItemStack offhandItem); - - /** - * Perform any passive effects on each game tick when the item is held in the offhand - * - * @param effectiveSide the effective side the method was called from - * @param mainhandItem the ItemStack currently being held in the right hand - * @param offhandItem the ItemStack currently being held in the left hand - */ - public void performPassiveEffects(Side effectiveSide, ItemStack mainhandItem, ItemStack offhandItem); -} diff --git a/src/main/java/mods/battlegear2/api/ISheathed.java b/src/main/java/mods/battlegear2/api/ISheathed.java deleted file mode 100644 index 5955b87b..00000000 --- a/src/main/java/mods/battlegear2/api/ISheathed.java +++ /dev/null @@ -1,12 +0,0 @@ -package mods.battlegear2.api; - -import net.minecraft.item.ItemStack; - -public interface ISheathed { - - /** - * Returns true if the item should always be sheathed on the back, false if it should be sheathed on the hip - * @param item the {@link #ItemStack} to be sheathed - */ - public boolean sheatheOnBack(ItemStack item); -} diff --git a/src/main/java/mods/battlegear2/api/IShield.java b/src/main/java/mods/battlegear2/api/IShield.java deleted file mode 100644 index cdd408a3..00000000 --- a/src/main/java/mods/battlegear2/api/IShield.java +++ /dev/null @@ -1,55 +0,0 @@ -package mods.battlegear2.api; - -import net.minecraft.item.ItemStack; -import net.minecraft.util.DamageSource; - -public interface IShield { - - /** - * Gets the decay rate for the stamina bar when the shield is in use. - * The value should be between 0 and 1. The duration of maximum blocking can be calculated - * by 1/decayRate/20. - * @return a value between 0 & 1 representing the decay rate per tick - */ - public float getDecayRate(ItemStack shield); - - /** - * Gets the recovery rate for the stamina bar when the shield is not in use. - * The value should be between 0 and 1. - * - * @return a value between 0 & 1 representing the recovery rate per tick - */ - public float getRecoveryRate(ItemStack shield); - - /** - * Returns true if the current shield can and should block the given damage source - * - * @return true if the shield can block the given damage type - */ - public boolean canBlock(ItemStack shield, DamageSource source); - - /** - * Gets the extra decay rate to the stamina bar when the shield is damaged - * - * @param amount The amount of damage the shield has absorbed - * @return a value between 0 & 1 representing the decay rate - */ - public float getDamageDecayRate(ItemStack shield, float amount); - - /** - * Returns the block angle in degrees that the shield can block. - * This angle is taken as 0 degrees being directly in front of the player. The shield - * will block between -blockAngle to blockangle - * @return The maximum angle the shield should be able to block at - */ - public float getBlockAngle(ItemStack shield); - - - /** - * Returns the time a shield bash should take to be preformed. A shield bash will disallow actions - * for the number of ticks given and will knockback an oponent at time/2 - * - * @return The amount of ticks the shield bash animation will play - */ - public int getBashTimer(ItemStack shield); -} diff --git a/src/main/java/mods/battlegear2/api/PlayerEventChild.java b/src/main/java/mods/battlegear2/api/PlayerEventChild.java deleted file mode 100644 index 9a8116aa..00000000 --- a/src/main/java/mods/battlegear2/api/PlayerEventChild.java +++ /dev/null @@ -1,29 +0,0 @@ -package mods.battlegear2.api; - -import net.minecraftforge.event.entity.player.PlayerEvent; - -public class PlayerEventChild extends PlayerEvent{ - - public PlayerEvent parent; - - public PlayerEventChild(PlayerEvent parent) { - super(parent.entityPlayer); - this.parent = parent; - } - - public void setCancelParentEvent(boolean cancel) { - parent.setCanceled(cancel); - } - - @Override - public void setCanceled(boolean cancel) { - super.setCanceled(cancel); - parent.setCanceled(cancel); - } - - @Override - public void setResult(Result value) { - super.setResult(value); - parent.setResult(value); - } -} diff --git a/src/main/java/mods/battlegear2/api/quiver/IArrowContainer2.java b/src/main/java/mods/battlegear2/api/quiver/IArrowContainer2.java deleted file mode 100644 index 31e0e620..00000000 --- a/src/main/java/mods/battlegear2/api/quiver/IArrowContainer2.java +++ /dev/null @@ -1,99 +0,0 @@ -package mods.battlegear2.api.quiver; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.projectile.EntityArrow; -import net.minecraft.item.ItemStack; -import net.minecraft.world.World; - -public interface IArrowContainer2 { - - /** - * Returns the maximum amout of slots in the arrow container - * @param container {@link #ItemStack} representing this item - * @return the amount of slots - */ - public int getSlotCount(ItemStack container); - - /** - * Returns the currently selected slot in the arrow container - * @param container {@link #ItemStack} representing this item - * @return the currently selected slot - */ - public int getSelectedSlot(ItemStack container); - - /** - * Sets the currently selected slot to the given value - * @param container {@link #ItemStack} representing this item - * @param newSlot the new slot index - */ - public void setSelectedSlot(ItemStack container, int newSlot); - - /** - * Returns the itemStack in the currently selected slot - * @param container The {@link #ItemStack} representing this item - * @param slot the slot index - * @return The {@link #ItemStack} in the given slot. - */ - public ItemStack getStackInSlot(ItemStack container, int slot); - - /** - * Sets places the given item stack in the give slot - * @param container {@link #ItemStack} representing this item - * @param slot the slot index - * @param container {@link #ItemStack} representing the new stack - */ - public void setStackInSlot(ItemStack container, int slot, ItemStack stack); - - - /** - * - * @param container The {@link #ItemStack} representing this item - * @param bow The bow trying to use this container - * @param player The {@link #EntityPlayer} using the bow - * @return true if the item contains at least one arrow in the selected slot - */ - public boolean hasArrowFor(ItemStack container, ItemStack bow, EntityPlayer player, int slot); - - /** - * The arrow spawned when bow is used with this non empty container equipped - * @param container The {@link #ItemStack} representing this item - * @param charge Amount of charge in the bow, ranging from 0.2F to 2.0F - * @param player The {@link #EntityPlayer} using the bow - * @param world - * @return the arrow entity to spawn when bow is used - */ - public EntityArrow getArrowType(ItemStack container, World world, EntityPlayer player, float charge); - /** - * Action to take after an arrow has been fired - * Usually equal to removing an arrow from the container - * @param player The {@link #EntityPlayer} using the bow - * @param world - * @param container The {@link #ItemStack} representing this item - * @param bow The bow which fired - * @param arrow the arrow fired - */ - public void onArrowFired(World world, EntityPlayer player, ItemStack container, ItemStack bow, EntityArrow arrow); - /** - * Called before the arrow is fired from this container - * @param arrowEvent Used to decide bow damage, bow sound and arrow enchantment - */ - public void onPreArrowFired(QuiverArrowEvent arrowEvent); - /** - * Called when the container is put on a crafting bench with other items - * @param container The {@link #ItemStack} representing this item - * @param arrowStack The {@link #ItemStack} representing other items - * @return True to receive {@link #addArrows(net.minecraft.item.ItemStack, net.minecraft.item.ItemStack)} - */ - public boolean isCraftableWithArrows(ItemStack contaner, ItemStack arrowStack); - - /** - * Crafts the item with the items from {@link #isCraftableWithArrows(net.minecraft.item.ItemStack, net.minecraft.item.ItemStack)} - * @param container The {@link #ItemStack} representing this item - * @param arrows Another valid item on the crafting bench - * @return Number of arrows that couldn't fit in - */ - public ItemStack addArrows(ItemStack container, ItemStack newStack); - - - -} diff --git a/src/main/java/mods/battlegear2/api/quiver/QuiverArrowEvent.java b/src/main/java/mods/battlegear2/api/quiver/QuiverArrowEvent.java deleted file mode 100644 index f410261a..00000000 --- a/src/main/java/mods/battlegear2/api/quiver/QuiverArrowEvent.java +++ /dev/null @@ -1,30 +0,0 @@ -package mods.battlegear2.api.quiver; - -import mods.battlegear2.api.PlayerEventChild; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.item.ItemStack; -import net.minecraftforge.event.entity.player.ArrowLooseEvent; -import net.minecraftforge.event.entity.player.PlayerEvent; - -public class QuiverArrowEvent extends PlayerEventChild{ - - public int bowDamage = 1; - public float bowSoundVolume = 1.0F; - public boolean addEnchantments = true; - public ArrowLooseEvent event; - - public QuiverArrowEvent(ArrowLooseEvent parent) { - super(parent); - this.event = parent; - } - - public ItemStack getBow() - { - return event.bow; - } - - public int getCharge() - { - return event.charge; - } -} diff --git a/src/main/java/mods/battlegear2/api/quiver/QuiverArrowRegistry.java b/src/main/java/mods/battlegear2/api/quiver/QuiverArrowRegistry.java deleted file mode 100644 index f3275863..00000000 --- a/src/main/java/mods/battlegear2/api/quiver/QuiverArrowRegistry.java +++ /dev/null @@ -1,49 +0,0 @@ -package mods.battlegear2.api.quiver; - -import net.minecraft.entity.projectile.EntityArrow; -import net.minecraft.item.Item; -import net.minecraft.item.ItemStack; - -import java.util.Comparator; -import java.util.Map; -import java.util.TreeMap; - -public class QuiverArrowRegistry { - - private static Map> map = new TreeMap>(new StackComparator()); - - public static void addArrowToRegistry(Item itemId, int itemMetadata, Class entityArrow){ - ItemStack stack = new ItemStack(itemId, 1, itemMetadata); - addArrowToRegistry(stack, entityArrow); - } - - public static void addArrowToRegistry(ItemStack stack, Class entityArrow){ - ItemStack st = stack.copy(); - st.stackSize = 1; - map.put(st, entityArrow); - } - - public static Class getArrowClass(ItemStack stack){ - return map.get(stack); - } - - static class StackComparator implements Comparator { - @Override - public int compare(ItemStack stack, ItemStack stack2) { - if(stack == stack2){ - return 0; - }else{ - - boolean idDiff = stack.getItem() == stack2.getItem(); - if(idDiff != false){ - return -1; - }else{ - return -1; - } - } - - } - } - - -} diff --git a/src/main/java/mods/battlegear2/api/weapons/IBackStabbable.java b/src/main/java/mods/battlegear2/api/weapons/IBackStabbable.java deleted file mode 100644 index 36025eca..00000000 --- a/src/main/java/mods/battlegear2/api/weapons/IBackStabbable.java +++ /dev/null @@ -1,14 +0,0 @@ -package mods.battlegear2.api.weapons; - -import net.minecraft.entity.EntityLivingBase; - -public interface IBackStabbable { - - /** - * Action to perform on back stabbing - * @param entityHit - * @param entityHitting - * @return true if it adds an hitting action - */ - public boolean onBackStab(EntityLivingBase entityHit, EntityLivingBase entityHitting); -} diff --git a/src/main/java/mods/battlegear2/api/weapons/IBattlegearWeapon.java b/src/main/java/mods/battlegear2/api/weapons/IBattlegearWeapon.java deleted file mode 100644 index f0a76bec..00000000 --- a/src/main/java/mods/battlegear2/api/weapons/IBattlegearWeapon.java +++ /dev/null @@ -1,12 +0,0 @@ -package mods.battlegear2.api.weapons; - -import cpw.mods.fml.relauncher.Side; -import mods.battlegear2.api.IAllowItem; -import mods.battlegear2.api.IOffhandDual; -import mods.battlegear2.api.ISheathed; -import net.minecraft.item.ItemStack; -import net.minecraftforge.event.entity.player.PlayerInteractEvent; - -public interface IBattlegearWeapon extends ISheathed,IOffhandDual,IAllowItem{ - -} \ No newline at end of file diff --git a/src/main/java/mods/battlegear2/api/weapons/IExtendedReachWeapon.java b/src/main/java/mods/battlegear2/api/weapons/IExtendedReachWeapon.java deleted file mode 100644 index fce70604..00000000 --- a/src/main/java/mods/battlegear2/api/weapons/IExtendedReachWeapon.java +++ /dev/null @@ -1,12 +0,0 @@ -package mods.battlegear2.api.weapons; - -import net.minecraft.item.ItemStack; - -public interface IExtendedReachWeapon { - /** - * The distance the weapon will hit (note this will ONLY work for main hand weapons) - * @param stack - * @return - */ - public float getReachModifierInBlocks(ItemStack stack); -} diff --git a/src/main/java/mods/battlegear2/api/weapons/IHitTimeModifier.java b/src/main/java/mods/battlegear2/api/weapons/IHitTimeModifier.java deleted file mode 100644 index 38afe94e..00000000 --- a/src/main/java/mods/battlegear2/api/weapons/IHitTimeModifier.java +++ /dev/null @@ -1,15 +0,0 @@ -package mods.battlegear2.api.weapons; - -import net.minecraft.entity.EntityLiving; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.item.ItemStack; - -public interface IHitTimeModifier { - /** - * - * @param entityHit - * @return The amount to modify the hit shield - */ - public int getHitTime(ItemStack stack, EntityLivingBase entityHit); - -} diff --git a/src/main/java/mods/battlegear2/api/weapons/IPenetrateWeapon.java b/src/main/java/mods/battlegear2/api/weapons/IPenetrateWeapon.java deleted file mode 100644 index ae959c99..00000000 --- a/src/main/java/mods/battlegear2/api/weapons/IPenetrateWeapon.java +++ /dev/null @@ -1,13 +0,0 @@ -package mods.battlegear2.api.weapons; - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.item.ItemStack; - -public interface IPenetrateWeapon { - /** - * The amount of damage bypassing armor - * @param stack The {@link net.minecraft.item.ItemStack} representative of the item dealing the hit. - * @return the amount of damage that bypasses armour - */ - public int getPenetratingPower(ItemStack stack); -} diff --git a/src/main/java/mods/battlegear2/api/weapons/IPotionEffect.java b/src/main/java/mods/battlegear2/api/weapons/IPotionEffect.java deleted file mode 100644 index b6bae95e..00000000 --- a/src/main/java/mods/battlegear2/api/weapons/IPotionEffect.java +++ /dev/null @@ -1,23 +0,0 @@ -package mods.battlegear2.api.weapons; - - -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.potion.PotionEffect; - -import java.util.Map; - -public interface IPotionEffect { - - - /** - * Returns a map containing the potion effects to apply to an entity hit by the weapon. Each effect - * has a float value associated with the chance of applying the effect. Note that the "dice roll" only - * occurs once so any value under this roll will be applied. - * - * @param entityHit The entity the effect will be applied to. - * @param entityHitting - * @return A Map of {@link net.minecraft.potion.PotionEffect} with chance value ranging from 0 to 1, to be dealt to the entityHit - */ - public Map getEffectsOnHit(EntityLivingBase entityHit, EntityLivingBase entityHitting); - -} diff --git a/src/main/java/mods/battlegear2/api/weapons/ISpecialEffect.java b/src/main/java/mods/battlegear2/api/weapons/ISpecialEffect.java deleted file mode 100644 index 9f52e9bb..00000000 --- a/src/main/java/mods/battlegear2/api/weapons/ISpecialEffect.java +++ /dev/null @@ -1,16 +0,0 @@ -package mods.battlegear2.api.weapons; - -import net.minecraft.entity.EntityLiving; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.item.ItemStack; -import net.minecraft.potion.PotionEffect; - -public interface ISpecialEffect { - /** - * - * @param entityHit The entity the effect will be applied to. - * @param entityHitting - * @return true if it adds an hitting action - */ - public boolean performEffects(EntityLivingBase entityHit, EntityLivingBase entityHitting); -} diff --git a/src/main/java/mods/battlegear2/api/weapons/OffhandAttackEvent.java b/src/main/java/mods/battlegear2/api/weapons/OffhandAttackEvent.java deleted file mode 100644 index 273b1d5f..00000000 --- a/src/main/java/mods/battlegear2/api/weapons/OffhandAttackEvent.java +++ /dev/null @@ -1,22 +0,0 @@ -package mods.battlegear2.api.weapons; - -import mods.battlegear2.api.PlayerEventChild; -import net.minecraft.entity.Entity; -import net.minecraftforge.event.entity.player.EntityInteractEvent; -import net.minecraftforge.event.entity.player.PlayerEvent; - -public class OffhandAttackEvent extends PlayerEventChild { - - public boolean swingOffhand = true; - public boolean shouldAttack = true; - public EntityInteractEvent event; - - public OffhandAttackEvent(EntityInteractEvent parent) { - super(parent); - this.event = parent; - } - - public Entity getTarget() { - return event.target; - } -} \ No newline at end of file diff --git a/src/main/java/mods/battlegear2/items/ItemShield.java b/src/main/java/mods/battlegear2/items/ItemShield.java deleted file mode 100644 index 0faeb958..00000000 --- a/src/main/java/mods/battlegear2/items/ItemShield.java +++ /dev/null @@ -1,11 +0,0 @@ -package mods.battlegear2.items; - -import net.minecraft.item.Item; - -public class ItemShield extends Item { - - public ItemShield() - { - super(); - } -}