rattle-parent
0.1.1-SNAPSHOT
jvm
rattle-fabric
/
io.github.aecsocket.rattle.fabric
/
FabricRattlePlatform
Fabric
Rattle
Platform
class
FabricRattlePlatform
(
mod
:
FabricRattle
,
server
:
MinecraftServer
)
:
RattlePlatform
Members
Constructors
Fabric
Rattle
Platform
Link copied to clipboard
constructor
(
mod
:
FabricRattle
,
server
:
MinecraftServer
)
Properties
engine
Timings
Link copied to clipboard
val
engineTimings
:
TimestampedList
<
Long
>
is
Stepping
Link copied to clipboard
val
isStepping
:
Boolean
on
Pre
Step
Link copied to clipboard
val
onPreStep
:
EventDispatch
<
RattlePlatform.OnPreStep
>
rattle
Link copied to clipboard
val
rattle
:
RattleHook
timescale
Link copied to clipboard
var
timescale
:
Double
worlds
Link copied to clipboard
open
override
val
worlds
:
Iterable
<
World
>
Functions
as
Player
Link copied to clipboard
open
override
fun
asPlayer
(
sender
:
CommandSource
)
:
FabricRattlePlayer
?
destroy
Link copied to clipboard
fun
destroy
(
)
has
Physics
Link copied to clipboard
fun
hasPhysics
(
world
:
World
)
:
Boolean
key
Link copied to clipboard
open
override
fun
key
(
world
:
World
)
:
@
NotNull
Key
load
Link copied to clipboard
fun
load
(
)
on
Tick
Link copied to clipboard
open
override
fun
onTick
(
)
physics
Or
Create
Link copied to clipboard
open
override
fun
physicsOrCreate
(
world
:
World
)
:
Sync
<
FabricWorldPhysics
>
physics
Or
Null
Link copied to clipboard
open
override
fun
physicsOrNull
(
world
:
World
)
:
Sync
<
FabricWorldPhysics
>
?
set
Player
Draw
Link copied to clipboard
open
override
fun
setPlayerDraw
(
player
:
RattlePlayer
,
draw
:
RattlePlayer.Draw
?
)