-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
d6af405
commit f290dce
Showing
7 changed files
with
1,116 additions
and
1 deletion.
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
1,064 changes: 1,064 additions & 0 deletions
1,064
loader-common/src/main/java/org/cyclops/colossalchests/gametest/GameTestsCommon.java
Large diffs are not rendered by default.
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
Binary file added
BIN
+2.41 KB
loader-common/src/main/resources/data/colossalchests/structure/empty10.nbt
Binary file not shown.
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
22 changes: 22 additions & 0 deletions
22
loader-forge/src/main/java/org/cyclops/colossalchests/gametest/GameTestsLoaderForge.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.colossalchests.gametest; | ||
|
||
import net.minecraft.gametest.framework.GameTestGenerator; | ||
import net.minecraft.gametest.framework.TestFunction; | ||
import net.minecraftforge.gametest.GameTestHolder; | ||
import org.cyclops.cyclopscore.gametest.GameTestLoaderHelpers; | ||
import org.cyclops.colossalchests.Reference; | ||
|
||
import java.util.Collection; | ||
|
||
/** | ||
* @author rubensworks | ||
*/ | ||
@GameTestHolder(Reference.MOD_ID) | ||
public class GameTestsLoaderForge extends GameTestsCommon { | ||
@GameTestGenerator | ||
public Collection<TestFunction> generateCommonTests() throws InstantiationException, IllegalAccessException { | ||
return GameTestLoaderHelpers.generateCommonTests(Reference.MOD_ID, new Class[]{ | ||
GameTestsCommon.class | ||
}); | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...r-neoforge/src/main/java/org/cyclops/colossalchests/gametest/GameTestsLoaderNeoForge.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.colossalchests.gametest; | ||
|
||
import net.minecraft.gametest.framework.GameTestGenerator; | ||
import net.minecraft.gametest.framework.TestFunction; | ||
import net.neoforged.neoforge.gametest.GameTestHolder; | ||
import org.cyclops.colossalchests.Reference; | ||
import org.cyclops.cyclopscore.gametest.GameTestLoaderHelpers; | ||
|
||
import java.util.Collection; | ||
|
||
/** | ||
* @author rubensworks | ||
*/ | ||
@GameTestHolder(Reference.MOD_ID) | ||
public class GameTestsLoaderNeoForge extends GameTestsCommon { | ||
@GameTestGenerator | ||
public Collection<TestFunction> generateCommonTests() throws InstantiationException, IllegalAccessException { | ||
return GameTestLoaderHelpers.generateCommonTests(Reference.MOD_ID, new Class[]{ | ||
GameTestsCommon.class | ||
}); | ||
} | ||
} |