Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine 4 Model Engine 4
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 111
    • Issues 111
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model Engine 4Model Engine 4
  • Wiki
    • Skills
    • Mechanics
  • ModelPlayerSkin

ModelPlayerSkin · Changes

Page history
wiki standardization authored Oct 21, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 1 addition and 1 deletion
+1 -1
  • Skills/Mechanics/ModelPlayerSkin.md Skills/Mechanics/ModelPlayerSkin.md +1 -1
  • No files found.
Skills/Mechanics/ModelPlayerSkin.md 0 → 100644
View page @ 058ef9f7
[< Back to mechanic page](/Skills/Mechanics)
## Description
Set a player limb bone of a model to the targeted player's skin.
## Attributes
| Attribute | Aliases | Description | Type | Default |
|-----------|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|---------|
| modelid | m, mid, model | Targeted model. If null, targets all models. | String | |
| limbs | p, pbone | Targeted player limb bones (e.g. bone1,bone2,bone3). If null, targets all player limb bones. | String | |
| uuid | | Use the texture of the player with this UUID.<br/>UUID works with or without dashes (`-`)<br/>Player does not need to be online. Texture data is only downloaded once. | String | |
| username | user, name | Use the texture of a player.<br/>Player does not need to be online. Texture data is only downloaded once. | String | |
| skin | s | Base64 texture data. If the data does not contain model information, default to CLASSIC model. | String | |
| slim | | Force the player model. If not set, it will default to the model the texture is using. | Boolean | |
## Examples
#### Set skin of all player limb bones:
This will set the skin of all player limb bones with the skin of the player interacting with the entity.
```yaml
Skills:
- model{m=skin} @self ~onSpawn
- modelplayerskin @trigger ~onInteract
```
---
#### Set skin of multiple player limb bone:
This will set the skin of the left and right arm with the skin of the player interacting with the entity.
```yaml
Skills:
- model{m=skin} @self ~onSpawn
- modelplayerskin{mid=skin;p=left_arm,right_arm} @trigger ~onInteract
```
#### Using skin from UUID:
```yaml
Skills:
- model{m=skin} @self ~onSpawn
- modelplayerskin{uuid=853c80ef3c3749fdaa49938b674adae6} @self ~onSpawn
# The following format works too
- modelplayerskin{uuid=853c80ef-3c37-49fd-aa49-938b674adae6} @self ~onSpawn
```
#### Using skin from username:
```yaml
Skills:
- model{m=skin} @self ~onSpawn
- modelplayerskin{username=Ticxo} @self ~onSpawn
```
#### Using skin from Base64 texture data:
```yaml
Skills:
- model{m=skin} @self ~onSpawn
- modelplayerskin{skin=e3RleHR1cmVzOntTS0lOOnt1cmw6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjNhOTY0Y2I3ZTM2Yzc2NzM4ODY1ZjhjYzdmZGRmZTQ5MDYwOWUxZDdkZTQ5NTlkN2I1NzZlYmQxYjZmZjBhIn19fQ==} @self ~onSpawn
```
## Aliases
- [x] ModelSkin
\ No newline at end of file
Clone repository
Home
FAQ / Common Issues
Commands & Permissions
Configuration

Modeling
  • Creating a Model
    • Hitbox & Eye Height
    • Shadow
  • Bone Behaviors
  • Animating a Model
  • Importing a Model
  • Scriptable Keyframes
  • Optional Tools
MythicMobs
  • Mechanics
  • Conditions
  • Targeters
Citizens (R4.0.4)
  • Trait
  • Commands & Permissions

API
  • Basic
    • Apply / Remove Model
    • Play / Stop Animation
    • Configure Bone Behaviors
    • Mounting / Dismounting Model
    • Per-Player Model
    • Events
  • Advanced
    • Custom Base Entity
    • Custom Mount Controller
    • Custom Importer
    • Custom Bone Behaviors
    • Custom Script Reader
    • Custom Timeline
    • Custom Animation Handler
    • Custom Render Type

Technical
  • Terminology
  • Animation Systems
  • Mount Controllers
Promotional Material