mirror of
https://github.com/FabricMC/fabric.git
synced 2025-05-14 15:20:50 -04:00
25w03a game tests (#4385)
* 25w03a game tests * Cleanup and improvements * Update fabric-gametest-api-v1/src/main/java/net/fabricmc/fabric/impl/gametest/TestAnnotationLocator.java Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk> * Use an 8x8 empty structure by default * Use a dedicated RegistryLoaderMixin instead of hacking around registry sync's api * Fix * Checkstyle --------- Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
This commit is contained in:
parent
bcdf965b28
commit
73a52b4b18
45 changed files with 849 additions and 802 deletions
fabric-object-builder-api-v1/src/testmod/java/net/fabricmc/fabric/test/object/builder
|
@ -22,8 +22,10 @@ import net.minecraft.block.Block;
|
|||
import net.minecraft.test.TestContext;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
|
||||
import net.fabricmc.fabric.api.gametest.v1.GameTest;
|
||||
|
||||
public class ObjectBuilderGameTest {
|
||||
// @GameTest(templateName = FabricGameTest.EMPTY_STRUCTURE) TODO 1.21.5 tests
|
||||
@GameTest
|
||||
public void testBlockUse(TestContext context) {
|
||||
List<Block> blocks = List.of(BlockEntityTypeBuilderTest.INITIAL_BETRAYAL_BLOCK, BlockEntityTypeBuilderTest.ADDED_BETRAYAL_BLOCK, BlockEntityTypeBuilderTest.FIRST_MULTI_BETRAYAL_BLOCK, BlockEntityTypeBuilderTest.SECOND_MULTI_BETRAYAL_BLOCK);
|
||||
BlockPos.Mutable pos = BlockPos.ORIGIN.up().mutableCopy();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue