行商人/ED

提供: Minecraft Wiki
移動先: 案内検索
  • エンティティデータ
    • すべてのエンティティに共通するタグ テンプレート:Nbt inherit/entity/templateを参照
    • すべてのMobに共通するタグ Template:Nbt inherit/mob/templateを参照
    • 繁殖できる Mob の追加フィールド Template:Nbt inherit/breedable/templateを参照
    •  DespawnDelay: The number of ticks until this wandering trader is forced to despawn.
    •  WanderTarget: Where this trader will wander towards.
      •  X: The X coordinate to wander towards.
      •  Y: The Y coordinate to wander towards.
      •  Z: The Z coordinate to wander towards.
    •  Offers: Is generated when the trading menu is opened for the first time.
      •  Recipes: List of trade options.
        • A trade option.
          •  rewardExp: 1 or 0 (true/false) - true if this trade will provide XP orb drops. All trades from naturally-generated villagers in Java Edition reward XP orbs.
          •  maxUses: The maximum number of times this trade can be used before it is disabled. Increases by a random amount from 2 to 12 when offers are refreshed.
          •  uses: The number of times this trade has been used. The trade becomes disabled when this is greater or equal to maxUses.
          •  buy: The first 'cost' item, without the Slot tag.
          •  buyB: May not exist. The second 'cost' item, without the Slot tag.
          •  sell: The item being sold for each set of cost items, without the Slot tag.