diff options
author | Matej Dipčár <492666@mail.muni.cz> | 2022-09-23 02:25:01 +0200 |
---|---|---|
committer | Matej Dipčár <492666@mail.muni.cz> | 2022-09-23 02:25:01 +0200 |
commit | b0969c88904bc7465bef4d580d7387e1644f8c7e (patch) | |
tree | 104031bf99b6792bc9f7b06aee2f40487a696881 /src/main/java/gregtech/api | |
parent | c566030a6c23eb771d26d7d0321c6c195d260fe4 (diff) | |
download | GT5-Unofficial-b0969c88904bc7465bef4d580d7387e1644f8c7e.tar.gz GT5-Unofficial-b0969c88904bc7465bef4d580d7387e1644f8c7e.tar.bz2 GT5-Unofficial-b0969c88904bc7465bef4d580d7387e1644f8c7e.zip |
Move `hashCoverCoords` to WirelessBase
Diffstat (limited to 'src/main/java/gregtech/api')
-rw-r--r-- | src/main/java/gregtech/api/GregTech_API.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/main/java/gregtech/api/GregTech_API.java b/src/main/java/gregtech/api/GregTech_API.java index ed8610982d..648c30d930 100644 --- a/src/main/java/gregtech/api/GregTech_API.java +++ b/src/main/java/gregtech/api/GregTech_API.java @@ -20,7 +20,6 @@ import gregtech.api.interfaces.ITexture; import gregtech.api.interfaces.internal.IGT_RecipeAdder; import gregtech.api.interfaces.internal.IThaumcraftCompat; import gregtech.api.interfaces.metatileentity.IMetaTileEntity; -import gregtech.api.interfaces.tileentity.ICoverable; import gregtech.api.interfaces.tileentity.IMachineBlockUpdateable; import gregtech.api.items.GT_CoolantCellIC_Item; import gregtech.api.items.GT_CoolantCell_Item; @@ -179,22 +178,6 @@ public class GregTech_API { public static final Map<String, Map<Integer, Map<Long, Byte>>> sAdvancedWirelessRedstone = new ConcurrentHashMap<>(); /** - * x hashed into first 20 bytes - * y hashed into second 20 bytes - * z hashed into fifth 10 bytes - * dim hashed into sixth 10 bytes - * side hashed into last 4 bytes - */ - public static long hashCoverCoords(ICoverable tile, byte side) { - return (((((long) - tile.getXCoord() << 20) + - tile.getZCoord() << 10) + - tile.getYCoord() << 10) + - tile.getWorld().provider.dimensionId << 4) + - side; - } - - /** * The IDSU Frequencies */ public static final Map<Integer, Integer> sIDSUList = new ConcurrentHashMap<>(); |