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

CyclopsMC / IntegratedDynamics / 16552051255

27 Jul 2025 01:58PM UTC coverage: 53.206% (+8.0%) from 45.161%
16552051255

push

github

rubensworks
Resolve minor TODOs

2888 of 8740 branches covered (33.04%)

Branch coverage included in aggregate %.

17341 of 29280 relevant lines covered (59.22%)

3.08 hits per line

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

0.0
/src/main/java/org/cyclops/integrateddynamics/infobook/pageelement/DryingBasinRecipeAppendix.java
1
package org.cyclops.integrateddynamics.infobook.pageelement;
2

3
import net.minecraft.world.item.ItemStack;
4
import net.minecraft.world.item.crafting.display.RecipeDisplayEntry;
5
import org.cyclops.cyclopscore.helper.IModHelpers;
6
import org.cyclops.cyclopscore.infobook.AdvancedButtonEnum;
7
import org.cyclops.cyclopscore.infobook.IInfoBook;
8
import org.cyclops.cyclopscore.infobook.InfoBookParser;
9
import org.cyclops.cyclopscore.infobook.InfoSection;
10
import org.cyclops.cyclopscore.infobook.pageelement.RecipeAppendix;
11
import org.cyclops.integrateddynamics.RegistryEntries;
12

13
import java.util.function.Supplier;
14

15
/**
16
 * Drying basin recipes.
17
 * @author rubensworks
18
 */
19
public class DryingBasinRecipeAppendix extends RecipeAppendix<DryingBasinRecipeAppendixClient> {
20

21
    public static final int SLOT_INPUT_OFFSET_X = 16;
22
    public static final int SLOT_OFFSET_Y = 23;
23
    public static final int SLOT_OUTPUT_OFFSET_X = 68;
24

25
    public static final AdvancedButtonEnum INPUT_ITEM = AdvancedButtonEnum.create();
×
26
    public static final AdvancedButtonEnum INPUT_FLUID = AdvancedButtonEnum.create();
×
27
    public static final AdvancedButtonEnum RESULT_ITEM = AdvancedButtonEnum.create();
×
28
    public static final AdvancedButtonEnum RESULT_FLUID = AdvancedButtonEnum.create();
×
29

30
    public DryingBasinRecipeAppendix(IInfoBook infoBook, Supplier<RecipeDisplayEntry> recipeDisplaySupplier) throws InfoBookParser.InvalidAppendixException {
31
        super(infoBook, recipeDisplaySupplier);
×
32
    }
×
33

34
    @Override
35
    protected int getWidth() {
36
        return SLOT_OUTPUT_OFFSET_X + 32;
×
37
    }
38

39
    @Override
40
    public DryingBasinRecipeAppendixClient constructSectionAppendixClient() throws InfoBookParser.InvalidAppendixException {
41
        return new DryingBasinRecipeAppendixClient(this);
×
42
    }
43

44
    @Override
45
    protected int getHeightInner() {
46
        return 42;
×
47
    }
48

49
    @Override
50
    protected String getUnlocalizedTitle() {
51
        return "block.integrateddynamics.drying_basin";
×
52
    }
53

54
    @Override
55
    public void bakeElement(InfoSection infoSection) {
56
        if (IModHelpers.get().getMinecraftHelpers().isClientSide()) {
×
57
            getSectionAppendixClient().bakeElement(infoSection);
×
58
        }
59
        super.bakeElement(infoSection);
×
60
    }
×
61

62
    protected ItemStack getCrafter() {
63
        return new ItemStack(RegistryEntries.BLOCK_DRYING_BASIN.get());
×
64
    }
65

66
}
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