Skip to content

Commit

Permalink
add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrails committed May 7, 2024
1 parent 3892cd4 commit 3fca38f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ public class FabHeartEvents {
public static final Event<Consumer<HeartRenderEvent.Pre>> PRE_RENDER = createEvent();
public static final Event<Consumer<HeartRenderEvent.Post>> POST_RENDER = createEvent();

/**
* Just an empty event used to notify about in-game changes from the Config Screen
*/
public static final Event<Runnable> UPDATE = EventFactory.createArrayBacked(Runnable.class, listeners -> () -> {
for (Runnable listener : listeners) {
listener.run();
Expand Down

0 comments on commit 3fca38f

Please sign in to comment.