BuilderSensorState

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

build

public SensorState build (@Nonnull final BuilderSupport builderSupport)

Method build.

Parameters:
@Nonnull final BuilderSupport builderSupport

getShortDescription

public String getShortDescription ()

Method getShortDescription.

getLongDescription

public String getLongDescription ()

Method getLongDescription.

getBuilderDescriptorState

public BuilderDescriptorState getBuilderDescriptorState ()

Method getBuilderDescriptorState.

readConfig

public Builder readConfig (@Nonnull final JsonElement data)

Method readConfig.

Parameters:
@Nonnull final JsonElement data

getState

public int getState ()

Method getState.

setIndexes

public void setIndexes (final int main, final int sub)

Method setIndexes.

Parameters:
final int main
final int sub

isDefaultSubState

public boolean isDefaultSubState ()

Method isDefaultSubState.

getSubStateIndex

public int getSubStateIndex ()

Method getSubStateIndex.

isComponentLocal

public boolean isComponentLocal ()

Method isComponentLocal.