BetterModel
Toggle table of contents
2.2.1-SNAPSHOT-482
fabric
Target filter
fabric
Switch theme
Search in API
Skip to content
BetterModel
fabric
/
kr.toxicity.model.api.fabric.platform
/
FabricPlayer
Fabric
Player
class
FabricPlayer
:
Record
,
PlatformPlayer
Represents a Fabric player wrapped as a
PlatformPlayer
.
Since
2.0.0
Parameters
source
the source NMS player connection
Members
Members & Extensions
Constructors
Fabric
Player
Link copied to clipboard
@
ApiStatus.Internal
constructor
(
@
NotNull
source
:
@
NotNull
ServerPlayerConnection
)
Functions
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
eye
Location
Link copied to clipboard
@
NotNull
open
fun
eyeLocation
(
)
:
@
NotNull
PlatformLocation
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
location
Link copied to clipboard
@
NotNull
open
fun
location
(
)
:
@
NotNull
PlatformLocation
name
Link copied to clipboard
@
NotNull
open
fun
name
(
)
:
@
NotNull
String
of
Link copied to clipboard
@
NotNull
open
fun
of
(
@
NotNull
source
:
@
NotNull
ServerPlayerConnection
)
:
@
NotNull
FabricPlayer
Creates a FabricPlayer from the source.
registry
Link copied to clipboard
open
fun
registry
(
)
:
@
NotNull
Optional
<
EntityTrackerRegistry
>
task
Link copied to clipboard
open
fun
task
(
runnable
:
@
NotNull
Runnable
)
:
@
Nullable
ModelTask
task
Later
Link copied to clipboard
open
fun
taskLater
(
delay
:
Long
,
runnable
:
@
NotNull
Runnable
)
:
@
Nullable
ModelTask
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String
tracker
Link copied to clipboard
open
fun
tracker
(
name
:
@
NotNull
String
)
:
@
NotNull
Optional
<
EntityTracker
>
unwarp
Link copied to clipboard
fun
PlatformEntity
.
unwarp
(
)
:
Entity
fun
PlatformLivingEntity
.
unwarp
(
)
:
LivingEntity
fun
PlatformPlayer
.
unwarp
(
)
:
ServerPlayerConnection
uuid
Link copied to clipboard
@
NotNull
open
fun
uuid
(
)
:
@
NotNull
UUID