PaperMC / PaperMC/Paper

LivingEntity ... add sleep/wakeup

Open
#13,756 4 comments 0 reactions 0 assignees View on GitHub

@nickrodii is already working on this.

Since Apr 6, 2026.

  • #13758 by @nickrodii — open
status: needs triage
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

Is your feature request related to a problem?

Not a problem per se, but I've been using NMS to make a Mannequin sleep.
Currently only HumanEntity/Villager have sleep/wake methods.

Describe the solution you'd like.

Minecraft's LivingEntity class has startSleeping(BlockPos) and stopSleeping methods.
I (for fun) tested this on a few entities to see if it works.
Zombie, sheep, pillager, skeleton... they all work.
Funny results, but they do work.

Describe alternatives you've considered.

Currently using NMS for my Mannequins sleeping

Other

No response

Contributor guide

Open the contributing guide

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.

Research direction

Start by reading the Java API definitions for LivingEntity and the existing sleep/wake methods on HumanEntity and Villager. Compare those APIs with Minecraft's LivingEntity startSleeping(BlockPos) and stopSleeping methods, and check the linked pull request for the current direction. Done means the intended sleep and wake methods are exposed consistently for LivingEntity.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.