Interface FloodgatePlayer
Deprecated, for removal: This API element is subject to removal in a future version.
The Floodgate API has been deprecated in favor of the GeyserApi, which is shared between Geyser
and Floodgate
-
Method Summary
Modifier and TypeMethodDescription<T> TaddProperty(String key, Object value) Deprecated.<T> TaddProperty(PropertyKey key, Object value) Deprecated.default <T extends FloodgatePlayer>
TDeprecated, for removal: This API element is subject to removal in a future version.Casts the FloodgatePlayer instance to a class that extends FloodgatePlayer.Deprecated, for removal: This API element is subject to removal in a future version.Returns the uuid that the server will use as uuid of that player.Deprecated, for removal: This API element is subject to removal in a future version.Returns the username the server will as username for that player.Deprecated, for removal: This API element is subject to removal in a future version.Returns the Operating System of the Bedrock clientDeprecated, for removal: This API element is subject to removal in a future version.Returns the Input Mode of the Bedrock clientDeprecated, for removal: This API element is subject to removal in a future version.Returns the uuid that will be used as UUID on the server.
Note that this field is not used when the player is aLinkedPlayerDeprecated, for removal: This API element is subject to removal in a future version.Returns the Bedrock username that will be used as username on the server.Deprecated, for removal: This API element is subject to removal in a future version.Returns the language code of the Bedrock clientDeprecated, for removal: This API element is subject to removal in a future version.Returns the LinkedPlayer object if the player is linked to a Java account.<T> TgetProperty(String key) Deprecated.<T> TgetProperty(PropertyKey key) Deprecated.Deprecated, for removal: This API element is subject to removal in a future version.Returns the User Interface Profile of the Bedrock clientDeprecated, for removal: This API element is subject to removal in a future version.Returns the real username of the Bedrock client.Deprecated, for removal: This API element is subject to removal in a future version.Returns the version of the Bedrock clientgetXuid()Deprecated, for removal: This API element is subject to removal in a future version.Returns the Xbox Unique Identifier of the Bedrock clientbooleanhasProperty(String key) Deprecated.booleanhasProperty(PropertyKey key) Deprecated.booleanDeprecated, for removal: This API element is subject to removal in a future version.Returns if the Floodgate player is connected through a proxybooleanisLinked()Deprecated, for removal: This API element is subject to removal in a future version.Returns true if the player is linked to a Java account<T> TremoveProperty(String key) Deprecated.<T> TDeprecated.default booleansendForm(org.geysermc.cumulus.form.Form form) Deprecated, for removal: This API element is subject to removal in a future version.default booleansendForm(org.geysermc.cumulus.form.util.FormBuilder<?, ?, ?> formBuilder) Deprecated, for removal: This API element is subject to removal in a future version.default booleanDeprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
getJavaUsername
String getJavaUsername()Deprecated, for removal: This API element is subject to removal in a future version.Returns the Bedrock username that will be used as username on the server. This includes replace spaces (if enabled), username shortened and prefix appended.
Note that this field is not used when the player is aLinkedPlayer -
getJavaUniqueId
UUID getJavaUniqueId()Deprecated, for removal: This API element is subject to removal in a future version.Returns the uuid that will be used as UUID on the server.
Note that this field is not used when the player is aLinkedPlayer -
getCorrectUniqueId
UUID getCorrectUniqueId()Deprecated, for removal: This API element is subject to removal in a future version.Returns the uuid that the server will use as uuid of that player. Will returngetJavaUniqueId()when not linked orLinkedPlayer.getJavaUniqueId()when linked. -
getCorrectUsername
String getCorrectUsername()Deprecated, for removal: This API element is subject to removal in a future version.Returns the username the server will as username for that player. Will returngetJavaUsername()when not linked orLinkedPlayer.getJavaUsername()when linked. -
getVersion
String getVersion()Deprecated, for removal: This API element is subject to removal in a future version.Returns the version of the Bedrock client -
getUsername
String getUsername()Deprecated, for removal: This API element is subject to removal in a future version.Returns the real username of the Bedrock client. This username doesn't have a prefix, spaces aren't replaced and the username hasn't been shortened. -
getXuid
String getXuid()Deprecated, for removal: This API element is subject to removal in a future version.Returns the Xbox Unique Identifier of the Bedrock client -
getDeviceOs
DeviceOs getDeviceOs()Deprecated, for removal: This API element is subject to removal in a future version.Returns the Operating System of the Bedrock client -
getLanguageCode
String getLanguageCode()Deprecated, for removal: This API element is subject to removal in a future version.Returns the language code of the Bedrock client -
getUiProfile
UiProfile getUiProfile()Deprecated, for removal: This API element is subject to removal in a future version.Returns the User Interface Profile of the Bedrock client -
getInputMode
InputMode getInputMode()Deprecated, for removal: This API element is subject to removal in a future version.Returns the Input Mode of the Bedrock client -
isFromProxy
boolean isFromProxy()Deprecated, for removal: This API element is subject to removal in a future version.Returns if the Floodgate player is connected through a proxy -
getLinkedPlayer
LinkedPlayer getLinkedPlayer()Deprecated, for removal: This API element is subject to removal in a future version.Returns the LinkedPlayer object if the player is linked to a Java account. -
isLinked
boolean isLinked()Deprecated, for removal: This API element is subject to removal in a future version.Returns true if the player is linked to a Java account -
sendForm
default boolean sendForm(org.geysermc.cumulus.form.Form form) Deprecated, for removal: This API element is subject to removal in a future version. -
sendForm
default boolean sendForm(org.geysermc.cumulus.form.util.FormBuilder<?, ?, ?> formBuilder) Deprecated, for removal: This API element is subject to removal in a future version. -
transfer
Deprecated, for removal: This API element is subject to removal in a future version. -
hasProperty
Deprecated. -
hasProperty
Deprecated. -
getProperty
Deprecated. -
getProperty
Deprecated. -
removeProperty
Deprecated. -
removeProperty
Deprecated. -
addProperty
Deprecated. -
addProperty
Deprecated. -
as
Deprecated, for removal: This API element is subject to removal in a future version.Casts the FloodgatePlayer instance to a class that extends FloodgatePlayer.- Type Parameters:
T- The instance to cast to.- Returns:
- The FloodgatePlayer casted to the given class
- Throws:
ClassCastException- when it can't cast the instance to the given class
-