• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CyclopsMC / IntegratedDynamics / 20210191346

14 Dec 2025 03:32PM UTC coverage: 19.514% (-33.5%) from 53.061%
20210191346

push

github

rubensworks
Remove deprecations

663 of 8728 branches covered (7.6%)

Branch coverage included in aggregate %.

6786 of 29445 relevant lines covered (23.05%)

1.09 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/org/cyclops/integrateddynamics/gametest/GameTestsDryingBasin.java
1
package org.cyclops.integrateddynamics.gametest;
2

3
import net.minecraft.core.BlockPos;
4
import net.minecraft.gametest.framework.GameTestHelper;
5
import net.minecraft.network.chat.Component;
6
import net.neoforged.neoforge.fluids.FluidStack;
7
import org.cyclops.cyclopscore.gametest.GameTest;
8
import org.cyclops.integrateddynamics.RegistryEntries;
9
import org.cyclops.integrateddynamics.blockentity.BlockEntityDryingBasin;
10

11
public class GameTestsDryingBasin {
×
12

13
    public static final String TEMPLATE_EMPTY = "integrateddynamics:empty10";
14
    public static final BlockPos POS = BlockPos.ZERO.offset(2, 1, 2);
×
15

16
    @GameTest(template = TEMPLATE_EMPTY, timeoutTicks = 200)
17
    public void testDryingBasin(GameTestHelper helper) {
18
        // Place machine
19
        helper.setBlock(POS, RegistryEntries.BLOCK_DRYING_BASIN.value());
×
20
        BlockEntityDryingBasin machine = helper.getBlockEntity(POS, BlockEntityDryingBasin.class);
×
21

22
        // Set input
23
        machine.getTank().setFluid(new FluidStack(RegistryEntries.FLUID_MENRIL_RESIN.get(), 1_000));
×
24

25
        helper.succeedWhen(() -> {
×
26
            helper.assertValueEqual(machine.getInventory().getItem(0).getItem(), RegistryEntries.BLOCK_CRYSTALIZED_MENRIL_BLOCK.get().asItem(), Component.literal("Machine did not produce item output"));
×
27
            helper.assertTrue(machine.getTank().getFluid().isEmpty(), Component.literal("Machine did not consume fluid input"));
×
28
        });
×
29
    }
×
30

31
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc