Interface FPlayer
- All Superinterfaces:
FEntity
- All Known Implementing Classes:
FPlayer.FPlayerImpl
This is a platform-dynamic, Flectone player. All actions done through Flectone involving a player most likely are done through FPlayer.
For example, plugins using the Bukkit API can get an instance of the FPlayer object by simply using
Entity.getUniqueId()
and using FPlayerService's method.
UUID getFPlayer
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface FEntity
FEntity.FEntityImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final FPlayerstatic final intFields inherited from interface FEntity
UNKNOWN_NAME, UNKNOWN_TYPE, UNKNOWN_UUID -
Method Summary
Modifier and TypeMethodDescriptionbuilder()List<net.kyori.adventure.text.Component> id()ip()booleanbooleanbooleanisOnline()default booleanwithConstants(List<net.kyori.adventure.text.Component> constants) withOnline(boolean online) Methods inherited from interface FEntity
name, showEntityName, type, uuid
-
Field Details
-
UNKNOWN_ID
static final int UNKNOWN_ID- See Also:
-
CONSOLE_ID
static final int CONSOLE_ID- See Also:
-
PLAYER_TYPE
- See Also:
-
CONSOLE_TYPE
- See Also:
-
INTEGRATION_TYPE
- See Also:
-
UNKNOWN
-
-
Method Details
-
builder
-
id
Integer id() -
isConsole
boolean isConsole() -
isIntegration
boolean isIntegration() -
isOnline
boolean isOnline() -
ip
String ip() -
constants
List<net.kyori.adventure.text.Component> constants() -
withName
-
withUuid
-
withOnline
-
withId
-
withIp
-
withConstants
-
toBuilder
FPlayer.FPlayerImpl.FPlayerImplBuilder toBuilder() -
isUnknown
-