Getting Groups (Models)

Groups are a collection of display, interaction, and mannequin entities. Groups can be dynamically moved, spawned, and used in various ways.

Spawn Groups/Models

#Get a savedgroup from storage
set {_savedgroup} to saved group tagged "mygroup" from local storage

#Spawn the group
deu spawn {_savedgroup} at {_location}

##Spawn the group and store
deu spawn {_savedgroup} at {_location} and store the result in {_activegroup}

#Spawn the group with options
deu spawn {_savedgroup} at {_location} and store the result in {_activegroup}:
    packet: false #Whether the group should spawn using packets
    teleport-duration: 2
    billboard: VERTICAL
    persistent: true
    visible: true
    brightness: 10 and 5 #Block and Sky, -1 and -1 to reset
    spawnanimation: true #Play the group's spawn animation, if set

Get Existing Non-Packet-Based groups from entities or parts

Get Existing Non-Packet-Based Groups already in the world

Getting Persistent Packet-Based Groups already in the world

Persistent packet-based display entity groups have an ID that stays the same across game sessions. That ID can be used to get the group again in the future

Despawning/Unregistering Groups

Groups should be unregistered after their purpose has been fulfilled. Unregistering groups prevents future usage.

Last updated