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

3
import com.mojang.serialization.Codec;
4
import com.mojang.serialization.codecs.RecordCodecBuilder;
5
import net.minecraft.core.BlockPos;
6
import net.minecraft.core.Direction;
7

8
import java.util.Optional;
9

10
/**
11
 * @author rubensworks
12
 */
13
public record SidedPathElementParams(String dimension, BlockPos pos, Optional<Direction> side) {
×
14
    public static final Codec<SidedPathElementParams> CODEC = RecordCodecBuilder.create(
×
15
            builder -> builder.group(
×
16
                            Codec.STRING.fieldOf("dimension").forGetter(e -> e.dimension),
×
17
                            BlockPos.CODEC.fieldOf("pos").forGetter(e -> e.pos),
×
18
                            Direction.CODEC.optionalFieldOf("side").forGetter(e -> e.side)
×
19
                    )
20
                    .apply(builder, SidedPathElementParams::new)
×
21
    );
22
}
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