1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
package gregtech.common.tileentities.machines.multi.purification;
import com.gtnewhorizons.modularui.api.screen.ModularWindow;
import com.gtnewhorizons.modularui.api.screen.UIBuildContext;
import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.implementations.MTEHatchInputBus;
import gregtech.client.GTTooltipHandler;
public class MTEHatchLensHousing extends MTEHatchInputBus {
public MTEHatchLensHousing(int id, String name, String nameRegional) {
super(
id,
name,
nameRegional,
GTTooltipHandler.Tier.UV.ordinal(),
1,
new String[] { "Holds a lens for UV laser focusing." });
}
public MTEHatchLensHousing(String aName, int aTier, String[] aDescription, ITexture[][][] aTextures) {
super(aName, aTier, aDescription, aTextures);
}
@Override
public MetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) {
return new MTEHatchLensHousing(this.mName, this.mTier, this.mDescriptionArray, this.mTextures);
}
@Override
public int getSizeInventory() {
return 1;
}
@Override
public int getCircuitSlot() {
return -1;
}
@Override
public boolean allowSelectCircuit() {
return false;
}
@Override
public void addUIWidgets(ModularWindow.Builder builder, UIBuildContext buildContext) {
getBaseMetaTileEntity().add1by1Slot(builder);
}
}
|