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

Configuration · Changes

Page history
Update Configuration.md authored Apr 14, 2024 by Ticxo's avatar Ticxo
Hide whitespace changes
Inline Side-by-side
Showing with 36 additions and 6 deletions
+36 -6
  • Configuration.md Configuration.md +36 -6
  • No files found.
Configuration.md
View page @ 537f0971
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
* [Default Animations](#default-animations) * [Default Animations](#default-animations)
* [Print Script Warnings](#print-script-warnings) * [Print Script Warnings](#print-script-warnings)
* [Use State Machine](#use-state-machine) * [Use State Machine](#use-state-machine)
* [Engine Threads](#engine-threads)
* [Max Engine Threads](#max-engine-threads)
* [Model Generator](#model-generator) * [Model Generator](#model-generator)
* [Register Post Server](#register-post-server) * [Register Post Server](#register-post-server)
* [Assets Post Server](#assets-post-server) * [Assets Post Server](#assets-post-server)
...@@ -12,11 +14,14 @@ ...@@ -12,11 +14,14 @@
* [Create Zip](#create-zip) * [Create Zip](#create-zip)
* [Create Atlas](#create-atlas) * [Create Atlas](#create-atlas)
* [Create Shader](#create-shader) * [Create Shader](#create-shader)
* [Create MC-META](#create-mc-meta)
* [Item Model](#item-model) * [Item Model](#item-model)
* [Network Optimization](#network-optimization) * [Network Optimization](#network-optimization)
* [Bundle Everything](#bundle-everything) * [Bundle Everything](#bundle-everything)
* [Bundle Size](#bundle-size) * [Bundle Size](#bundle-size)
* [Cull Interval](#cull-interval) * [Cull Interval](#cull-interval)
* [Culling Threads](#culling-threads)
* [Max Culling Threads](#max-culling-threads)
* [Vertical Render Distance](#vertical-render-distance) * [Vertical Render Distance](#vertical-render-distance)
* [Skip Models Behind Viewer](#skip-models-behind-viewer) * [Skip Models Behind Viewer](#skip-models-behind-viewer)
* [Skip Blocked Models](#skip-blocked-models) * [Skip Blocked Models](#skip-blocked-models)
...@@ -41,6 +46,15 @@ Whether warning messages should be printed when an error occurred on a script ke ...@@ -41,6 +46,15 @@ Whether warning messages should be printed when an error occurred on a script ke
Whether to use the new state machine animation system by default. Whether to use the new state machine animation system by default.
Although defaulted to false, it is recommended to migrate all models to using this system. Although defaulted to false, it is recommended to migrate all models to using this system.
### Engine Threads
The initial amount of threads used to processing model animations.
### Max Engine Threads
The maximum amount of threads Model Engine can create to process model animations. The amount must be more than the
value set at [Engine Threads](#engine-threads).
--- ---
## Model Generator ## Model Generator
...@@ -88,6 +102,12 @@ Should Model Engine create an atlas file automatically. ...@@ -88,6 +102,12 @@ Should Model Engine create an atlas file automatically.
Should Model Engine create the shaders used for [player limb bone behavior](Modeling/Bone-Behaviors#player-limbs-tags). Should Model Engine create the shaders used for [player limb bone behavior](Modeling/Bone-Behaviors#player-limbs-tags).
### Create MC-META
Should Model Engine generate MC-META files for animated textures.
This does **NOT** stop generation if the model contains metadata saved through
the [MC-META blockbench plugin](Modeling/Optional-Tools#mc-meta), which we highly recommend using.
### Item Model ### Item Model
The item model used to create overrides for all generated models. The item model used to create overrides for all generated models.
...@@ -124,12 +144,21 @@ caused by sending packets separately. ...@@ -124,12 +144,21 @@ caused by sending packets separately.
Maximum amount of packets allowed in a bundle. Maximum amount of packets allowed in a bundle.
Since packets wrapped in a bundle are forced to be processed in the same tick, too many packets in a bundle may cause Since packets wrapped in a bundle are forced to be processed in the same tick, too many packets in a bundle may cause
the client to lag. the client to lag.
Minecraft by default only allow up to 4096 packets in a single bundle. Minecraft by default only allow up to 4096 packets in a single bundle.
### Cull Interval ### Cull Interval
The culling interval of an Active Model. Smaller value means more frequent detection but more calculations. The culling interval of an Active Model. Smaller value means more frequent detection but more calculations.
### Culling Threads
The initial amount of threads used to processing model culling.
### Max Culling Threads
The maximum amount of threads Model Engine can create to process model culling. The amount must be more than the value
set at [Culling Threads](#culling-threads).
### Vertical Render Distance ### Vertical Render Distance
Culls the model when the vertical distance between the model's render hitbox and the eye position of the view exceeds a Culls the model when the vertical distance between the model's render hitbox and the eye position of the view exceeds a
...@@ -154,10 +183,11 @@ Culls the model when angle between the viewer and the model exceeds the configur ...@@ -154,10 +183,11 @@ Culls the model when angle between the viewer and the model exceeds the configur
Culls the model when the model is being blocked by view-occluding blocks. Culls the model when the model is being blocked by view-occluding blocks.
| Key | Description | Default | | Key | Description | Default |
|---------------------|-----------------------------------------------------------------------------------|---------| |-----------------------|-----------------------------------------------------------------------------------|---------|
| Force-Render-Radius | Minimum distance between the viewer and the model for it the be culled in blocks. | 5 | | Force-Render-Radius | Minimum distance between the viewer and the model for it the be culled in blocks. | 5 |
| Force-Render-Size | Minimum render hitbox width or height to give up on culling. | 32 | | Force-Render-Size | Minimum render hitbox width or height to give up on culling. | 32 |
| Cull-Type | [Culling behavior][] | CULLED | | Cull-Type | [Culling behavior][] | CULLED |
| Use-Paper-Clip-Method | Whether the culling method should use the paper variant of the raytrace method. | false |
[Culling behavior]: Technical/Terminology#culltype [Culling behavior]: 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: Model
  • Mechanics: VFX
  • 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