Enum ExtraSpeakerOptions
- All Implemented Interfaces:
Serializable
,Comparable<ExtraSpeakerOptions>
,java.lang.constant.Constable
Represents extra options for a speaker
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis option will ignore audio synchronization for this speaker specificallyThis setting will mute all the regions for the player as long as they are in range of this speakerThis setting will make the speaker play once, and then never again until the player leaves the area and re-entersDeprecated.This setting will only make the speaker active/discoverable when its directly powered by redstoneThis setting will make the media timestamp reset once it loses redstone power -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()
boolean
isCompatibleWith
(BasicSpeaker speaker) boolean
boolean
isEnabledFor
(BasicSpeaker speaker) static ExtraSpeakerOptions
Returns the enum constant of this type with the specified name.static ExtraSpeakerOptions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IGNORE_SYNCHRONIZATION
This option will ignore audio synchronization for this speaker specifically -
PROCESS_OBSTRUCTIONS
Deprecated. -
PLAY_ONCE
This setting will make the speaker play once, and then never again until the player leaves the area and re-enters -
REQUIRES_REDSTONE
This setting will only make the speaker active/discoverable when its directly powered by redstone -
RESET_PLAYTHROUGH_ON_REDSTONE_LOSS
This setting will make the media timestamp reset once it loses redstone power -
OVERWRITE_REGIONS
This setting will mute all the regions for the player as long as they are in range of this speaker
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isCompatibleWith
-
isEnabledFor
-
isDisplay
public boolean isDisplay() -
getTitle
-
getDescription
-