mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
whoops forgot to change the component name (also added the getFluid() function to the pipe gauge)
This commit is contained in:
parent
e02e28b5d0
commit
02e80da344
@ -152,7 +152,7 @@ public class FluidDuctGauge extends FluidDuctBase implements IBlockMultiPass, IL
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getComponentName() {
|
public String getComponentName() {
|
||||||
return "rbmk_boiler";
|
return "ntm_fluid_gauge";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Callback(direct = true, limit = 8)
|
@Callback(direct = true, limit = 8)
|
||||||
@ -161,10 +161,16 @@ public class FluidDuctGauge extends FluidDuctBase implements IBlockMultiPass, IL
|
|||||||
return new Object[] {deltaTick, deltaSecond};
|
return new Object[] {deltaTick, deltaSecond};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Callback(direct = true, limit = 8)
|
||||||
|
@Optional.Method(modid = "OpenComputers")
|
||||||
|
public Object[] getFluid(Context context, Arguments args) {
|
||||||
|
return new Object[] {getType().getName()};
|
||||||
|
}
|
||||||
|
|
||||||
@Callback(direct = true, limit = 8)
|
@Callback(direct = true, limit = 8)
|
||||||
@Optional.Method(modid = "OpenComputers")
|
@Optional.Method(modid = "OpenComputers")
|
||||||
public Object[] getInfo(Context context, Arguments args) {
|
public Object[] getInfo(Context context, Arguments args) {
|
||||||
return new Object[] {deltaTick, deltaSecond};
|
return new Object[] {deltaTick, deltaSecond, getType().getName(), xCoord, yCoord, zCoord};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user