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

3
import net.minecraft.world.level.block.entity.BlockEntity;
4
import org.cyclops.cyclopscore.datastructure.DimPos;
5
import org.cyclops.integrateddynamics.api.block.cable.ICable;
6
import org.cyclops.integrateddynamics.api.path.IPathElement;
7

8
/**
9
 * Implementation of {@link IPathElement} for a tile entity.
10
 * @author rubensworks
11
 */
12
public class PathElementTile<T extends BlockEntity> extends PathElementCable {
13

14
    private final T tile;
15
    private final ICable cable;
16
    private final DimPos position;
17

18
    public PathElementTile(T tile, ICable cable) {
×
19
        this.tile = tile;
×
20
        this.cable = cable;
×
21
        this.position = DimPos.of(tile.getLevel(), tile.getBlockPos());
×
22
    }
×
23

24
    protected T getTile() {
25
        return tile;
×
26
    }
27

28
    @Override
29
    protected ICable getCable() {
30
        return cable;
×
31
    }
32

33
    @Override
34
    public DimPos getPosition() {
35
        return position;
×
36
    }
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