> For the complete documentation index, see [llms.txt](https://momi.gtemc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://momi.gtemc.cn/customfishing/cha-jian-wiki/customfishing/ru-he-pei-zhi-mei-ge-wen-jian.md).

# 🧭 如何配置每个文件

供快速参考的文章

## loot/game-conditions.yml

{% content-ref url="/pages/rJYbUhnsOXXc0j1Rn23Y" %}
[⚖️ 权重系统 \[必读\]](/customfishing/cha-jian-wiki/customfishing/quan-zhong-xi-tong-bi-du.md)
{% endcontent-ref %}

## /contents

## &#x20;     /item

{% content-ref url="/pages/u91FP9jbjwBtvdEk3Tux" %}
[🎁 物品](/customfishing/cha-jian-wiki/customfishing/ge-shi/wu-pin.md)
{% endcontent-ref %}

{% content-ref url="/pages/x6s9CHdxd4MrNDrz6y3E" %}
[🏆 战利品](/customfishing/cha-jian-wiki/customfishing/ge-shi/zhan-li-pin.md)
{% endcontent-ref %}

```yaml
rubbish:
  # 物品部分
  material: cod
  display:
    name: <#00BFFF>福岛鱼</#00BFFF>
    lore:
      - <gray>请保护环境，不要污染大海...
  custom-model-data: 50000
  

  # 战利品部分
  nick: <#00BFFF>福岛鱼</#00BFFF>
  show-in-fishfinder: false
  disable-stat: true
  disable-game: true
  instant-game: false
  prevent-grabbing: false
```

## &#x20;     /entity

{% content-ref url="/pages/YzZXqJUQaya86qxuO8lv" %}
[🦖 实体](/customfishing/cha-jian-wiki/customfishing/ge-shi/shi-ti.md)
{% endcontent-ref %}

{% content-ref url="/pages/x6s9CHdxd4MrNDrz6y3E" %}
[🏆 战利品](/customfishing/cha-jian-wiki/customfishing/ge-shi/zhan-li-pin.md)
{% endcontent-ref %}

```yaml
magma_cube:
  # 战利品部分
  show-in-fishfinder: false
  disable-stat: true
  disable-game: true
  nick: <red>岩浆怪</black>
  
  # 实体部分
  entity: magma_cube
  velocity:
    horizontal: 1.1
    vertical: 1.3
```

## &#x20;     /enchant

{% content-ref url="/pages/dY9J9ZYPDP6CGbQYCIuv" %}
[✨ 效果](/customfishing/cha-jian-wiki/customfishing/ge-shi/xiao-guo.md)
{% endcontent-ref %}

```yaml
# 命名空间:附魔:等级
minecraft:luck_of_the_sea:1:
  requirements: {}
  effects:
    group:
      type: group-mod
      value:
        - silver_star:+2
        - golden_star:+1
```

## &#x20;     /hook

{% content-ref url="/pages/dY9J9ZYPDP6CGbQYCIuv" %}
[✨ 效果](/customfishing/cha-jian-wiki/customfishing/ge-shi/xiao-guo.md)
{% endcontent-ref %}

{% content-ref url="/pages/u91FP9jbjwBtvdEk3Tux" %}
[🎁 物品](/customfishing/cha-jian-wiki/customfishing/ge-shi/wu-pin.md)
{% endcontent-ref %}

```yaml
delicate_hook:
  # 物品部分
  material: SHEARS
  display:
    name: '<#1E90FF>精致的鱼钩'
    lore:
      - ''
      - '<#7FFFD4>描述:'
      - '<gray> - 精心设计，具有吸引力，这个鱼钩'
      - '<gray> - 不是您普通的钓具。经过打磨精细设计'
      - '<gray> - 它在水中闪闪发光，不可抗拒地吸引着高质量'
      - '<gray> - 的鱼儿靠近。'
      - ''
      - '<#FFD700>效果:'
      - '<gray> - 增加获得高质量鱼儿的几率'
  max-durability: 16  <- 这个属性是鱼钩工作所必需的
  
  # 效果部分
  effects:
    group:
      type: group-mod
      value:
        - silver_star:+1
        - golden_star:+1
 
  # 鱼钩的唯一属性
  # 决定了鱼竿上的描述
  lore-on-rod:
    - ''
    - '<#7FFFAA>已装备的鱼钩:'
    - '<gray> - 精致的鱼钩: 剩余 <white>{dur}<white> 次'
```

## &#x20;     /util

{% content-ref url="/pages/dY9J9ZYPDP6CGbQYCIuv" %}
[✨ 效果](/customfishing/cha-jian-wiki/customfishing/ge-shi/xiao-guo.md)
{% endcontent-ref %}

{% content-ref url="/pages/u91FP9jbjwBtvdEk3Tux" %}
[🎁 物品](/customfishing/cha-jian-wiki/customfishing/ge-shi/wu-pin.md)
{% endcontent-ref %}

```yaml
fishfinder:
  # 物品部分
  material: PAPER
  display:
    name: '<#1E90FF>鱼类探测器'
    lore:
      - ''
      - '<#7FFFD4>描述:'
      - '<gray> - 麻雀虽小五脏俱全，它可以精确扫描水下'
      - '<gray> - 的水域，揭示隐藏在水面下的各种'
      - '<gray> - 鱼类。无论您是在未知的领域还是'
      - '<gray> - 熟悉的水域，这个设备都能确保您'
      - '<gray> - 始终了解您的水下邻居。'
      - ''
  custom-model-data: 50000
```

## &#x20;     /rod

{% content-ref url="/pages/u91FP9jbjwBtvdEk3Tux" %}
[🎁 物品](/customfishing/cha-jian-wiki/customfishing/ge-shi/wu-pin.md)
{% endcontent-ref %}

{% content-ref url="/pages/dY9J9ZYPDP6CGbQYCIuv" %}
[✨ 效果](/customfishing/cha-jian-wiki/customfishing/ge-shi/xiao-guo.md)
{% endcontent-ref %}

```yaml
beginner_rod:
  # 物品部分
  material: fishing_rod
  display:
    name: "<b><#EEE9E9>初学者的钓鱼竿"
    lore:
      - ''
      - '<#7FFFD4>描述:'
      - '<gray> - 专为初学者设计的钓鱼竿，初学者的'
      - '<gray> - 最佳伙伴。'
      - ''
      - '<#FFD700>效果:'
      - '<gray> - 增加钩子时间'
      - '<gray> - 减少钓鱼的挑战'
  custom-model-data: 50001
  max-durability: 64
  
  # 效果部分
  effects:
    time_effect:
      type: hook-time
      value: 1.8
    difficulty:
      type: difficulty
      value: -8
```

## &#x20;     /bait

{% content-ref url="/pages/dY9J9ZYPDP6CGbQYCIuv" %}
[✨ 效果](/customfishing/cha-jian-wiki/customfishing/ge-shi/xiao-guo.md)
{% endcontent-ref %}

{% content-ref url="/pages/u91FP9jbjwBtvdEk3Tux" %}
[🎁 物品](/customfishing/cha-jian-wiki/customfishing/ge-shi/wu-pin.md)
{% endcontent-ref %}

```yaml
magnetic_bait:
  # 物品部分
  material: paper
  display:
    name: '<b><red>磁<blue>性<gray>鱼饵'
    lore:
      - ''
      - '<#7FFFD4>描述:'
      - '<gray>它的明亮光泽和独特的能量脉冲'
      - '<gray>对好奇的鱼类具有不可抗拒的吸引力，'
      - '<gray>以前所未有的速度将它们吸引过来。这不'
      - '<gray>仅是一种鱼饵，它是一场鱼类无法抗拒'
      - '<gray>的奇观。'
      - ''
      - '<#FFD700>效果:'
      - '<gray> - 减少钩子时间'
      - '<gray> - 增加钓鱼时间'
      - ''
  custom-model-data: 50002
  
  # 效果部分
  effects:
    hooktime:
      type: hook-time
      value: 0.9
    gametime:
      type: game-time
      value: 2
```

## &#x20;     /block

{% content-ref url="/pages/vRXfUFreSRgD3qFn7m65" %}
[🧊 方块](/customfishing/cha-jian-wiki/customfishing/ge-shi/fang-kuai.md)
{% endcontent-ref %}

{% content-ref url="/pages/x6s9CHdxd4MrNDrz6y3E" %}
[🏆 战利品](/customfishing/cha-jian-wiki/customfishing/ge-shi/zhan-li-pin.md)
{% endcontent-ref %}

```yaml
carrot_crate:
  # 战利品部分
  show-in-fishfinder: false
  disable-stat: true
  nick: 胡萝卜箱子
  
  # 方块部分
  block: barrel
  velocity:
    horizontal: 1.07
    vertical: 1.5
  properties:
    directional: true
    storage:
      carrot_1:
        item: Carrot
        amount: 1~2
        chance: 0.8
      carrot_2:
        item: Carrot
        amount: 1~2
        chance: 0.8
```

## &#x20;     /competition

{% content-ref url="/pages/arpAlpWlRwL68U0oOWln" %}
[🏅 比赛](/customfishing/cha-jian-wiki/customfishing/ge-shi/bi-sai.md)
{% endcontent-ref %}

## &#x20;     /totem

{% content-ref url="/pages/XbqbwWGYqJnFdX0JjbOn" %}
[🗿 图腾](/customfishing/cha-jian-wiki/customfishing/ge-shi/tu-teng.md)
{% endcontent-ref %}

## &#x20;     /minigame

{% content-ref url="/pages/EX43TNI5UCEkFA8Jce5h" %}
[🕹️ 迷你游戏](/customfishing/cha-jian-wiki/customfishing/ge-shi/mi-ni-you-xi.md)
{% endcontent-ref %}
