diff options
author | Martin Robertz <dream-master@gmx.net> | 2020-02-25 18:24:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-25 18:24:09 +0100 |
commit | 5680fbc57fedb9c3aec07bdbf6efc67e64832564 (patch) | |
tree | 087b121f0d40b58914411438574eaf0fe63ed8e0 /src/main/java/gregtech/api/interfaces | |
parent | 0db0f5bc83a3446b09418f49cee8329a1a6b73fb (diff) | |
parent | 5c8be4893ee303377629ae7404e5608eb4bd7c37 (diff) | |
download | GT5-Unofficial-5680fbc57fedb9c3aec07bdbf6efc67e64832564.tar.gz GT5-Unofficial-5680fbc57fedb9c3aec07bdbf6efc67e64832564.tar.bz2 GT5-Unofficial-5680fbc57fedb9c3aec07bdbf6efc67e64832564.zip |
Merge pull request #247 from Relvl/fix-fakeplayers-uuid
Provide owner's UUID to forge event bus for fake players.
Diffstat (limited to 'src/main/java/gregtech/api/interfaces')
-rw-r--r-- | src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java b/src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java index 953e3e5dc4..8bd8c5b678 100644 --- a/src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java +++ b/src/main/java/gregtech/api/interfaces/tileentity/IGregTechTileEntity.java @@ -12,6 +12,7 @@ import net.minecraftforge.fluids.IFluidHandler; import java.util.ArrayList; import java.util.List; +import java.util.UUID; /** * A simple compound Interface for all my TileEntities. @@ -93,6 +94,16 @@ public interface IGregTechTileEntity extends ITexturedTileEntity, IGearEnergyTil public String getOwnerName(); /** + * Gets the UniqueID of the Machines Owner. + */ + public UUID getOwnerUuid(); + + /** + * Sets the UniqueID of the Machines Owner. + */ + public void setOwnerUuid(UUID uuid); + + /** * Sets initial Values from NBT * * @param aNBT is the NBTTag of readFromNBT |