public interface Activation
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultDistance()
Gets the activation's default distance
|
java.util.List<java.lang.Integer> |
getDistances()
Gets the activation's available distances
|
@NotNull java.lang.String |
getIcon()
Gets the activation's icon
Minecraft ResourceLocation or base64 in format: "base64;base64_string"
|
@NotNull java.util.UUID |
getId()
Gets the activation id
|
int |
getMaxDistance()
Gets the max distance from a distances collection
|
int |
getMinDistance()
Gets the min distance from a distances collection
|
@NotNull java.lang.String |
getName()
Gets the activation name
|
@NotNull java.lang.String |
getTranslation()
Gets the activation's translation string
|
default int |
getWeight()
Gets the activation's weight
todo: doc
|
boolean |
isProximity()
Checks if activation has proximity output
todo: doc
|
default boolean |
isStereoSupported()
Checks if stereo is supported
Client will send a stereo audio if it's enabled in the client settings
|
boolean |
isTransitive()
Checks if activation is transitive
todo: doc
|
@NotNull @NotNull java.util.UUID getId()
@NotNull @NotNull java.lang.String getName()
@NotNull @NotNull java.lang.String getTranslation()
@NotNull @NotNull java.lang.String getIcon()
java.util.List<java.lang.Integer> getDistances()
int getDefaultDistance()
int getMinDistance()
int getMaxDistance()
boolean isProximity()
todo: doc
boolean isTransitive()
todo: doc
default boolean isStereoSupported()
Client will send a stereo audio if it's enabled in the client settings
default int getWeight()
todo: doc