diff options
author | aerospark <lukefay12@gmail.com> | 2015-06-23 15:29:05 -0700 |
---|---|---|
committer | aerospark <lukefay12@gmail.com> | 2015-06-23 15:29:05 -0700 |
commit | a1504799f44ba2debdfef06317f24e7f9c1129d6 (patch) | |
tree | 53e53ff64d2902c639951bd1d41f942ee171f836 /main/java/gregtech/common/items/behaviors/Behaviour_None.java | |
parent | b803f59de5a66fcb4ef53e117b912fbbc2841392 (diff) | |
download | GT5-Unofficial-a1504799f44ba2debdfef06317f24e7f9c1129d6.tar.gz GT5-Unofficial-a1504799f44ba2debdfef06317f24e7f9c1129d6.tar.bz2 GT5-Unofficial-a1504799f44ba2debdfef06317f24e7f9c1129d6.zip |
strip linenumbers
Diffstat (limited to 'main/java/gregtech/common/items/behaviors/Behaviour_None.java')
-rw-r--r-- | main/java/gregtech/common/items/behaviors/Behaviour_None.java | 164 |
1 files changed, 82 insertions, 82 deletions
diff --git a/main/java/gregtech/common/items/behaviors/Behaviour_None.java b/main/java/gregtech/common/items/behaviors/Behaviour_None.java index 3e55af1e97..caf6325e1d 100644 --- a/main/java/gregtech/common/items/behaviors/Behaviour_None.java +++ b/main/java/gregtech/common/items/behaviors/Behaviour_None.java @@ -1,85 +1,85 @@ -/* 1: */ package gregtech.common.items.behaviors;
-/* 2: */
-/* 3: */ import gregtech.api.enums.SubTag;
-/* 4: */ import gregtech.api.interfaces.IItemBehaviour;
-/* 5: */ import gregtech.api.items.GT_MetaBase_Item;
-/* 6: */ import java.util.List;
-/* 7: */ import net.minecraft.block.BlockDispenser;
-/* 8: */ import net.minecraft.dispenser.BehaviorDefaultDispenseItem;
-/* 9: */ import net.minecraft.dispenser.IBlockSource;
-/* 10: */ import net.minecraft.dispenser.IPosition;
-/* 11: */ import net.minecraft.entity.Entity;
-/* 12: */ import net.minecraft.entity.EntityLivingBase;
-/* 13: */ import net.minecraft.entity.player.EntityPlayer;
-/* 14: */ import net.minecraft.entity.projectile.EntityArrow;
-/* 15: */ import net.minecraft.item.ItemStack;
-/* 16: */ import net.minecraft.util.EnumFacing;
-/* 17: */ import net.minecraft.world.World;
-/* 18: */
-/* 19: */ public class Behaviour_None
-/* 20: */ implements IItemBehaviour<GT_MetaBase_Item>
-/* 21: */ {
-/* 22: */ public boolean onLeftClickEntity(GT_MetaBase_Item aItem, ItemStack aStack, EntityPlayer aPlayer, Entity aEntity)
-/* 23: */ {
-/* 24:24 */ return false;
-/* 25: */ }
-/* 26: */
-/* 27: */ public boolean onItemUse(GT_MetaBase_Item aItem, ItemStack aStack, EntityPlayer aPlayer, World aWorld, int aX, int aY, int aZ, int aSide, float hitX, float hitY, float hitZ)
-/* 28: */ {
-/* 29:29 */ return false;
-/* 30: */ }
-/* 31: */
-/* 32: */ public boolean onItemUseFirst(GT_MetaBase_Item aItem, ItemStack aStack, EntityPlayer aPlayer, World aWorld, int aX, int aY, int aZ, int aSide, float hitX, float hitY, float hitZ)
-/* 33: */ {
-/* 34:34 */ return false;
-/* 35: */ }
-/* 36: */
-/* 37: */ public ItemStack onItemRightClick(GT_MetaBase_Item aItem, ItemStack aStack, World aWorld, EntityPlayer aPlayer)
-/* 38: */ {
-/* 39:39 */ return aStack;
-/* 40: */ }
-/* 41: */
-/* 42: */ public List<String> getAdditionalToolTips(GT_MetaBase_Item aItem, List<String> aList, ItemStack aStack)
-/* 43: */ {
-/* 44:44 */ return aList;
-/* 45: */ }
-/* 46: */
-/* 47: */ public void onUpdate(GT_MetaBase_Item aItem, ItemStack aStack, World aWorld, Entity aPlayer, int aTimer, boolean aIsInHand) {}
-/* 48: */
-/* 49: */ public boolean isItemStackUsable(GT_MetaBase_Item aItem, ItemStack aStack)
-/* 50: */ {
-/* 51:54 */ return true;
-/* 52: */ }
-/* 53: */
-/* 54: */ public boolean canDispense(GT_MetaBase_Item aItem, IBlockSource aSource, ItemStack aStack)
-/* 55: */ {
-/* 56:59 */ return false;
-/* 57: */ }
-/* 58: */
-/* 59: */ public ItemStack onDispense(GT_MetaBase_Item aItem, IBlockSource aSource, ItemStack aStack)
-/* 60: */ {
-/* 61:64 */ EnumFacing enumfacing = BlockDispenser.func_149937_b(aSource.getBlockMetadata());
-/* 62:65 */ IPosition iposition = BlockDispenser.func_149939_a(aSource);
-/* 63:66 */ ItemStack itemstack1 = aStack.splitStack(1);
-/* 64:67 */ BehaviorDefaultDispenseItem.doDispense(aSource.getWorld(), itemstack1, 6, enumfacing, iposition);
-/* 65:68 */ return aStack;
-/* 66: */ }
-/* 67: */
-/* 68: */ public boolean hasProjectile(GT_MetaBase_Item aItem, SubTag aProjectileType, ItemStack aStack)
-/* 69: */ {
-/* 70:73 */ return false;
-/* 71: */ }
-/* 72: */
-/* 73: */ public EntityArrow getProjectile(GT_MetaBase_Item aItem, SubTag aProjectileType, ItemStack aStack, World aWorld, double aX, double aY, double aZ)
-/* 74: */ {
-/* 75:78 */ return null;
-/* 76: */ }
-/* 77: */
-/* 78: */ public EntityArrow getProjectile(GT_MetaBase_Item aItem, SubTag aProjectileType, ItemStack aStack, World aWorld, EntityLivingBase aEntity, float aSpeed)
-/* 79: */ {
-/* 80:83 */ return null;
-/* 81: */ }
-/* 82: */ }
+package gregtech.common.items.behaviors;
+
+import gregtech.api.enums.SubTag;
+import gregtech.api.interfaces.IItemBehaviour;
+import gregtech.api.items.GT_MetaBase_Item;
+import java.util.List;
+import net.minecraft.block.BlockDispenser;
+import net.minecraft.dispenser.BehaviorDefaultDispenseItem;
+import net.minecraft.dispenser.IBlockSource;
+import net.minecraft.dispenser.IPosition;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.entity.projectile.EntityArrow;
+import net.minecraft.item.ItemStack;
+import net.minecraft.util.EnumFacing;
+import net.minecraft.world.World;
+
+public class Behaviour_None
+ implements IItemBehaviour<GT_MetaBase_Item>
+{
+ public boolean onLeftClickEntity(GT_MetaBase_Item aItem, ItemStack aStack, EntityPlayer aPlayer, Entity aEntity)
+ {
+ return false;
+ }
+
+ public boolean onItemUse(GT_MetaBase_Item aItem, ItemStack aStack, EntityPlayer aPlayer, World aWorld, int aX, int aY, int aZ, int aSide, float hitX, float hitY, float hitZ)
+ {
+ return false;
+ }
+
+ public boolean onItemUseFirst(GT_MetaBase_Item aItem, ItemStack aStack, EntityPlayer aPlayer, World aWorld, int aX, int aY, int aZ, int aSide, float hitX, float hitY, float hitZ)
+ {
+ return false;
+ }
+
+ public ItemStack onItemRightClick(GT_MetaBase_Item aItem, ItemStack aStack, World aWorld, EntityPlayer aPlayer)
+ {
+ return aStack;
+ }
+
+ public List<String> getAdditionalToolTips(GT_MetaBase_Item aItem, List<String> aList, ItemStack aStack)
+ {
+ return aList;
+ }
+
+ public void onUpdate(GT_MetaBase_Item aItem, ItemStack aStack, World aWorld, Entity aPlayer, int aTimer, boolean aIsInHand) {}
+
+ public boolean isItemStackUsable(GT_MetaBase_Item aItem, ItemStack aStack)
+ {
+ return true;
+ }
+
+ public boolean canDispense(GT_MetaBase_Item aItem, IBlockSource aSource, ItemStack aStack)
+ {
+ return false;
+ }
+
+ public ItemStack onDispense(GT_MetaBase_Item aItem, IBlockSource aSource, ItemStack aStack)
+ {
+ EnumFacing enumfacing = BlockDispenser.func_149937_b(aSource.getBlockMetadata());
+ IPosition iposition = BlockDispenser.func_149939_a(aSource);
+ ItemStack itemstack1 = aStack.splitStack(1);
+ BehaviorDefaultDispenseItem.doDispense(aSource.getWorld(), itemstack1, 6, enumfacing, iposition);
+ return aStack;
+ }
+
+ public boolean hasProjectile(GT_MetaBase_Item aItem, SubTag aProjectileType, ItemStack aStack)
+ {
+ return false;
+ }
+
+ public EntityArrow getProjectile(GT_MetaBase_Item aItem, SubTag aProjectileType, ItemStack aStack, World aWorld, double aX, double aY, double aZ)
+ {
+ return null;
+ }
+
+ public EntityArrow getProjectile(GT_MetaBase_Item aItem, SubTag aProjectileType, ItemStack aStack, World aWorld, EntityLivingBase aEntity, float aSpeed)
+ {
+ return null;
+ }
+}
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
|