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

3
import net.minecraft.world.entity.player.Player;
4
import org.cyclops.integrateddynamics.api.evaluate.variable.IValue;
5
import org.cyclops.integrateddynamics.api.evaluate.variable.IVariable;
6
import org.cyclops.integrateddynamics.api.network.INetwork;
7
import org.cyclops.integrateddynamics.api.network.IPartNetwork;
8
import org.cyclops.integrateddynamics.api.part.IPartState;
9
import org.cyclops.integrateddynamics.api.part.IPartType;
10
import org.cyclops.integrateddynamics.api.part.PartTarget;
11

12
import javax.annotation.Nullable;
13

14
/**
15
 * An event that is posted in the Forge event bus when the variable contents in a variable-driven part is updated.
16
 * @author rubensworks
17
 */
18
public class PartVariableDrivenVariableContentsUpdatedEvent<P extends IPartType<P, S>, S extends IPartState<P>> extends PartEvent<P, S> {
19

20
    @Nullable
21
    private final Player entityPlayer;
22
    @Nullable
23
    private final IVariable variable;
24
    @Nullable
25
    private final IValue value;
26

27
    public PartVariableDrivenVariableContentsUpdatedEvent(INetwork network, IPartNetwork partNetwork, PartTarget target, P partType, S partState,
28
                                                          @Nullable Player entityPlayer, IVariable variable, IValue value) {
29
        super(network, partNetwork, target, partType, partState);
×
30
        this.entityPlayer = entityPlayer;
×
31
        this.variable = variable;
×
32
        this.value = value;
×
33
    }
×
34

35
    @Nullable
36
    public Player getEntityPlayer() {
37
        return entityPlayer;
×
38
    }
39

40
    @Nullable
41
    public IValue getValue() {
42
        return value;
×
43
    }
44

45
    @Nullable
46
    public IVariable getVariable() {
47
        return variable;
×
48
    }
49
}
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