public interface IBaseSensor
| Modifier and Type | Method and Description |
|---|---|
default void |
getAdditionalInfo(java.util.List<net.minecraft.util.text.ITextComponent> info)
Return some descriptive text to be displayed above the optional textbox
|
default java.util.List<java.lang.String> |
getDescription()
Get some description text for this sensor
|
java.util.Set<EnumUpgrade> |
getRequiredUpgrades()
Return the upgrades required by this sensor.
|
java.lang.String |
getSensorPath()
Return the button path the player has to follow in which this setting is stored.
|
default net.minecraft.util.RangedInteger |
getTextboxIntRange()
For numeric textboxes (see
needsTextBox()), get the permitted numeric range. |
default boolean |
isEntityFilter()
If a textbox is to be displyed (see
needsTextBox()), is this textbox for an entity filter? |
boolean |
needsTextBox()
Should this sensor's GUI display a text box for extra information to be entered?
|
java.lang.String getSensorPath()
java.util.Set<EnumUpgrade> getRequiredUpgrades()
boolean needsTextBox()
default net.minecraft.util.RangedInteger getTextboxIntRange()
needsTextBox()), get the permitted numeric range.default boolean isEntityFilter()
needsTextBox()), is this textbox for an entity filter?default java.util.List<java.lang.String> getDescription()
default void getAdditionalInfo(java.util.List<net.minecraft.util.text.ITextComponent> info)
info - a text component list to be appended to