AdvancedModels
Purchase PluginModels & PacksMinecraft Hosting
  • Home
  • First Install
  • Frequently Asked Questions
  • 29+ Default Models
  • Usage
    • Commands & Permissions
    • Languages
  • MODELS & GUIDES
    • Starter Guide
    • Models Folder
    • Model.yml File
    • Collision Information
    • Model Parameters
    • Model Interactions
    • Model Crafting
  • Plugin Information
    • Common Problems & Incompatibilities
  • Developers
    • Java API
Powered by GitBook
On this page
  • Default Values
  • %colors%
  • %wood types%
  1. MODELS & GUIDES

Model Parameters

PreviousCollision InformationNextModel Interactions

Last updated 7 months ago

Model parameters control variables for models, e.g. letting users define specific color for bed's wool color or wood frame. These are completely dynamic and can be created by anymore inside model.yml file.

Example of color parameter:

parameters:
  bedColor:
    default: "RED"
    values: "%colors%"
    description: "Color of the bed (wool)"

This would let you further into parts configuration use <bedColor> parameter, to define color for wool used with bed.

In this example, each bed_frame part would use DARK_OAK_LOG material, and bed_material parts would use any defined color of WOOL.

To define parameters with models, you use them inside /am give command, example:

/am give Steve bed 1 bedColor:orange

This command would give an orange wool textured bed.

Default Values

%colors%

All minecraft colors: white, orange, magenta, light blue, yellow, lime, pink, gray, light gray, cyan, purple, blue, brown, green, red, and black

This is useful when working with materials, such as WOOL, CARPET, CONCRETE, STAINED_GLASS, GLASS, TERRACOTTA, GLAZED_TERRACOTTA, CONCRETE_POWDER

%wood types%

All wood colors: OAK,SPRUCE,BIRCH,JUNGLE,ACACIA,DARK_OAK,WARPED,MANGROVE,CHERRY