Skip to content

TranslatableItem

Luis Benavides-Naranjo edited this page Mar 9, 2024 · 1 revision

ItemStack

Fields

  • All BlobSounds have fields. If a required field is missing in the configuration, it will log it in console.
  • ❌ = Required
  • ✅ = Optional

  • ItemStack (The ItemStack to display this TranslatableItem on the specific locale) [❌]
    1. #your key would be the name of your file. if your file is "legendary_dirt.yml", then the key is "legendary_dirt"
      ItemStack:
        Material: DIRT
        DisplayName: '&6First Dirt'
        Lore:
        - '&6&lLEGENDARY TALISMAN'```
    2. legendary_dirt: # your TranslatableItem key would be "legendary_dirt"
        ItemStack:
          Material: DIRT
          DisplayName: '&6First Dirt'
          Lore:
          - '&6&lLEGENDARY TALISMAN'```
    3. myServerLOLomgYOLO:
        legendary_dirt: # your TranslatableItem key would be "myServerLOLomgYOLO.legendary_dirt"
          ItemStack:
            Material: DIRT
            DisplayName: '&6First Dirt'
            Lore:
            - '&6&lLEGENDARY TALISMAN'```
  • Locale (The locale of this ItemStack, GOES AT THE TOP OF THE FILE) [✅] Defaults to en_us
    1. #your key would be the name of your file. if your file is "legendary_dirt.yml", then the key is "legendary_dirt"
      Locale: es_es
      ItemStack:
        Material: DIRT
        DisplayName: '&6Primera Tierra'
        Lore:
        - '&6&lTALISMAN LEGENDARIO'```
    2. Locale: es_es
      legendary_dirt: # your TranslatableItem key would be "legendary_dirt"
        ItemStack:
          Material: DIRT
          DisplayName: '&6Primera Tierra'
          Lore:
          - '&6&lTALISMAN LEGENDARIO'```
    3. Locale: es_es
      myServerLOLomgYOLO:
        legendary_dirt: # your TranslatableItem key would be "myServerLOLomgYOLO.legendary_dirt"
          ItemStack:
            Material: DIRT
            DisplayName: '&6Primera Tierra'
            Lore:
            - '&6&lTALISMAN LEGENDARIO'```

Clone this wiki locally