aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java
diff options
context:
space:
mode:
authorbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2020-03-17 19:12:19 +0100
committerbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2020-03-17 19:12:19 +0100
commit1922f34f1f8782f160e4808f4f6bb75a50703871 (patch)
tree6d77f9745e5e559071ae11c42bb0040c8c68706b /src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java
parentace89f8a1937f6d4671c8677d2f86ef9fdc7a660 (diff)
downloadGT5-Unofficial-1922f34f1f8782f160e4808f4f6bb75a50703871.tar.gz
GT5-Unofficial-1922f34f1f8782f160e4808f4f6bb75a50703871.tar.bz2
GT5-Unofficial-1922f34f1f8782f160e4808f4f6bb75a50703871.zip
Refactored Interfaces
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java')
-rw-r--r--src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java b/src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java
index 8bd8c5b678..af9ead9543 100644
--- a/src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java
+++ b/src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java
@@ -25,27 +25,27 @@ public interface IGregTechTileEntity extends ITexturedTileEntity, IGearEnergyTil
/**
* gets the Error displayed on the GUI
*/
- public int getErrorDisplayID();
+ int getErrorDisplayID();
/**
* sets the Error displayed on the GUI
*/
- public void setErrorDisplayID(int aErrorID);
+ void setErrorDisplayID(int aErrorID);
/**
* @return the MetaID of the Block or the MetaTileEntity ID.
*/
- public int getMetaTileID();
+ int getMetaTileID();
/**
* Internal Usage only!
*/
- public int setMetaTileID(short aID);
+ int setMetaTileID(short aID);
/**
* @return the MetaTileEntity which is belonging to this, or null if it doesnt has one.
*/
- public IMetaTileEntity getMetaTileEntity();
+ IMetaTileEntity getMetaTileEntity();
/**
* Sets the MetaTileEntity.
@@ -54,54 +54,54 @@ public interface IGregTechTileEntity extends ITexturedTileEntity, IGearEnergyTil
*
* @param aMetaTileEntity
*/
- public void setMetaTileEntity(IMetaTileEntity aMetaTileEntity);
+ void setMetaTileEntity(IMetaTileEntity aMetaTileEntity);
/**
* Causes a general Texture update.
* <p/>
* Only used Client Side to mark Blocks dirty.
*/
- public void issueTextureUpdate();
+ void issueTextureUpdate();
/**
* Causes the Machine to send its initial Data, like Covers and its ID.
*/
- public void issueClientUpdate();
+ void issueClientUpdate();
/**
* causes Explosion. Strength in Overload-EU
*/
- public void doExplosion(long aExplosionEU);
+ void doExplosion(long aExplosionEU);
/**
* Sets the Block on Fire in all 6 Directions
*/
- public void setOnFire();
+ void setOnFire();
/**
* Sets the Block to Fire
*/
- public void setToFire();
+ void setToFire();
/**
* Sets the Owner of the Machine. Returns the set Name.
*/
- public String setOwnerName(String aName);
+ String setOwnerName(String aName);
/**
* gets the Name of the Machines Owner or "Player" if not set.
*/
- public String getOwnerName();
+ String getOwnerName();
/**
* Gets the UniqueID of the Machines Owner.
*/
- public UUID getOwnerUuid();
+ UUID getOwnerUuid();
/**
* Sets the UniqueID of the Machines Owner.
*/
- public void setOwnerUuid(UUID uuid);
+ void setOwnerUuid(UUID uuid);
/**
* Sets initial Values from NBT
@@ -109,30 +109,30 @@ public interface IGregTechTileEntity extends ITexturedTileEntity, IGearEnergyTil
* @param aNBT is the NBTTag of readFromNBT
* @param aID is the MetaTileEntityID
*/
- public void setInitialValuesAsNBT(NBTTagCompound aNBT, short aID);
+ void setInitialValuesAsNBT(NBTTagCompound aNBT, short aID);
/**
* Called when leftclicking the TileEntity
*/
- public void onLeftclick(EntityPlayer aPlayer);
+ void onLeftclick(EntityPlayer aPlayer);
/**
* Called when rightclicking the TileEntity
*/
- public boolean onRightclick(EntityPlayer aPlayer, byte aSide, float par1, float par2, float par3);
+ boolean onRightclick(EntityPlayer aPlayer, byte aSide, float par1, float par2, float par3);
- public float getBlastResistance(byte aSide);
+ float getBlastResistance(byte aSide);
- public ArrayList<ItemStack> getDrops();
+ ArrayList<ItemStack> getDrops();
/**
* 255 = 100%
*/
- public int getLightOpacity();
+ int getLightOpacity();
- public void addCollisionBoxesToList(World aWorld, int aX, int aY, int aZ, AxisAlignedBB inputAABB, List<AxisAlignedBB> outputAABB, Entity collider);
+ void addCollisionBoxesToList(World aWorld, int aX, int aY, int aZ, AxisAlignedBB inputAABB, List<AxisAlignedBB> outputAABB, Entity collider);
- public AxisAlignedBB getCollisionBoundingBoxFromPool(World aWorld, int aX, int aY, int aZ);
+ AxisAlignedBB getCollisionBoundingBoxFromPool(World aWorld, int aX, int aY, int aZ);
- public void onEntityCollidedWithBlock(World aWorld, int aX, int aY, int aZ, Entity collider);
+ void onEntityCollidedWithBlock(World aWorld, int aX, int aY, int aZ, Entity collider);
} \ No newline at end of file