Skip to content

Commit

Permalink
Test renewableNetherrack
Browse files Browse the repository at this point in the history
  • Loading branch information
altrisi committed Jun 27, 2024
1 parent 3debfb9 commit 2ea6108
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 @@ -48,6 +48,7 @@ public void before(ServerWorld world) {
CarpetExtraSettings.dispensersPlaceBoatsOnIce = true;
CarpetExtraSettings.blazeMeal = true;
CarpetExtraSettings.renewableEndstone = true;
CarpetExtraSettings.renewableNetherrack = true;
}

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

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

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

0 comments on commit 2ea6108

Please sign in to comment.