• 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

88.89
/src/main/java/org/cyclops/integrateddynamics/block/BlockMenrilTorchStoneWallConfig.java
1
package org.cyclops.integrateddynamics.block;
2

3
import net.minecraft.core.BlockPos;
4
import net.minecraft.core.particles.ParticleTypes;
5
import net.minecraft.util.RandomSource;
6
import net.minecraft.world.item.ItemStack;
7
import net.minecraft.world.level.Level;
8
import net.minecraft.world.level.block.SoundType;
9
import net.minecraft.world.level.block.WallTorchBlock;
10
import net.minecraft.world.level.block.state.BlockState;
11
import org.cyclops.cyclopscore.config.extendedconfig.BlockConfigCommon;
12
import org.cyclops.integrateddynamics.IntegratedDynamics;
13

14
import java.util.Collection;
15
import java.util.Collections;
16

17
/**
18
 * Config for the Menril Torch (wall).
19
 * @author rubensworks
20
 *
21
 */
22
public class BlockMenrilTorchWallConfig extends BlockConfigCommon<IntegratedDynamics> {
23

24
    public BlockMenrilTorchWallConfig() {
25
        super(
6✔
26
                IntegratedDynamics._instance,
27
                "menril_torch_wall",
28
                (eConfig, properties) -> {
29
                    return new WallTorchBlock(ParticleTypes.FLAME, properties
5✔
30
                            .noCollission()
2✔
31
                            .strength(0)
2✔
32
                            .lightLevel((blockState) -> 14)
4✔
33
                            .sound(SoundType.WOOD)) {
7✔
34
                        @Override
35
                        public void animateTick(BlockState stateIn, Level worldIn, BlockPos pos, RandomSource rand) {
36
                            // No particles
37
                        }
×
38
                    };
39
                },
40
                null
41
        );
42
    }
1✔
43

44
    @Override
45
    public Collection<ItemStack> getDefaultCreativeTabEntries() {
46
        return Collections.emptyList();
2✔
47
    }
48
}
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