-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
111 additions
and
61 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,16 +1,13 @@ | ||
package com.iafenvoy.sow; | ||
|
||
import com.iafenvoy.sow.world.sound.ServerSongCubeSoundManager; | ||
import com.iafenvoy.sow.world.sound.SongCubeSoundManager; | ||
import net.minecraft.util.Identifier; | ||
|
||
import java.util.UUID; | ||
|
||
public class Constants { | ||
public final class Constants { | ||
public static final Identifier BEACON_TELEPORT = Identifier.of(SongsOfWar.MOD_ID, "beacon_teleport"); | ||
public static final Identifier POWER_KEYBINDING_SYNC = Identifier.of(SongsOfWar.MOD_ID, "keybinding_sync"); | ||
public static final Identifier JUMP_PRESS = Identifier.of(SongsOfWar.MOD_ID, "jump_press"); | ||
public static final UUID PROTESPHERE_UUID = UUID.fromString("babda2da-13e9-4096-baba-933bb695e319"); | ||
public static final UUID MOBILIGLIDE_UUID = UUID.fromString("3db28b1d-3fec-4a31-9f50-6c04f30e33f1"); | ||
public static SongCubeSoundManager songCubeSoundManager = ServerSongCubeSoundManager.INSTANCE; | ||
} |
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 com.iafenvoy.sow; | ||
|
||
import com.iafenvoy.sow.data.ArdoniNameProxy; | ||
import com.iafenvoy.sow.world.sound.SongCubeSoundManager; | ||
|
||
public final class Proxies { | ||
public static SongCubeSoundManager songCubeSoundManager = SongCubeSoundManager.Empty.INSTANCE; | ||
public static ArdoniNameProxy ardoniNameProxy = ArdoniNameProxy.Empty.INSTANCE; | ||
|
||
} |
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
17 changes: 17 additions & 0 deletions
17
common/src/main/java/com/iafenvoy/sow/data/ArdoniNameProxy.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,17 @@ | ||
package com.iafenvoy.sow.data; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
public interface ArdoniNameProxy { | ||
@NotNull | ||
String getNameBySeed(long seed) throws UnsupportedOperationException; | ||
|
||
enum Empty implements ArdoniNameProxy { | ||
INSTANCE; | ||
|
||
@Override | ||
public @NotNull String getNameBySeed(long seed) throws UnsupportedOperationException { | ||
return ""; | ||
} | ||
} | ||
} |
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
7 changes: 6 additions & 1 deletion
7
common/src/main/java/com/iafenvoy/sow/render/util/GeneratorReloader.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
20 changes: 0 additions & 20 deletions
20
common/src/main/java/com/iafenvoy/sow/world/sound/ServerSongCubeSoundManager.java
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
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