• 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/network/MaterializerNetworkElement.java
1
package org.cyclops.integrateddynamics.network;
2

3
import org.cyclops.cyclopscore.datastructure.DimPos;
4
import org.cyclops.integrateddynamics.GeneralConfig;
5
import org.cyclops.integrateddynamics.api.network.IEventListenableNetworkElement;
6
import org.cyclops.integrateddynamics.api.network.INetwork;
7
import org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetwork;
8
import org.cyclops.integrateddynamics.blockentity.BlockEntityMaterializer;
9
import org.cyclops.integrateddynamics.core.network.TileNetworkElement;
10

11
import java.util.Optional;
12

13
/**
14
 * Network element for materializers.
15
 * @author rubensworks
16
 */
17
public class MaterializerNetworkElement extends TileNetworkElement<BlockEntityMaterializer> implements IEventListenableNetworkElement<BlockEntityMaterializer> {
18

19
    public MaterializerNetworkElement(DimPos pos) {
20
        super(pos);
×
21
    }
×
22

23
    @Override
24
    public Optional<BlockEntityMaterializer> getNetworkEventListener() {
25
        return getTile();
×
26
    }
27

28
    @Override
29
    protected Class<BlockEntityMaterializer> getTileClass() {
30
        return BlockEntityMaterializer.class;
×
31
    }
32

33
    @Override
34
    public void setPriorityAndChannel(INetwork network, int priority, int channel) {
35

36
    }
×
37

38
    @Override
39
    public int getPriority() {
40
        return 0;
×
41
    }
42

43
    @Override
44
    public int getChannel() {
45
        return IPositionedAddonsNetwork.DEFAULT_CHANNEL;
×
46
    }
47

48
    @Override
49
    public int getConsumptionRate() {
50
        return GeneralConfig.materializerBaseConsumption;
×
51
    }
52
}
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