public interface ISensorSetting extends IBaseSensor
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
_getDescription(java.lang.String path)
Don't call this directly; used internally by
IBaseSensor.getDescription() |
default int |
getAirUsage(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Get the air usage for this sensor.
|
default boolean |
needsGPSTool()
Check if this sensor type needs a GPS (or GPS Area) Tool
|
default void |
notifyTextChange(java.lang.String newText)
Notify the sensor that the textbox has changed, so it can carry out any necessary recalculation.
|
getAdditionalInfo, getDescription, getRequiredUpgrades, getSensorPath, getTextboxIntRange, isEntityFilter, needsTextBoxdefault int getAirUsage(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
default void notifyTextChange(java.lang.String newText)
default boolean needsGPSTool()
static java.util.List<java.lang.String> _getDescription(java.lang.String path)
IBaseSensor.getDescription()path - the sensor path