|
|
## ModelPart
|
|
|
Target the locations of parts.
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|------------|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
|
|
|
| modelid | m, mid, model | The targeted model | |
|
|
|
| partid | p, pid, part | The targeted part | |
|
|
|
| offset | o, off | Offset mode used to calculate the offsets<br>LOCAL: Local axis of the targeted part<br>MODEL: Local axis of the target model<br>GLOBAL: World axis | LOCAL |
|
|
|
| x | | Offset on X axis | 0 |
|
|
|
| y | | Offset on Y axis | 0 |
|
|
|
| z | | Offset on Z axis | 0 |
|
|
|
| exactmatch | em, exact, match | Does the part need to match the partid completely<br>If set to false, this will get the location of all parts with IDs containing partid<br>Example: pid=arm;em=false<br>This will tint both leftarm and rightarm | true |
|
|
|
### Local vs Model vs Global
|
|
|
The usage of these 3 modes is a bit hazy, so we will explain them one by one.
|
|
|
> Note: Depending on how you made your model, each axis might not represent the same direction as stated here.
|
|
|
> In this scenario, Z-axis is forward/backward, X-axis is right/left, and Y-axis is up/down.
|
|
|
#### Local
|
|
|
This mode would get the offset based on the bone's rotation.
|
|
|
Let's say we have a humanoid model who holds a gun. To get where the barrel is pointing at, we can use this mode with a positive Z offset.
|
|
|
#### Model
|
|
|
This mode would get the offset based on the model's rotation.
|
|
|
Essentially, this is the `Forward` targeter from MythicMobs, with the added benefit of starting from the location of the selected bone.
|
|
|
#### Global
|
|
|
This mode just uses Minecraft's world axis to calculate the offset.
|
|
|
Same as `Model` mode, this just has the benefit of starting from the selected bone, instead of the base of the mob.
|
|
|
|
|
|
***
|
|
|
|
|
|
## MountedModel
|
|
|
Get the model mounted by the caster.
|
|
|
| Attribute | Aliases | Description| Default |
|
|
|
|------------|---------------|------------|---------|
|
|
|
|
|
|
***
|
|
|
|
|
|
## ModelDriver
|
|
|
Get the driver of this model.
|
|
|
| Attribute | Aliases | Description| Default |
|
|
|
|------------|---------------|------------|---------|
|
|
|
|
|
|
***
|
|
|
|
|
|
## ModelPassengers
|
|
|
Tell the model to start or stop playing an animation.
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|------------|---------------|------------------------------------------------------------------|----------------|
|
|
|
| pbone | p | A list of seats to search.<br>Format: pbone=seat1,seat2,seat3 | All passengers |
|
|
|
|
|
|
*** |
|
|
\ No newline at end of file |