[SPIGOT-7652] SPELL_MOB_AMBIENT is incorrectly remapped Created: 01/May/24  Updated: 25/Dec/24  Resolved: 02/May/24

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Tal K Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None

Version: CraftBukkit version 4137-Spigot-e2c1eee-666f091 (MC: 1.20.6) (Implementing API version 1.20.6-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

SPELL_MOB_AMBIENT remaps to AMBIENT_ENTITY_EFFECT instead of SPELL_MOB, causing a

java.lang.NoSuchFieldError: Class org.bukkit.Particle does not have member field 'org.bukkit.Particle AMBIENT_ENTITY_EFFECT' 

This seems to be because it's remapped to AMBIENT_ENTITY_EFFECT in Source of FieldRename.java - CraftBukkit - SpigotMC Stash, which causes it to not remap later on in Source of Commodore.java - CraftBukkit - SpigotMC Stash



 Comments   
Comment by md_5 [ 01/May/24 ]

Even if correctly remapped, old code won't work due to the change of required data type, so it might as well just not be remapped and will error anyway.

Generated at Sat Dec 13 13:32:27 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.