aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/IItemBehaviour.java
diff options
context:
space:
mode:
authorMartin Robertz <dream-master@gmx.net>2020-03-19 17:12:47 +0100
committerGitHub <noreply@github.com>2020-03-19 17:12:47 +0100
commit4bdccb94802098bf9248e419c51861640fc0f1c1 (patch)
treed03af88ec036dcb897c5a845369b345aeed3c97f /src/main/java/gregtech/api/interfaces/IItemBehaviour.java
parentfeca5739287583eee824512ff61714ae4113a6fc (diff)
parent5959633bc9eea56859e4e569c2aa8b8a427e5ea2 (diff)
downloadGT5-Unofficial-4bdccb94802098bf9248e419c51861640fc0f1c1.tar.gz
GT5-Unofficial-4bdccb94802098bf9248e419c51861640fc0f1c1.tar.bz2
GT5-Unofficial-4bdccb94802098bf9248e419c51861640fc0f1c1.zip
Merge pull request #251 from GTNewHorizons/Refactor
Refactor
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/IItemBehaviour.java')
-rw-r--r--src/main/java/gregtech/api/interfaces/IItemBehaviour.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/main/java/gregtech/api/interfaces/IItemBehaviour.java b/src/main/java/gregtech/api/interfaces/IItemBehaviour.java
index 1d75f41e17..32d0c0948a 100644
--- a/src/main/java/gregtech/api/interfaces/IItemBehaviour.java
+++ b/src/main/java/gregtech/api/interfaces/IItemBehaviour.java
@@ -14,27 +14,27 @@ import net.minecraft.world.World;
import java.util.List;
public interface IItemBehaviour<E extends Item> {
- public boolean onLeftClickEntity(E aItem, ItemStack aStack, EntityPlayer aPlayer, Entity aEntity);
+ boolean onLeftClickEntity(E aItem, ItemStack aStack, EntityPlayer aPlayer, Entity aEntity);
- public boolean onItemUse(E aItem, ItemStack aStack, EntityPlayer aPlayer, World aWorld, int aX, int aY, int aZ, int aSide, float hitX, float hitY, float hitZ);
+ boolean onItemUse(E aItem, ItemStack aStack, EntityPlayer aPlayer, World aWorld, int aX, int aY, int aZ, int aSide, float hitX, float hitY, float hitZ);
- public boolean onItemUseFirst(E aItem, ItemStack aStack, EntityPlayer aPlayer, World aWorld, int aX, int aY, int aZ, int aSide, float hitX, float hitY, float hitZ);
+ boolean onItemUseFirst(E aItem, ItemStack aStack, EntityPlayer aPlayer, World aWorld, int aX, int aY, int aZ, int aSide, float hitX, float hitY, float hitZ);
- public ItemStack onItemRightClick(E aItem, ItemStack aStack, World aWorld, EntityPlayer aPlayer);
+ ItemStack onItemRightClick(E aItem, ItemStack aStack, World aWorld, EntityPlayer aPlayer);
- public List<String> getAdditionalToolTips(E aItem, List<String> aList, ItemStack aStack);
+ List<String> getAdditionalToolTips(E aItem, List<String> aList, ItemStack aStack);
- public void onUpdate(E aItem, ItemStack aStack, World aWorld, Entity aPlayer, int aTimer, boolean aIsInHand);
+ void onUpdate(E aItem, ItemStack aStack, World aWorld, Entity aPlayer, int aTimer, boolean aIsInHand);
- public boolean isItemStackUsable(E aItem, ItemStack aStack);
+ boolean isItemStackUsable(E aItem, ItemStack aStack);
- public boolean canDispense(E aItem, IBlockSource aSource, ItemStack aStack);
+ boolean canDispense(E aItem, IBlockSource aSource, ItemStack aStack);
- public ItemStack onDispense(E aItem, IBlockSource aSource, ItemStack aStack);
+ ItemStack onDispense(E aItem, IBlockSource aSource, ItemStack aStack);
- public boolean hasProjectile(GT_MetaBase_Item aItem, SubTag aProjectileType, ItemStack aStack);
+ boolean hasProjectile(GT_MetaBase_Item aItem, SubTag aProjectileType, ItemStack aStack);
- public EntityArrow getProjectile(E aItem, SubTag aProjectileType, ItemStack aStack, World aWorld, double aX, double aY, double aZ);
+ EntityArrow getProjectile(E aItem, SubTag aProjectileType, ItemStack aStack, World aWorld, double aX, double aY, double aZ);
- public EntityArrow getProjectile(E aItem, SubTag aProjectileType, ItemStack aStack, World aWorld, EntityLivingBase aEntity, float aSpeed);
+ EntityArrow getProjectile(E aItem, SubTag aProjectileType, ItemStack aStack, World aWorld, EntityLivingBase aEntity, float aSpeed);
} \ No newline at end of file