• 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

60.0
/src/main/java/org/cyclops/integrateddynamics/block/BlockEnergyBattery.java
1
package org.cyclops.integrateddynamics.block;
2

3
import com.mojang.serialization.MapCodec;
4
import net.minecraft.world.level.block.BaseEntityBlock;
5
import net.minecraft.world.level.block.Block;
6

7
/**
8
 * A block that can hold defined variables so that they can be referred to elsewhere in the network.
9
 *
10
 * @author rubensworks
11
 */
12
public class BlockEnergyBattery extends BlockEnergyBatteryBase {
13

14
    public static final MapCodec<BlockEnergyBattery> CODEC = simpleCodec(BlockEnergyBattery::new);
4✔
15

16
    public BlockEnergyBattery(Block.Properties properties) {
17
        super(properties);
3✔
18
    }
1✔
19

20
    @Override
21
    protected MapCodec<? extends BaseEntityBlock> codec() {
22
        return CODEC;
×
23
    }
24

25
    public boolean isCreative() {
26
        return false;
×
27
    }
28

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