EntityDropItemEvent is not fired for item frame drops
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- java
- Área
- backend-api-design
Línea de trabajo
Start by tracing HangingEntity#spawnAtLocation and compare it with the Entity#spawnAtLocation event-firing path described in the issue. Reproduce the four item-frame cases using the attached plugin source and output. Done means establishing whether hanging-entity drops should fire EntityDropItemEvent and, if so, verifying it fires for the frame and its contents.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Expected behavior
Should EntityDropItemEvent fire for the frame item and its contents, with the frame as the source? Or are hanging entities intentionally excluded?
Observed/Actual behavior
Destroying an item frame with an explosion fires HangingBreakEvent and ItemSpawnEvent, but no EntityDropItemEvent.
Reproduced for normal and glow item frames, both empty and containing a diamond. Empty frames produce one item drop; filled frames produce two. EntityDropItemEvent fires zero times in all four cases.
Steps/models to reproduce
- Extract the attached reproduction archive.
- Put
frame-drop-probe.jarinplugins/on a fresh Paper test server with a new world. - Start the server and read the console or
plugins/FrameDropProbe/result.txt.
The plugin creates and destroys all four frame variants automatically with World#createExplosion(location, 3.0f, false, false). It uses only the Bukkit API, with no NMS or manually dispatched events. The archive includes the source and test output.
Plugin and Datapack List
Only FrameDropProbe 1.0. Datapacks: vanilla (built-in), paper (built-in).
Paper version
This server is running Paper version 26.3-222-main@e3ba7b1 (2026-10-24T13:18:21Z) (Implementing API version 26.3.build.222-stable)
You are running the latest version
Java: Eclipse Adoptium Temurin 25.0.4.1+1-LTS, macOS aarch64.
Other
HangingEntity#spawnAtLocation calls addFreshEntity directly, bypassing the Entity#spawnAtLocation overload that fires EntityDropItemEvent.
Is this intentional, or should hanging-entity drops use the event-firing path?
- Lenguaje dominante
- Java
- Estrellas
- 12.8k
- Forks
- 3.6k
- Merge medio
- 4 d 22 h
- PR fusionados (30 d)
- 46
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PaperMC/Paper
-
status: needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
PaperMC/Paper#14375 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Add .getIgniter() to ExplosiveMinecartPosiblemente ocupada @WouterGritter la tomó hace 40 días. Abiertostatus: needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
PaperMC/Paper#14097 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
BlockType#isOccluding is incorrectly handledPosiblemente ocupada @ryoji-ikeda la tomó hace 184 días. Abiertostatus: accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
PaperMC/Paper#13790 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
status: needs triage version: 26.3
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
PaperMC/Paper#14412 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Vertically stacked hoppers fail to pull before the upper one pushes if hopper-check is equal to hopper-transferPosiblemente ocupada @CanIGetaPR la tomó hace 12 días. Abiertostatus: needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
PaperMC/Paper#14392 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de PaperMC/Paper
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
strimzi/strimzi-kafka-operator#13328 · 1 comentario · 3 reacciones ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
OpenLiberty/ci.maven#2137 ·
Los mantenedores suelen responder en 1 día
-
Payer adjustment can exceed the balance left after copay and deductible, so claim payments add up to more than the chargePosiblemente ocupada @DG47 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
synthetichealth/synthea#1772 ·
Los mantenedores suelen responder en 13 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
geonetwork/core-geonetwork#9592 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NationalSecurityAgency/ghidra#10040 ·
Los mantenedores suelen responder en 2 días