-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved gather additional flag event to the mod specific load bus. Unkn…
…own flags will also now return true
- Loading branch information
1 parent
dd38934
commit 5394658
Showing
11 changed files
with
241 additions
and
215 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
- fixed an issue with biome modifier serializers not being registered (issue from very last release) | ||
moved gather additional flag event to the mod specific load bus. Unknown flags will also now return true |
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
10 changes: 10 additions & 0 deletions
10
src/main/java/org/violetmoon/zeta/event/load/ZGatherAdditionalFlags.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,10 @@ | ||
package org.violetmoon.zeta.event.load; | ||
|
||
import org.violetmoon.zeta.config.ConfigFlagManager; | ||
import org.violetmoon.zeta.event.bus.IZetaLoadEvent; | ||
import org.violetmoon.zeta.event.bus.IZetaPlayEvent; | ||
|
||
public interface ZGatherAdditionalFlags extends IZetaLoadEvent { | ||
|
||
ConfigFlagManager flagManager(); | ||
} |
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
19 changes: 19 additions & 0 deletions
19
src/main/java/org/violetmoon/zetaimplforge/event/load/ForgeZGatherAdditionalFlags.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,19 @@ | ||
package org.violetmoon.zetaimplforge.event.load; | ||
|
||
import net.minecraftforge.eventbus.api.Event; | ||
import org.violetmoon.zeta.config.ConfigFlagManager; | ||
import org.violetmoon.zeta.event.load.ZGatherAdditionalFlags; | ||
|
||
public class ForgeZGatherAdditionalFlags extends Event implements ZGatherAdditionalFlags { | ||
|
||
private final ZGatherAdditionalFlags wrapped; | ||
|
||
public ForgeZGatherAdditionalFlags(ZGatherAdditionalFlags wrapped) { | ||
this.wrapped = wrapped; | ||
} | ||
|
||
@Override | ||
public ConfigFlagManager flagManager() { | ||
return wrapped.flagManager(); | ||
} | ||
} |
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
Oops, something went wrong.