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 105
    • Issues 105
    • 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
  • RenderInit

Last edited by Lxlp Oct 21, 2024
Page history

RenderInit

< Back to mechanic page

Description

Shows a model to the players, if the model was previously applied on the Modeled Entity by setting the initrender attribute to false.

Attributes

Attribute Aliases Description Type Default
modelid m, mid, model The model id to show String

Examples

Showing a model:

This will apply a model on entity spawn, but will not display to the players, allowing you to customize the model and ensuring that the changes are applied when shown to players.

Skills:
  - model{mid=testmodel;initrender=false} @self ~onSpawn
  # Customize the model further
  - tint{mid=testmodel;color=ff0000} @self ~onSpawn
  - enchant{mid=test} @self ~onSpawn
  # Finally, show the model
  - renderinit{mid=testmodel} @self ~onSpawn

Aliases

  • rendererinit
Clone repository
Home
FAQ / Common Issues
Commands & Permissions
Configuration

Modeling
  • Creating a Model
    • Hitbox & Eye Height
    • Shadow
  • Bone Behaviors
    • Player Limbs
  • 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