跳到正文

Please Chop

作者:remorej

Creates a lumberjack profession for villagers.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Please Chop

Please Chop is a NeoForge mod that adds a lumberjack workstation and a LUMBERJACK villager profession.

The mod stays close to vanilla where it can:

  • workstation blocks are normal villager job sites
  • villagers keep normal profession levels and trading
  • the workstation block entity owns the custom forestry runtime instead of replacing the villager AI with a generic framework

CurseForge thumbnail

Features

  • One lumberjack workstation variant per overworld wood family:
    • oak
    • spruce
    • birch
    • jungle
    • acacia
    • dark oak
    • mangrove
    • cherry
  • A LUMBERJACK villager profession tied to those workstations.
  • Manual and autonomous tree chopping.
  • Tree detection for:
    • normal single-trunk trees
    • large spruce
    • large jungle
    • dark oak
  • Replant tracking:
    • trees are queued for replanting as soon as chopping finishes
    • successful immediate planting during lingering removes the queued site
    • queued sites are retried later when the villager has the right saplings
  • Site scavenging for leftover tree drops.
  • Workstation-specific trade specialization:
    • the villager’s trade wood type follows the workstation it is currently assigned to
    • chopping and replanting still work for any supported tree type
  • Debug chat and debug world overlays, disabled by default.

Recipe

Recipe

Current Behavior

The workstation block entity is the main runtime owner.

At a high level:

  • it finds or keeps one assigned lumberjack
  • scans for eligible nearby trees
  • reserves a tree so another workstation cannot claim it at the same time
  • sends the villager to chop it
  • lingers briefly for drops and possible immediate replanting
  • remembers leftover drop sites and queued replant sites for later recovery

The villager stays a normal villager:

  • trade level controls chop speed and daily tree quota
  • normal villager restocking still applies
  • job-site specialization only changes what the villager sells

Trades

Lumberjack trades are specialization-aware and level-based.

Examples:

  • level 1:
    • sells matching logs
    • sells matching saplings
    • oak lumberjacks also sell apples
    • buys stone axes
    • buys bread
  • level 2:
    • sells stripped logs
    • sells leaves
    • buys carrots and baked potatoes
  • level 3:
    • sells sticks
    • sells species extras where applicable
    • buys iron axes
  • level 4-5:
    • very low chance of selling enchanted axes

The specialization is reset from the villager’s current workstation, not from the last item it chopped.

Config

The mod uses NeoForge’s built-in config screen.

Current common config options:

  • debug.chat = false
  • debug.render = false

Open Mods -> Please Chop -> Config to change them.

Development

./gradlew runClient
./gradlew build

Notes

  • Tree detection is intentionally conservative. The mod prefers rejecting ambiguous shapes over harvesting player builds.
  • Replanting is queue-based. If the villager does not have the right sapling yet, the site stays queued.

AI Usage

Unless otherwise noted, please expect that:

  • Graphical assets are AI generated slop.
  • Code is AI generated slop.
  • Algorithms and ideas are mine.

常见问题

Please Chop 支持哪些 Minecraft 版本?

Please Chop 支持 Minecraft Java 版 1.21.1–1.21.11,共 2 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Please Chop 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

remorej 的其他作品

查看全部 →