Class EntityRadarUpdateEvent


public class EntityRadarUpdateEvent extends ClientEvent
This event is fired when JourneyMap updates an entity before it is displayed on the map. This event is cancellable, when cancelled, it will prevent the entity from being displayed on the map.
  • Constructor Details

  • Method Details

    • getActiveUiState

      @Nullable public UIState getActiveUiState()
      Gets the current active UIState, small chance it may be null.
      Returns:
      - The UIState
    • getType

      Gets the entity type.
      Returns:
      - The entity type.
    • getWrappedEntity

      public WrappedEntity getWrappedEntity()
      Gets the wrapped entity, modifying the Entity itself will not change anything.
      Returns:
      - The wrapped entity.