StateClass

public final class StateClass

A class of an entity state.

Functions

Link copied to clipboard
public static StateClass from(Class<? extends EntityState> value)
Creates an instance of EntityStateClass from the given class.
Link copied to clipboard
public static StateClass of(EntityState state)
Creates an instance of EntityStateClass from the class of the given message.
public static StateClass of(Entity entity)
Obtains the class of the state of the given entity.
Link copied to clipboard
public static EventClass updateEvent()
Obtains the built-in class of events emitted when an entity state is updated.