toggle menu
VentureLibs
1.0
main
switch theme
search in API
VentureLibs
/
net.blockventuremc.modules.structures
/
RootAttachment
Root
Attachment
open
class
RootAttachment
(
val
name
:
String
,
var
position
:
Vector
=
Vector()
,
rotation
:
Vector
=
Vector()
)
:
Attachment
(
source
)
Inheritors
Cart
CustomVehicle
Members
Constructors
Root
Attachment
Link copied to clipboard
constructor
(
name
:
String
,
position
:
Vector
=
Vector()
,
rotation
:
Vector
=
Vector()
)
Properties
animation
Link copied to clipboard
var
animation
:
Animation
?
bukkit
Location
Link copied to clipboard
val
bukkitLocation
:
Location
children
Link copied to clipboard
val
children
:
MutableMap
<
String
,
Attachment
>
local
Position
Link copied to clipboard
var
localPosition
:
Vector
local
Rotation
Link copied to clipboard
var
localRotation
:
Vector
local
Transform
Link copied to clipboard
open
val
localTransform
:
Matrix4f
local
Transform
Chance
Link copied to clipboard
var
localTransformChance
:
Boolean
name
Link copied to clipboard
val
name
:
String
parent
Link copied to clipboard
var
parent
:
Attachment
?
position
Link copied to clipboard
var
position
:
Vector
root
Link copied to clipboard
lateinit
var
root
:
RootAttachment
smooth
Factor
Link copied to clipboard
var
smoothFactor
:
Int
transform
Link copied to clipboard
var
transform
:
Matrix4f
uuid
Link copied to clipboard
val
uuid
:
UUID
world
Link copied to clipboard
lateinit
var
world
:
World
world
Position
Link copied to clipboard
val
worldPosition
:
Vector
world
Rotation
Link copied to clipboard
val
worldRotation
:
Vector
world
Transform
Link copied to clipboard
var
worldTransform
:
Matrix4f
Functions
add
Child
Link copied to clipboard
fun
addChild
(
child
:
Attachment
)
despawn
Link copied to clipboard
open
fun
despawn
(
)
despawn
Attachments
Recurse
Link copied to clipboard
fun
despawnAttachmentsRecurse
(
)
initialize
Link copied to clipboard
open
fun
initialize
(
)
spawn
Link copied to clipboard
open
fun
spawn
(
)
spawn
Attachments
Recurse
Link copied to clipboard
fun
spawnAttachmentsRecurse
(
)
update
Link copied to clipboard
open
fun
update
(
)
update
Transform
Link copied to clipboard
open
fun
updateTransform
(
)
update
Transform
Recurse
Link copied to clipboard
fun
updateTransformRecurse
(
transform
:
Matrix4f
)