Mythicmob NPC Entity Cinematic
Use an animated MythicMob NPC in a cinematic
字段
| 字段 | 类型 | 默认值 | 描述 | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
definition | Ref<MythicMobNpcDefinition> | — | The MythicMob NPC definition to use in the cinematic
|
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
displayName | Var<String> | — | — |
sound | Var<Sound> | EMPTY | — |
mobType | Var<String> | — | The MythicMob type to spawn. |
showDisplayName | Boolean | true | Whether to show the display name above the mob. |
showDisplayNameInCinematic | Boolean | true | Whether to show the display name during cinematics. |
showDisplayNameInNavigation | Boolean | true | Whether to show the display name during navigation. |
nameOffset | Double | 2.3 | Y offset for the name display above the mob. |
data | List<Ref<EntityData<*>>> | empty | — |
ticking | Boolean | false | Whether to tick the NPC for movement and updates. Off (the supported setting): a model carrier without AI, driven by Typewriter. On: a living mob with AI. Keep it off when another extension's instance, such as a dungeon NPC instance, displays this NPC: each viewer then gets a mob of their own, visible to them alone, that no instance manages. Either way a server mob exists; it is only hidden from the other players. |
clientSideRadius | Double | 0.0 | Radius in which the mob can move (requires ticking=true). If 0, movement is disabled. |
cancelInteractAnimation | Boolean | false | Whether to cancel the interact animation when a player interacts with the NPC. |
segmentsList<MythicMobNpcEntityRecordedSegment>emptyMythicMobNpcEntityRecordedSegment(3)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
startFrame | Int | 0 | — |
endFrame | Int | 0 | — |
artifact | Ref<EntityCinematicArtifact> | — | The artifact for the recorded movement data |
TypeWriter 通用字段(criteria)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
How to use it
Plays a MythicMob NPC along a recorded tape, like the engine's entity cinematic. Link definition to the definition to play, then give each segment an artifact with the recorded movement. The recording is made and edited from the content editor of the segment. If the recording is empty, the console logs Entity cinematic '<id>' cannot start. Use this entry as the entityCinematic of a Bone Camera Cinematic to film that exact mob.