[SPIGOT-3081] Custom name is not set on an entity at the time of CreatureSpawnEvent Created: 20/Feb/17 Updated: 27/Dec/18 Resolved: 27/Dec/18 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Matt D. | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | NameTag, entity, name | ||
| Environment: |
N/A |
||
| Description |
|
[CODE]@EventHandler |
| Comments |
| Comment by md_5 [ 27/Dec/18 ] |
|
This was fixed by Mojang in some update |
| Comment by Matt D. [ 01/Mar/17 ] |
|
I just wanted to mention that custom names are set for getName() and getCustomName() when an entity is summoned rather than spawned with an egg: /summon Skeleton ~ ~ ~ {CustomName:"Skalington",Size:0.5
Would it be possible to provide a means of discovering this information for SpawnReason.SPAWNER_EGG? For example, this information would be contained as the name of the item stack of the egg being used to spawn the mob. |
| Comment by md_5 [ 20/Feb/17 ] |
|
This is unlikely to be able to be fixed because of how the event is called |