Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Błąd w składni YAML


c1pablo

Rekomendowane odpowiedzi

Opublikowano

Czesc, rozpisywalem sobie wszystko jak nalezy i przy probie zapisu wyskakuje mi blad skladni YAML. Moglby ktos to poprawic tak zeby dzialalo jak nalezy? Blagam faken.

 

 

Spoiler

  STONE:
      - drop: xp
        tool: [ANY]
        chance: 85
        quantity: 6-20
      - drop: DIAMOND
        chance: 0.6
        tool: [IRON_PICKAXE, DIAMOND_PICKAXE]
        height: "<15"
        quantity: 1
      - drop: DIAMOND
        chance: 0.3
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS]
        height: "<15"
        quantity: 1-2
      - drop: DIAMOND
        chance: 0.3
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS#2, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#2]
        height: "<15"
        quantity:1-2
      - drop: DIAMOND
        chance: 0.3
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS#3, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#3]
        height: "<15"
        quantity:1-3
      - drop: IRON_ORE
        chance: 2.5
        tool: [STONE_PICKAXE, IRON_PICKAXE, DIAMOND_PICKAXE]
        height: "<64"
        quantity: 1
      - drop: IRON_ORE
        chance: 1.5
        tool: [STONE_PICKAXE@!LOOT_BONUS_BLOCKS, IRON_PICKAXE@!LOOT_BONUS_BLOCKS, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS]
        height: "<64"
        quantity: 1-2
      - drop: IRON_ORE
        chance: 1.5
        tool: [STONE_PICKAXE@!LOOT_BONUS_BLOCKS#2, IRON_PICKAXE@!LOOT_BONUS_BLOCKS#2, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#2]
        height: "<64"
        quantity: 1-2
      - drop: IRON_ORE
        chance: 1.5
        tool: [STONE_PICKAXE@!LOOT_BONUS_BLOCKS#3, IRON_PICKAXE@!LOOT_BONUS_BLOCKS#3, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#3]
        height: "<64"
        quantity: 1-3
      - drop: EMERALD
        biome: [EXTREME_HILLS, EXTREME_HILLS_EDGE]
        chance: 0.6
        tool: [IRON_PICKAXE, DIAMOND_PICKAXE]
        height: "<30"
        quantity: 1
      - drop: EMERALD
        biome: [EXTREME_HILLS, EXTREME_HILLS_EDGE]
        chance: 0.3
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS]
        height: "<30"
        quantity: 1-2
      - drop: EMERALD
        biome: [EXTREME_HILLS, EXTREME_HILLS_EDGE]
        chance: 0.3
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS#2, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#2]
        height: "<30"
        quantity: 1-2
      - drop: EMERALD
        biome: [EXTREME_HILLS, EXTREME_HILLS_EDGE]
        chance: 0.3
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS#3, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#3]
        height: "<30"
        quantity: 1-3
      - drop: GOLD_ORE
        chance: 1.5
        tool: [IRON_PICKAXE, DIAMOND_PICKAXE]
        height: "<20"
        quantity: 1
      - drop: GOLD_ORE
        chance: 1
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS]
        quantity: 1-2
      - drop: GOLD_ORE
        chance: 1
        height: "<20"
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS#2, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#2]
        quantity:1-3
      - drop: GOLD_ORE
        chance: 1
        height: "<20"
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS@!#3, DIAMOND_PICKAXE@1LOOT_BONUS_BLOCKS#3
        quantity: 1-4
      - drop: COAL
        height: "<40"
        tool: [STONE_PICKAXE, WOODEN_PICKAXE, IRON_PICKAXE, DIAMOND_PICKAXE]
        chance: 2.5
        quantity: 1
      - drop: COAL
        height: "<40"
        tool: [STONE_PICKAXE@!LOOT_BONUS_BLOCKS, WOODEN_PICKAXE@!LOOT_BONUS_BLOCKS, IRON_PICKAXE@!LOOT_BONUS_BLOCKS, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS]
        chance: 1
        quantity: 1-2
      - drop: COAL
        height: "<40"
        tool: [STONE_PICKAXE@!LOOT_BONUS_BLOCKS#2, WOODEN_PICKAXE@!LOOT_BONUS_BLOCKS#2, IRON_PICKAXE@!LOOT_BONUS_BLOCKS#2, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#2]
        chance: 1
        quantity: 1-2
      - drop: COAL
        height: "<40"
        tool: [STONE_PICKAXE@!LOOT_BONUS_BLOCKS#3, WOODEN_PICKAXE@!LOOT_BONUS_BLOCKS#3, IRON_PICKAXE@!LOOT_BONUS_BLOCKS#3, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#3]
        chance: 1
        quantity: 1-3
      - drop: 49
        height: "<20"
        tool: [IRON_PICKAXE, DIAMOND_PICKAXE]
        chance: 1
        quantity: 1
      - drop: 49
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS]
        height: "<20"
        chance: 0.5
        quantity: 1-2
      - drop: 49
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS#2, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#2]
        height: "<20"
        chance: 0.5
        quantity: 1-2
      - drop: 49
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS#3, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#3]
        height: "<20"
        chance: 0.5
        quantity: 1-3
      - drop: 331
        height: "<34"
        tool: [IRON_PICKAXE, DIAMOND_PICKAXE]
        chance: 1
        quantity: 1
      - drop: 331
        height: "<34"
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS]
        chance: 0.5
        quantity: 1-2
      - drop: 331
        height: "<34"
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS#2, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#2]
        chance: 0.5
        quantity: 1-2
      - drop: 331
        height: "<34"
        tool: [IRON_PICKAXE@!LOOT_BONUS_BLOCKS#3, DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#3]
        chance: 0.5
        quantity: 1-3
      - drop: 260
        height: "<24"
        tool: [DIAMOND_PICKAXE]
        chance: 0.4
        quantity: 1
      - drop: 260
        height:"<24"
        tool: [DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS]
        chance: 0.2
        cuantity: 1-2
      - drop: 260
        tool: [DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#2]
        chance: 0.2
        quantity: 1-2
      - drop: 260
        tool: [DIAMOND_PICKAXE@!LOOT_BONUS_BLOCKS#3]
        chance: 0.2
        quantity: 1-3
  DIAMOND_ORE:
        - drop: NOTHING
          replacementblock: STONE
          tool: [ANY, EXPLOSION_TNT, EXPLOSION_CREEPER]
          message: '&2Diamenty dropia ze stone, szansa 0.75%'
  GOLD_ORE:
        - drop: NOTHING
          tool: [ANY, EXPLOSION_TNT, EXPLOSION_CREEPER]
          message: '&2Zloto dropi ze stone, szansa 1%'
  IRON_ORE:
        - drop: AIR
          quantity: 1-3
          tool: [ANY, EXPLOSION_TNT, EXPLOSION_CREEPER]
          message: '&2Zelazo dropi ze stone, szansa 3%'
  EMERALD_ORE:
        - drop: AIR
          quantity: 1-3
          tool: [ANY, EXPLOSION_TNT, EXPLOSION_CREEPER]
          message: '&2Szmaragdy dropia ze stone, szansa to 0.1%'
  COAL_ORE:
        - drop: AIR
          quantity: 1-3
          tool: [ANY, EXPLOSION_TNT, EXPLOSION_CREEPER]
          message: '&2Wegiel dropi ze stone, szansa 4%'

 

  • sk8erace1 zmienił(a) tytuł na Błąd w składni YAML

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...