DragonEmoteSet - DragonSurvivalTeam/DragonSurvival GitHub Wiki

Description

A dragon emote set is a collection of dragon emotes. It is used to determines what emotes are available for a body type.

Parents

This object is used by the following objects:

  1. DragonBody

Location

Dragon emote sets are part of the data pack directory structure, highlighted below:

 datapack name.zip
├──  pack.mcmeta
├──  data
    ├──  namespace
       ├──  dragonsurvival
          ├──  dragon_emote_set
              ├──  <name>.json
  

DragonEmote

A dragon emote is the data for a single emote.

Sound

The sound for a dragon emote.

Schema

{
    "sound_event": [SoundEvent]               // [Mandatory] || The sound event to play.
    "volume": [number]                        // [Optional]  || The volume of the sound. Defaults to 1.
    "pitch": [number]                         // [Optional]  || The pitch of the sound. Defaults to 1.
    "interval": [number]                      // [Mandatory] || The interval at which the sound plays (after how many ticks does it repeat?).
}

Schema

{
    "animation_key": [string]                          // [Mandatory] || The animation key to use for this emote.
    "translation_override": [string]                   // [Optional]  || Overrides the animation key when determining the translation key for the emote.
    "speed": [number]                                  // [Optional]  || The speed of the emote. Defaults to 1.
    "duration": [number]                               // [Optional]  || The duration of the emote. Defaults to infinite duration (-1).
    "loops": [boolean]                                 // [Optional]  || Whether the emote loops. Defaults to false.
    "blend": [boolean]                                 // [Mandatory] || Whether the emote is a blend emote or not (can be used together with other emotes).
    "locks_head": [boolean]                            // [Mandatory] || Whether the emote locks the head.
    "locks_tail": [boolean]                            // [Mandatory] || Whether the emote locks the tail.
    "third_person": [boolean]                          // [Mandatory] || Whether the emote puts you in third person automatically.
    "can_move": [boolean]                              // [Mandatory] || Whether the emote is cancelled by movement.
    "sound": [Sound]                                   // [Optional]  || The sound that plays during the emote.
}
⚠️ **GitHub.com Fallback** ⚠️