• 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/capability/cable/CableTileMultipartTicking.java
1
package org.cyclops.integrateddynamics.capability.cable;
2

3
import net.minecraft.core.Direction;
4
import org.cyclops.cyclopscore.datastructure.EnumFacingMap;
5
import org.cyclops.integrateddynamics.api.block.cable.ICable;
6
import org.cyclops.integrateddynamics.core.blockentity.BlockEntityMultipartTicking;
7

8
/**
9
 * Default implementation of {@link ICable}.
10
 * @author rubensworks
11
 */
12
public class CableTileMultipartTicking extends CableTile<BlockEntityMultipartTicking> {
13

14
    public CableTileMultipartTicking(BlockEntityMultipartTicking tile) {
15
        super(tile);
×
16
    }
×
17

18
    @Override
19
    protected boolean isForceDisconnectable() {
20
        return true;
×
21
    }
22

23
    @Override
24
    protected EnumFacingMap<Boolean> getForceDisconnected() {
25
        return tile.getForceDisconnected();
×
26
    }
27

28
    @Override
29
    protected EnumFacingMap<Boolean> getConnected() {
30
        return tile.getConnected();
×
31
    }
32

33
    @Override
34
    public boolean isForceDisconnected(Direction side) {
35
        if(!tile.getCableFakeable().isRealCable() || tile.getPartContainer().hasPart(side)) return true;
×
36
        return super.isForceDisconnected(side);
×
37
    }
38
}
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