MiscDragonTextures - DragonSurvivalTeam/DragonSurvival GitHub Wiki

Description

The MiscDragonTextures is a collection of texture locations for various assets that are used by the dragon species.

Parents

This object is used by the following objects:

  1. DragonSpecies

ManaSprites

Sprites for the mana bar.

Schema

{
     "full": [ResourceLocation]             // [Mandatory] || A full mana pip.
     "reserved": [ResourceLocation]         // [Mandatory] || A mana pip that is reserved.
     "recovery": [ResourceLocation]         // [Mandatory] || A mana pip that is recovering.
     "empty": [ResourceLocation]            // [Mandatory] || A mana pip that is empty.
}

GrowthIcon

An icon associated with a specific dragon stage, authored to look like this species.

Schema

{
     "hover_icon": [ResourceLocation]    // [Mandatory] || The icon when hovered over.
     "icon": [ResourceLocation]          // [Mandatory] || The unhovered icon.
     "dragon_stage": [DragonStage]       // [Mandatory] || The associated stage for this icon.
}

HoverIcon

An icon that can be hovered.

Schema

{
     "hover_icon": [ResourceLocation]    // [Mandatory] || The icon when hovered over.
     "icon": [ResourceLocation]          // [Mandatory] || The unhovered icon.
}

FillIcon

An icon that can be filled.

Schema

{
     "empty": [ResourceLocation]         // [Mandatory] || The icon when empty.
     "full": [ResourceLocation]          // [Mandatory] || The icon when full.
}

FoodTooltip

The information needed for the food tooltips.

Schema

{
     "font": [ResourceLocation]          // [Mandatory] || What font to use for the tooltips. Needs to contain the below icons.
     "nutrition_icon": [String]          // [Mandatory] || The saturation icon.
     "saturation_icon": [String]         // [Mandatory] || The nutrition icon.
     "color": [TextColor]                // [Optional]  || What to color the text when the tooltip is active.
}

Schema

{
     "food_sprites": [ResourceLocation]               // [Mandatory] || The sprites for the food bar.
     "mana_sprites": [ManaSprites]                    // [Mandatory] || The sprites for the mana bar.
     "altar_banner": [ResourceLocation]               // [Mandatory] || The banner for the dragon altar.
     "ability_bar": [ResourceLocation]                // [Mandatory] || The ornamentation for the bar when charging an ability.
     "help_button": [ResourceLocation]                // [Mandatory] || The help button icon.
     "growth_icons": [GrowthIcon]                     // [Mandatory] || The icons for each growth stage.
     "growth_left_arrow": [HoverIcon]                 // [Mandatory] || The left arrow for the growth crystal display.
     "growth_right_arrow": [HoverIcon]                // [Mandatory] || The right arrow for the growth crystal display.
     "growth_crystal": [FillIcon]                     // [Mandatory] || The growth crystal.
     "food_tooltip": [FoodTooltip]                    // [Mandatory] || The tooltip icons when hovering over a food item.
     "primary_color": [TextColor]                     // [Mandatory] || The primary color for this species.
     "secondary_color": [TextColor]                   // [Mandatory] || The secondary color for this species.
}