Observer Bug while running server with abit of lags

Đang mở
#14,466 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Java
Star
12.8k
Fork
3.6k
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
33

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PaperMC/Paper

Tất cả issue của PaperMC/Paper

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.