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

CullConfig · Changes

Page history
wiki standardization authored Oct 21, 2024 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 2 additions and 2 deletions
+2 -2
  • Skills/Mechanics/CullConfig.md Skills/Mechanics/CullConfig.md +2 -2
  • No files found.
Skills/Mechanics/CullConfig.md 0 → 100644
View page @ 058ef9f7
[< Back to mechanic page](/Skills/Mechanics)
## Description
Configure the culling of a modeled entity,
which allows you to further optimize or increase the importance of a modeled entity.
## Attributes
| Attribute | Aliases | Description | Type | Default |
|-------------------------|---------|---------------------------------------------------------|--------------|----------------|
| cullinterval | ci | Tick interval to check if the entity can be culled | Integer | Config Default |
| verticalcull | vc | Should the entity be vertically culled | Boolean | Config Default |
| verticalculldistance | vcd | Absolute Y distance between the entity and players | Double | Config Default |
| verticalculltype | vct | Vertical culling type | [CullType][] | Config Default |
| backcull | bkc | Should the entity be culled when behind the player | Boolean | Config Default |
| backcullangle | bkca | Player view angle in degrees (larger angle = cull less) | Double | Config Default |
| backcullignoreradius | bkcr | Max distance to ignore the back-cull method | Double | Config Default |
| backculltype | bkct | Back-cull culling type | [CullType][] | Config Default |
| blockedcull | blc | Should the entity be culled when blocked by blocks | Boolean | Config Default |
| blockedcullignoreradius | blcr | Max distance to ignore the blocked-cull method | Double | Config Default |
| blockedculltype | blct | Blocked-cull culling type | [CullType][] | Config Default |
## Examples
#### Disabling all cull methods:
This will disable all culling method Model Engine uses, effectively making your entity
always render and animated as long as it is within render distance. Usually, this should
only be used on high-importance entity such as bosses.
```yaml
Skills:
- cullconfig{vc=false;bkc=false;blc=false} @self ~onLoad
```
> Note: Since this nullifies all attempts of reducing the network load on players,
> it is advised to only use this when absolutely necessary.
---
## Aliases
- [x] cull
[CullType]: /Skills/Mechanics/Technical/Terminology#culltype
\ 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