Skip to content

Commit a695e27

Browse files
committed
Make GT dependency really optional
1 parent 9485097 commit a695e27

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/appeng/tile/powersink/GTPowerSink.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import net.minecraft.world.biome.BiomeGenBase;
1616
import net.minecraftforge.fluids.IFluidHandler;
1717

18-
@Integration.Interface( iname = IntegrationType.GT, iface = "gregtech.api.interfaces.tileentity.IEnergyConnected" )
18+
@Integration.Interface(iname = IntegrationType.GT, iface = "gregtech.api.interfaces.tileentity.IEnergyConnected" )
1919
public abstract class GTPowerSink extends AERootPoweredTile implements IEnergyConnected {
2020
@Override
2121
public long injectEnergyUnits(byte side, long voltage, long amperage) {
@@ -144,21 +144,25 @@ public IFluidHandler getITankContainerAtSideAndDistance(byte b, int i) {
144144
return null;
145145
}
146146

147+
@Integration.Method(iname = IntegrationType.GT)
147148
@Override
148149
public IGregTechTileEntity getIGregTechTileEntity(int i, int i1, int i2) {
149150
return null;
150151
}
151152

153+
@Integration.Method(iname = IntegrationType.GT)
152154
@Override
153155
public IGregTechTileEntity getIGregTechTileEntityOffset(int i, int i1, int i2) {
154156
return null;
155157
}
156158

159+
@Integration.Method(iname = IntegrationType.GT)
157160
@Override
158161
public IGregTechTileEntity getIGregTechTileEntityAtSide(byte b) {
159162
return null;
160163
}
161164

165+
@Integration.Method(iname = IntegrationType.GT)
162166
@Override
163167
public IGregTechTileEntity getIGregTechTileEntityAtSideAndDistance(byte b, int i) {
164168
return null;

0 commit comments

Comments
 (0)