Skip to content

Commit

Permalink
Test renewableEndstone
Browse files Browse the repository at this point in the history
  • Loading branch information
altrisi committed Jun 27, 2024
1 parent 53dc45d commit 3debfb9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/gametest/java/carpetextra/test/DispenserWithBlock.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public void before(ServerWorld world) {
CarpetExtraSettings.dispensersUseCauldrons = true;
CarpetExtraSettings.dispensersPlaceBoatsOnIce = true;
CarpetExtraSettings.blazeMeal = true;
CarpetExtraSettings.renewableEndstone = true;
}

@AfterBatch(batchId = BATCH)
Expand All @@ -58,6 +59,12 @@ public void after(ServerWorld world) {
CarpetExtraSettings.dispensersUseCauldrons = false;
CarpetExtraSettings.dispensersPlaceBoatsOnIce = false;
CarpetExtraSettings.blazeMeal = false;
CarpetExtraSettings.renewableEndstone = false;
}

@GameTest(templateName = STRUCTURE, batchId = BATCH)
public void renewableEndstone(TestContext ctx) {
blockConversionTest(ctx, Items.DRAGON_BREATH, Blocks.COBBLESTONE, Blocks.END_STONE, 1, true);
}

@GameTest(templateName = STRUCTURE, batchId = BATCH)
Expand Down

0 comments on commit 3debfb9

Please sign in to comment.