Observer Bug while running server with abit of lags

Aperta
#14,466 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
backend

Direzione di ricerca

Start by reading paper-server/src/minecraft/java/net/minecraft/world/level/block/ObserverBlock.java around line 57, where the reporter points to the observer behavior. Reproduce with many repeaters causing lag and a NeighborUpdate, then check whether the observer stays powered after the lag ends. Done means the observer powers off correctly; the issue does not name a test to run.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

status: needs triage version: 26.3
Expected behavior

Hellooo,

i saw a video by TheJoCraft in which they analyze server lag on the CraftAttack server. I then looked into this myself using the Paper version and tested for lag caused by the NeighborUpdater. I found that the observer remains permanently powered even after the lag has ceased.

paper-server/src/minecraft/java/net/minecraft/world/level/block/ObserverBlock.java, Zeile 57

Observed/Actual behavior

It just happend while the server lags and wen the server does a NeighborUpdate.

Steps/models to reproduce

Alot of repeater causing lags.
https://medal.tv/games/minecraft/clips/nSp51BUWXQwjYMcra?invite=cr-MSxQSTIsNTUyNDMxNjM

Plugin and Datapack List

WorldEdit, Custom Prefix pack, SparkTPS

Paper version

This server is running Paper version 26.3-194-main@3988767 (2026-10-15T21:41:31Z) (Implementing API version 26.3.build.194-stable)
You are 50 version(s) behind
Download the new version at: https://papermc.io/downloads/paper
Previous version: 26.3-193-dba08d2 (MC: 26.3)

Other

No response

Lingua principale
Java
Stelle
12.8k
Fork
3.6k
Merge medio
2g 21h
PR unite (30g)
33

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PaperMC/Paper

Tutte le issue di PaperMC/Paper

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.