How to create a miniature

Aug 12, 2018
How to create a miniature
  • [​IMG]
    CubeMiniatures v1.1.3 has a new feature to create custom miniatures, here I will show how to do it.

    We will create the "Pikachu" miniature :)

    First, you need to create a new section in miniatures.yml, and set the name of the section to your miniature name.

    [​IMG]
    Code (Text):
      pikachu:
        name: 'null'
        visible: true
        animation: true
        head:
          type: LINK
          value: "null"
        equipment:
          chestplate:
            enabled: false
            material: LEATHER_CHESTPLATE
            color: null
          leggings:
            enabled: false
            material: LEATHER_LEGGINGS
            color: null
          boots:
            enabled: false
            material: LEATHER_BOOTS
            color: null
          hand:
            enabled: false
            material: AIR
        particles:
          enabled: false
          type: NORMAL
          particle: null
          amount: 1
          X: 0.0
          Y: 0.2
          Z: 0.0
          speed: 0.0
          time: 1
        menu:
          menu: null
          name: 'null'
          lore:
          - 'null'
          slot: null

    Now, we will start configuring the miniature options

    [​IMG]

    Example
    Code (Text):
      pikachu:
        name: 'Pikachu' --> Miniature name
        visible: true --> ArmorStand visible true/false
        animation: true --> Miniature animation true/false
        head:
          type: NAME --> Head type
          value: "Pikachu" --> Head value
        equipment:
          chestplate:
            enabled: true --> Chestplate enabled true/false
            material: LEATHER_CHESTPLATE --> Miniature chestplate material
            color: YELLOW --> Miniature chestplate color
          leggings:
            enabled: true --> Leggings enabled true/false
            material: LEATHER_LEGGINGS --> Miniature leggings material
            color: YELLOW --> Miniature leggings color
          boots:
            enabled: true --> Miniature boots true/false
            material: LEATHER_BOOTS --> Miniature boots material
            color: YELLOW --> Miniature boots color
          hand:
            enabled: true --> Miniature item in hand enabled true/false
            material: GOLD_INGOT --> Miniature item in hand material
        particles:
          enabled: true --> Miniature particles enabled true/false
          type: AROUND --> Particle type
          particle: flame --> Particle value
          amount: 1 --> Amount of particles
          X: 0.0 --> Particles X
          Y: 1.5 --> Particles Y
          Z: 0.0 --> Particles Z
          speed: 0.0 --> Particle speed
          time: 1 --> Particle time in ticks (20 = 1 second)
        menu:
          menu: page1 --> Miniature menu page
          name: '&bPikachu miniature' --> Miniature menu name
          lore:
          - '&7Select a cool pikachu to follow you!' --> Miniature menu lore
          slot: 7 --> Miniature menu slot
    Code (Text):
      pikachu:
        name: 'Pikachu'
        visible: true
        animation: true
        head:
          type: NAME
          value: "Pikachu"
        equipment:
          chestplate:
            enabled: true
            material: LEATHER_CHESTPLATE
            color: YELLOW
          leggings:
            enabled: true
            material: LEATHER_LEGGINGS
            color: YELLOW
          boots:
            enabled: true
            material: LEATHER_BOOTS
            color: YELLOW
          hand:
            enabled: true
            material: GOLD_INGOT
        particles:
          enabled: true
          type: AROUND
          particle: flame
          amount: 1
          X: 0.0
          Y: 1.5
          Z: 0.0
          speed: 0.0
          time: 1
        menu:
          menu: page1
          name: '&bPikachu miniature'
          lore:
          - '&7Select a cool pikachu to follow you!'
          slot: 7

    So our miniature will look like this:
    [​IMG]

    If you have any problem contact me!
  • Loading...
  • Loading...