BetterModel
Toggle table of contents
2.2.0-SNAPSHOT-477
fabric
Target filter
fabric
Switch theme
Search in API
Skip to content
BetterModel
fabric
/
kr.toxicity.model.api.fabric.platform
/
FabricEntity
Fabric
Entity
class
FabricEntity
:
Record
,
PlatformEntity
Represents a Fabric entity wrapped as a
PlatformEntity
.
Since
2.0.0
Parameters
source
the source NMS entity
Members
Members & Extensions
Constructors
Fabric
Entity
Link copied to clipboard
@
ApiStatus.Internal
constructor
(
@
NotNull
source
:
@
NotNull
Entity
)
Functions
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
location
Link copied to clipboard
@
NotNull
open
fun
location
(
)
:
@
NotNull
PlatformLocation
of
Link copied to clipboard
@
NotNull
open
fun
of
(
@
NotNull
source
:
@
NotNull
Entity
)
:
@
NotNull
FabricEntity
Creates a FabricEntity 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
uuid
Link copied to clipboard
@
NotNull
open
fun
uuid
(
)
:
@
NotNull
UUID