Interface NameTagIconRenderEvent
- All Superinterfaces:
ClientEvent
,Event
This event is emitted when an icon is getting rendered.
This event should not be used to do any actual rendering. Just use this event to cancel the rendering of the icon.
Warning: Don't do heavy operations in this event, as it will block the render thread!
Note: Don't keep references to this event. It will be reused for every icon render to avoid allocations.
Use
This event should not be used to do any actual rendering. Just use this event to cancel the rendering of the icon.
Warning: Don't do heavy operations in this event, as it will block the render thread!
Note: Don't keep references to this event. It will be reused for every icon render to avoid allocations.
Use
VoicechatClientApi.isTalking(UUID)
, VoicechatClientApi.isWhispering(UUID)
,
VoicechatClientApi.isDisabled(UUID)
and VoicechatClientApi.isDisconnected(UUID)
to get the status of the player and render it using your mod loaders render event system.-
Method Summary
Methods inherited from interface de.maxhenkel.voicechat.api.events.ClientEvent
getVoicechat
Methods inherited from interface de.maxhenkel.voicechat.api.events.Event
cancel, isCancellable, isCancelled
-
Method Details
-
getEntityId
UUID getEntityId()- Returns:
- the UUID of the entity the icon is being rendered for
-