Skip to content

villager sleeping bug #1817

Open
Open

Description

@FatalSquish

villagers run away from latex beasts while sleeping without getting up sometimes (found this out cause i walked up to one while they were asleep and they ran while laying down)

Image

Activity

  1. Foxyas commented on Jul 16, 2026

    @Foxyas
    Contributor

    @LtxProgrammer

    if (v.getNavigation().getPath() == null || host.distanceToSqr(v.getNavigation().getTargetPos().getX(), v.getNavigation().getTargetPos().getY(), v.getNavigation().getTargetPos().getZ()) < distance * distance) {

    just add a isSleeping Check there ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions