Package org.ships.config.messages
Interface Message<R>
- All Known Implementing Classes:
BlockFinderBarMessage,ErrorAlreadyMovingMessage,ErrorBlockInWayMessage,ErrorCannotCreateOntopMessage,ErrorCollideDetectedMessage,ErrorFailedInMovement,ErrorFailedToFindLicenceSignMessage,ErrorFailedToFindNamedBlockMessage,ErrorInvalidShipNameMessage,ErrorInvalidShipTypeMessage,ErrorNoShipSignMessage,ErrorNoSpeedSetMessage,ErrorNotEnoughFuelMessage,ErrorNotMovingOnMessage,ErrorOversizedMessage,ErrorPermissionMissMatchMessage,ErrorPreventMovementMessage,ErrorShipsSignIsMoving,ErrorSpecialBlockPercentNotEnough,ErrorTooManyOfBlockMessage,ErrorUndersizedMessage,ErrorVesselStillLoadingMessage,InfoAltitudeSpeedMessage,InfoDefaultPermissionMessage,InfoEntitiesLineMessage,InfoEntitiesListMessage,InfoFlagMessage,InfoIdMessage,InfoMaxSpeedMessage,InfoNameMessage,InfoPlayerSpawnedOnShipMessage,InfoSizeMessage,InfoVesselInfoMessage
public interface Message<R>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlockGroupIdAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final BlockGroupNameAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final List<MessageAdapter<org.core.world.position.block.BlockType>>Deprecated, for removal: This API element is subject to removal in a future version.static final BlockTypeIdAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final BlockTypeNameAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final List<ConfigAdapter<?>>Deprecated, for removal: This API element is subject to removal in a future version.static final TrackLimitAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final CrewIdAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final CrewNameAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final List<MessageAdapter<org.core.entity.Entity<?>>>Deprecated, for removal: This API element is subject to removal in a future version.static final EntityNameAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final List<MessageAdapter<org.core.entity.EntityType<?,?>>> Deprecated, for removal: This API element is subject to removal in a future version.static final EntityTypeIdAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final EntityTypeNameAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final NumberAdapter<Integer>Deprecated, for removal: This API element is subject to removal in a future version.static final NumberAdapter<Integer>Deprecated, for removal: This API element is subject to removal in a future version.static final NumberAdapter<Integer>Deprecated, for removal: This API element is subject to removal in a future version.static final InvalidNameAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final List<MessageAdapter<org.core.inventory.item.ItemType>>Deprecated, for removal: This API element is subject to removal in a future version.static final ItemIdAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final ItemNameAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final List<MessageAdapter<org.core.world.position.impl.Position<?>>>Deprecated, for removal: This API element is subject to removal in a future version.static final NamedBlockNameAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final NumberAdapter<Double>Deprecated, for removal: This API element is subject to removal in a future version.static final PermissionNodeAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final List<MessageAdapter<PositionableShipsStructure>>Deprecated, for removal: This API element is subject to removal in a future version.static final StructureChunkSizeAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final StructureSizeAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final NumberAdapter<Integer>Deprecated, for removal: This API element is subject to removal in a future version.static final List<MessageAdapter<Vessel>>static final VesselFlagIdAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final VesselFlagNameAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final VesselIdAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final VesselInfoKeyAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final VesselInfoValueAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final VesselNameAdapterDeprecated, for removal: This API element is subject to removal in a future version.static final VesselSpeedAdapterDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> CollectionSingleAdapter<T>asCollectionSingle(Collection<? extends MessageAdapter<T>> collection) static <T> CollectionSingleAdapter<T>asCollectionSingle(MessageAdapter<T>... array) default Collection<MessageAdapter<?>>default org.core.config.ConfigurationNode.KnownParser.SingleKnown<net.kyori.adventure.text.Component>default org.core.adventureText.ATextDeprecated, for removal: This API element is subject to removal in a future version.net.kyori.adventure.text.Componentdefault org.core.config.ConfigurationNode.KnownParser.SingleKnown<org.core.adventureText.AText>Deprecated, for removal: This API element is subject to removal in a future version.String[]getPath()default org.core.adventureText.ATextparse()Deprecated, for removal: This API element is subject to removal in a future version.default org.core.adventureText.ATextparse(AdventureMessageConfig config) Deprecated, for removal: This API element is subject to removal in a future version.default net.kyori.adventure.text.Componentdefault net.kyori.adventure.text.ComponentparseMessage(AdventureMessageConfig config) default org.core.adventureText.ATextDeprecated, for removal: This API element is subject to removal in a future version.default org.core.adventureText.ATextDeprecated, for removal: This API element is subject to removal in a future version.net.kyori.adventure.text.ComponentprocessMessage(@NotNull net.kyori.adventure.text.Component text, R obj) default net.kyori.adventure.text.ComponentprocessMessage(R obj) default Collection<String>suggestAdapter(String peek)
-
Field Details
-
VESSEL_ID
Deprecated, for removal: This API element is subject to removal in a future version. -
VESSEL_NAME
Deprecated, for removal: This API element is subject to removal in a future version. -
VESSEL_FLAG_ID
Deprecated, for removal: This API element is subject to removal in a future version. -
VESSEL_FLAG_NAME
Deprecated, for removal: This API element is subject to removal in a future version. -
VESSEL_INFO_KEY
Deprecated, for removal: This API element is subject to removal in a future version. -
VESSEL_INFO_VALUE
Deprecated, for removal: This API element is subject to removal in a future version. -
VESSEL_SPEED
Deprecated, for removal: This API element is subject to removal in a future version. -
CREW_ID
Deprecated, for removal: This API element is subject to removal in a future version. -
CREW_NAME
Deprecated, for removal: This API element is subject to removal in a future version. -
ENTITY_TYPE_ID
Deprecated, for removal: This API element is subject to removal in a future version. -
ENTITY_TYPE_NAME
Deprecated, for removal: This API element is subject to removal in a future version. -
ENTITY_NAME
Deprecated, for removal: This API element is subject to removal in a future version. -
BLOCK_TYPE_NAME
Deprecated, for removal: This API element is subject to removal in a future version. -
BLOCK_TYPE_ID
Deprecated, for removal: This API element is subject to removal in a future version. -
PERMISSION_NODE
Deprecated, for removal: This API element is subject to removal in a future version. -
INVALID_NAME
Deprecated, for removal: This API element is subject to removal in a future version. -
STRUCTURE_CHUNK_SIZE
Deprecated, for removal: This API element is subject to removal in a future version. -
STRUCTURE_SIZE
Deprecated, for removal: This API element is subject to removal in a future version. -
NAMED_BLOCK_NAME
Deprecated, for removal: This API element is subject to removal in a future version. -
CONFIG_TRACK_LIMIT
Deprecated, for removal: This API element is subject to removal in a future version. -
ITEM_NAME
Deprecated, for removal: This API element is subject to removal in a future version. -
ITEM_ID
Deprecated, for removal: This API element is subject to removal in a future version. -
FUEL_FOUND_REQUIREMENT
Deprecated, for removal: This API element is subject to removal in a future version. -
FUEL_CONSUMPTION_REQUIREMENT
Deprecated, for removal: This API element is subject to removal in a future version. -
FUEL_LEFT_REQUIREMENT
Deprecated, for removal: This API element is subject to removal in a future version. -
TOTAL_FOUND_BLOCKS
Deprecated, for removal: This API element is subject to removal in a future version. -
PERCENT_FOUND
Deprecated, for removal: This API element is subject to removal in a future version. -
BLOCK_IDS
Deprecated, for removal: This API element is subject to removal in a future version. -
BLOCK_NAMES
Deprecated, for removal: This API element is subject to removal in a future version. -
ITEM_ADAPTERS
@Deprecated(forRemoval=true) static final List<MessageAdapter<org.core.inventory.item.ItemType>> ITEM_ADAPTERSDeprecated, for removal: This API element is subject to removal in a future version. -
CONFIG_ADAPTERS
Deprecated, for removal: This API element is subject to removal in a future version. -
BLOCK_TYPE_ADAPTERS
@Deprecated(forRemoval=true) static final List<MessageAdapter<org.core.world.position.block.BlockType>> BLOCK_TYPE_ADAPTERSDeprecated, for removal: This API element is subject to removal in a future version. -
LOCATION_ADAPTERS
@Deprecated(forRemoval=true) static final List<MessageAdapter<org.core.world.position.impl.Position<?>>> LOCATION_ADAPTERSDeprecated, for removal: This API element is subject to removal in a future version. -
ENTITY_TYPE_ADAPTERS
@Deprecated(forRemoval=true) static final List<MessageAdapter<org.core.entity.EntityType<?,?>>> ENTITY_TYPE_ADAPTERSDeprecated, for removal: This API element is subject to removal in a future version. -
ENTITY_ADAPTERS
@Deprecated(forRemoval=true) static final List<MessageAdapter<org.core.entity.Entity<?>>> ENTITY_ADAPTERSDeprecated, for removal: This API element is subject to removal in a future version. -
STRUCTURE_ADAPTERS
@Deprecated(forRemoval=true) static final List<MessageAdapter<PositionableShipsStructure>> STRUCTURE_ADAPTERSDeprecated, for removal: This API element is subject to removal in a future version. -
VESSEL_ADAPTERS
-
-
Method Details
-
getPath
String[] getPath() -
getDefault
Deprecated, for removal: This API element is subject to removal in a future version. -
getDefaultMessage
net.kyori.adventure.text.Component getDefaultMessage() -
getCategories
Collection<AdapterCategory<?>> getCategories() -
getAdapters
-
process
@Deprecated(forRemoval=true) default org.core.adventureText.AText process(@NotNull @NotNull org.core.adventureText.AText text, R obj) Deprecated, for removal: This API element is subject to removal in a future version. -
processMessage
net.kyori.adventure.text.Component processMessage(@NotNull @NotNull net.kyori.adventure.text.Component text, R obj) -
process
Deprecated, for removal: This API element is subject to removal in a future version. -
processMessage
-
getKnownPath
@Deprecated(forRemoval=true) default org.core.config.ConfigurationNode.KnownParser.SingleKnown<org.core.adventureText.AText> getKnownPath()Deprecated, for removal: This API element is subject to removal in a future version. -
getConfigNode
default org.core.config.ConfigurationNode.KnownParser.SingleKnown<net.kyori.adventure.text.Component> getConfigNode() -
parse
@Deprecated(forRemoval=true) default org.core.adventureText.AText parse(AdventureMessageConfig config) Deprecated, for removal: This API element is subject to removal in a future version. -
parseMessage
-
parse
Deprecated, for removal: This API element is subject to removal in a future version. -
parseMessage
default net.kyori.adventure.text.Component parseMessage() -
suggestAdapter
-
asCollectionSingle
-
asCollectionSingle
static <T> CollectionSingleAdapter<T> asCollectionSingle(Collection<? extends MessageAdapter<T>> collection)
-