toggle menu
VentureLibs
1.0
main
switch theme
search in API
VentureLibs
/
net.blockventuremc.modules.structures
/
Attachment
Attachment
open
class
Attachment
(
val
name
:
String
,
var
localPosition
:
Vector
,
var
localRotation
:
Vector
,
var
transform
:
Matrix4f
=
Matrix4f()
,
var
localTransformChance
:
Boolean
=
false
)
(
source
)
Inheritors
EffectAttachment
ItemAttachment
RootAttachment
Seat
Members
Constructors
Attachment
Link copied to clipboard
constructor
(
name
:
String
,
localPosition
:
Vector
,
localRotation
:
Vector
,
transform
:
Matrix4f
=
Matrix4f()
,
localTransformChance
:
Boolean
=
false
)
Properties
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
?
root
Link copied to clipboard
lateinit
var
root
:
RootAttachment
transform
Link copied to clipboard
var
transform
:
Matrix4f
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
(
)
spawn
Link copied to clipboard
open
fun
spawn
(
)
spawn
Attachments
Recurse
Link copied to clipboard
fun
spawnAttachmentsRecurse
(
)
update
Transform
Link copied to clipboard
open
fun
updateTransform
(
)
update
Transform
Recurse
Link copied to clipboard
fun
updateTransformRecurse
(
transform
:
Matrix4f
)