-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
1 parent
a1814ad
commit f57ce14
Showing
10 changed files
with
108 additions
and
7 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
Binary file added
BIN
+123 Bytes
loader-common/src/main/resources/data/cyclopscore/structure/empty.nbt
Binary file not shown.
18 changes: 18 additions & 0 deletions
18
loader-fabric/src/main/java/org/cyclops/cyclopscore/gametest/StartupTestFabric.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,18 @@ | ||
package org.cyclops.cyclopscore.gametest; | ||
|
||
import net.minecraft.gametest.framework.GameTest; | ||
import net.minecraft.gametest.framework.GameTestHelper; | ||
import org.cyclops.cyclopscore.Reference; | ||
|
||
/** | ||
* @author rubensworks | ||
*/ | ||
public class StartupTestFabric { | ||
|
||
@GameTest(template = Reference.MOD_ID + ":empty") | ||
public void testDummy(GameTestHelper helper) { | ||
// A dummy test to ensure the server starts properly | ||
helper.succeed(); | ||
} | ||
|
||
} |
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
20 changes: 20 additions & 0 deletions
20
loader-forge/src/main/java/org/cyclops/cyclopscore/gametest/StartupTestForge.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,20 @@ | ||
package org.cyclops.cyclopscore.gametest; | ||
|
||
import net.minecraft.gametest.framework.GameTest; | ||
import net.minecraft.gametest.framework.GameTestHelper; | ||
import net.minecraftforge.gametest.GameTestHolder; | ||
import org.cyclops.cyclopscore.Reference; | ||
|
||
/** | ||
* @author rubensworks | ||
*/ | ||
@GameTestHolder(Reference.MOD_ID) | ||
public class StartupTestForge { | ||
|
||
@GameTest(template = Reference.MOD_ID + ":empty") | ||
public void testDummy(GameTestHelper helper) { | ||
// A dummy test to ensure the server starts properly | ||
helper.succeed(); | ||
} | ||
|
||
} |
22 changes: 22 additions & 0 deletions
22
loader-neoforge/src/main/java/org/cyclops/cyclopscore/gametest/StartupTestNeoForge.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,22 @@ | ||
package org.cyclops.cyclopscore.gametest; | ||
|
||
import net.minecraft.gametest.framework.GameTest; | ||
import net.minecraft.gametest.framework.GameTestHelper; | ||
import net.neoforged.neoforge.gametest.GameTestHolder; | ||
import net.neoforged.neoforge.gametest.PrefixGameTestTemplate; | ||
import org.cyclops.cyclopscore.Reference; | ||
|
||
/** | ||
* @author rubensworks | ||
*/ | ||
@GameTestHolder(Reference.MOD_ID) | ||
@PrefixGameTestTemplate(false) | ||
public class StartupTestNeoForge { | ||
|
||
@GameTest(template = "empty") | ||
public void testDummy(GameTestHelper helper) { | ||
// A dummy test to ensure the server starts properly | ||
helper.succeed(); | ||
} | ||
|
||
} |