toggle menu
VentureLibs
1.0
main
switch theme
search in API
VentureLibs
/
net.blockventuremc.modules.structures
/
ItemAttachment
Item
Attachment
class
ItemAttachment
(
val
name
:
String
,
val
item
:
ItemStack
,
var
localPosition
:
Vector
,
var
localRotation
:
Vector
)
:
Attachment
(
source
)
Members
Constructors
Item
Attachment
Link copied to clipboard
constructor
(
name
:
String
,
item
:
ItemStack
,
localPosition
:
Vector
,
localRotation
:
Vector
)
Properties
bukkit
Location
Link copied to clipboard
val
bukkitLocation
:
Location
children
Link copied to clipboard
val
children
:
MutableMap
<
String
,
Attachment
>
item
Link copied to clipboard
val
item
:
ItemStack
item
Display
Link copied to clipboard
var
itemDisplay
:
ItemDisplay
?
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
override
fun
despawn
(
)
despawn
Attachments
Recurse
Link copied to clipboard
fun
despawnAttachmentsRecurse
(
)
set
Scale
Link copied to clipboard
fun
setScale
(
scale
:
Float
)
:
ItemAttachment
spawn
Link copied to clipboard
open
override
fun
spawn
(
)
spawn
Attachments
Recurse
Link copied to clipboard
fun
spawnAttachmentsRecurse
(
)
update
Transform
Link copied to clipboard
open
override
fun
updateTransform
(
)
update
Transform
Recurse
Link copied to clipboard
fun
updateTransformRecurse
(
transform
:
Matrix4f
)