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
  • BindHitbox

Last edited by Lxlp Mar 05, 2025
Page history

BindHitbox

< Back to mechanic page

Description

Summon and bind an entity to a sub-hitbox.

Attributes

Attribute Aliases Description Type Default
modelid m, mid, model Targeted model String
partid p, pid, part Targeted sub-hitbox String
type t, mob, m Entity summoned.
Can be Vanilla or MythicMob type.
String SKELETON

Examples

Binding a mob to a hitbox

boss_turtle:
  Type: PIG
  Health: 100
  - model{mid=big_turtle} @self ~onSpawn
  - bindHitbox{mid=big_turtle;p=ob_box_left_front_paw;t=boss_turtle_hitbox} @self ~onSpawn

boss_turtle_hitbox:
  Type: PIG
  Health: 30
  Options:
    NoAI: true
  Skills:
  - particles{p=reddust;a=4;vS=0.5;hS=0.5;y=0.5} @origin ~onDamaged
  - signal{s=paw_death} @parent ~onDeath
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