public class BuilderSensorState extends BuilderSensorBase
Class BuilderSensorState. Provides buildersensorstate functionality for the Hytale server.
java.lang.Object > BuilderSensorBase > BuilderSensorState
Field Summary
state
protected
String
state
Field state.
subState
protected
String
subState
Field subState.
stateIndex
protected
int
stateIndex
Field stateIndex.
subStateIndex
protected
int
subStateIndex
Field subStateIndex.
defaultSubState
protected
boolean
defaultSubState
Field defaultSubState.
ignoreMissingSetState
protected
boolean
ignoreMissingSetState
Field ignoreMissingSetState.
componentLocal
protected
boolean
componentLocal
Field componentLocal.
Method Detail
getShortDescription
public
String
getShortDescription
()
Method getShortDescription.
getLongDescription
public
String
getLongDescription
()
Method getLongDescription.
getBuilderDescriptorState
Method getBuilderDescriptorState.
readConfig
Method readConfig.
- Parameters:
@Nonnull final JsonElementdata
getState
public
int
getState
()
Method getState.
setIndexes
public
void
setIndexes
(final int main, final int sub)
Method setIndexes.
- Parameters:
final intmainfinal intsub
isDefaultSubState
public
boolean
isDefaultSubState
()
Method isDefaultSubState.
getSubStateIndex
public
int
getSubStateIndex
()
Method getSubStateIndex.
isComponentLocal
public
boolean
isComponentLocal
()
Method isComponentLocal.