Villagers identify work block problems

Open
#127 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
game-dev

Research direction

No source files, tests, or entry points are named. Start by reproducing the villager work-block behavior in Folia 1.20.1 with the described plugin setup, then trace the villager occupation transition and related issue #121. Done means villagers retain the correct occupation after the work block is placed or repositioned.

Written by the indexing model from the issue text.

Description

status: needs triage type: bug
Expected behavior

Villagers identify work blocks.

Observed/Actual behavior

When the work block is dropped in the correct position, the villagers succeed in becoming the corresponding occupation in an instant, but immediately return to the jobless state. Normal after repositioning the work block.

https://github.com/PaperMC/Folia/assets/70757024/0fe59f5c-0357-4aa8-bf5a-1c99a277497e

Steps/models to reproduce

Probabilistic triggering

Plugin and Datapack List

[Server] [21:26:47 INFO]: Bukkit Plugins:
[Server] [21:26:47 INFO]: - Backuper, BlueMap, Chunky, CoreProtect, floodgate, FoliaFlow, Geyser-Spigot, GSit

Folia version

Previous version: git-Folia-7 (MC: 1.20.1)

Other

There is also issue #121, but I can't provide a valid video for that issue yet. Thank you for your efforts!

Dominant language
Shell
Stars
4.7k
Forks
651
Avg merge
10d 3h
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PaperMC/Folia

All issues in PaperMC/Folia

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.