Class ClientEventRegistry
java.lang.Object
journeymap.api.v2.common.event.ClientEventRegistry
Events consumers subscribe in the
IClientPlugin.initialize(IClientAPI) method on your plugin.
Example:
DEATH_WAYPOINT_EVENT.subscribe(MOD_ID, Consumer)-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Event<DeathWaypointEvent> Indicates a Death Waypoint is about to be created for the player.static final Event<DisplayUpdateEvent> Indicates a change in the display characteristics of the specified UI.static final Event<EntityRadarUpdateEvent> This event is fired when JourneyMap updates an entity before it is displayed on the map.static final Event<EntityRegistrationEvent> This event is fired very early in mod loading so that JourneyMap has a handle on possible entities to display on the map This event is not cancellable.static final Event<RegistryEvent.InfoSlotRegistryEvent> Register info slots.static final Event<MappingEvent> Indicates JourneyMap has started or stopped mapping chunks in the dimension.static final Event<RegistryEvent.OptionsRegistryEvent> Register options in the addon options screen. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEATH_WAYPOINT_EVENT
Indicates a Death Waypoint is about to be created for the player. Event will be aDeathWaypointEvent, which can be cancelled. Can be cancelled, which will prevent the waypoint creation. -
DISPLAY_UPDATE_EVENT
Indicates a change in the display characteristics of the specified UI. Event will be aDisplayUpdateEvent, which can not be cancelled. -
MAPPING_EVENT
Indicates JourneyMap has started or stopped mapping chunks in the dimension. Event will be aMappingEvent. Cannot be cancelled. -
INFO_SLOT_REGISTRY_EVENT
Register info slots.RegistryEvent -
OPTIONS_REGISTRY_EVENT
Register options in the addon options screen.RegistryEvent -
ENTITY_RADAR_UPDATE_EVENT
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. -
ENTITY_REGISTRATION_EVENT
This event is fired very early in mod loading so that JourneyMap has a handle on possible entities to display on the map This event is not cancellable.
-
-
Constructor Details
-
ClientEventRegistry
public ClientEventRegistry()
-