-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 1.20.4: compat with curios supress warnings Better trigger logic removed unused variable 1.19.4 1.19.3 2.0.10 # Conflicts: # common/src/main/resources/assets/friendsandfoes/lang/ko_kr.json
- Loading branch information
Showing
44 changed files
with
637 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
common/src/main/java/com/faboslav/friendsandfoes/events/lifecycle/ClientSetupEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.faboslav.friendsandfoes.events.lifecycle; | ||
|
||
import com.faboslav.friendsandfoes.events.base.EventHandler; | ||
|
||
import java.util.function.Consumer; | ||
|
||
/** | ||
* Event related is code based on The Bumblezone/Resourceful Lib mods with permissions from the authors | ||
* | ||
* @author TelepathicGrunt | ||
* <a href="https://github.com/TelepathicGrunt/Bumblezone">https://github.com/TelepathicGrunt/Bumblezone</a> | ||
* @author ThatGravyBoat | ||
* <a href="https://github.com/Team-Resourceful/ResourcefulLib">https://github.com/Team-Resourceful/ResourcefulLib</a> | ||
*/ | ||
public record ClientSetupEvent(Consumer<Runnable> enqueue) | ||
{ | ||
|
||
public static final EventHandler<ClientSetupEvent> EVENT = new EventHandler<>(); | ||
|
||
public void enqueueWork(Runnable runnable) { | ||
enqueue.accept(runnable); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.