User Tools

Site Tools


tutorial:event_index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:event_index [2022/03/21 01:40] – ↷ Page moved from event_index to tutorial:event_index solidblocktutorial:event_index [2022/03/26 00:08] – [Event Index] - added a line about getting a list of events from a call hierarchy; also a note on how to get it in IntJ and VS. cascadecollapse
Line 5: Line 5:
 Descriptions for events should not begin with "An event..." as that is implied, and events should be sorted alphabetically in each category. Deprecated events should not be listed unless they have no replacement, in which case they should be marked as such. Descriptions for events should not begin with "An event..." as that is implied, and events should be sorted alphabetically in each category. Deprecated events should not be listed unless they have no replacement, in which case they should be marked as such.
  
 +You can get a list of all events in your IDE by getting a call hierarchy of ''fabric.api.event.EventFactory.createArrayBacked(Class<? super T>, Function<T[], T>)''. In IntelliJ you can use the hot-key ''Ctrl + Alt + H'' (Windows/Linux), ''⌥ + ^ + H'' (macOS) with the method selected/hovered over; In Visual Studio, ''right-click -> Show Call Hierarchy''.
 ===== Client ===== ===== Client =====
  
tutorial/event_index.txt · Last modified: 2023/05/06 01:40 by pandoricavi