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

3
import net.minecraft.core.BlockPos;
4
import net.minecraft.world.entity.LivingEntity;
5
import net.minecraft.world.level.Level;
6
import net.neoforged.bus.api.Event;
7
import org.cyclops.integrateddynamics.api.network.INetwork;
8

9
import javax.annotation.Nullable;
10

11
/**
12
 * An event that is posted in the Forge event bus.
13
 * @author rubensworks
14
 */
15
public class NetworkInitializedEvent extends Event {
16

17
    private final INetwork network;
18
    private final Level world;
19
    private final BlockPos pos;
20
    private final LivingEntity placer;
21

22
    public NetworkInitializedEvent(INetwork network, Level world, BlockPos pos, @Nullable LivingEntity placer) {
×
23
        this.network = network;
×
24
        this.world = world;
×
25
        this.pos = pos;
×
26
        this.placer = placer;
×
27
    }
×
28

29
    public INetwork getNetwork() {
30
        return network;
×
31
    }
32

33
    public Level getLevel() {
34
        return world;
×
35
    }
36

37
    public BlockPos getPos() {
38
        return pos;
×
39
    }
40

41
    @Nullable
42
    public LivingEntity getPlacer() {
43
        return placer;
×
44
    }
45
}
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