Class PartVariableDrivenVariableContentsUpdatedEvent<P extends IPartType<P,S>,S extends IPartState<P>>
java.lang.Object
net.neoforged.bus.api.Event
org.cyclops.integrateddynamics.core.part.event.PartEvent<P,S>
org.cyclops.integrateddynamics.core.part.event.PartVariableDrivenVariableContentsUpdatedEvent<P,S>
public class PartVariableDrivenVariableContentsUpdatedEvent<P extends IPartType<P,S>,S extends IPartState<P>>
extends PartEvent<P,S>
An event that is posted in the Forge event bus when the variable contents in a variable-driven part is updated.
-
Constructor Summary
ConstructorDescriptionPartVariableDrivenVariableContentsUpdatedEvent
(INetwork network, IPartNetwork partNetwork, PartTarget target, P partType, S partState, net.minecraft.world.entity.player.Player entityPlayer, IVariable variable, IValue value) -
Method Summary
Methods inherited from class org.cyclops.integrateddynamics.core.part.event.PartEvent
getNetwork, getPartNetwork, getPartState, getPartType, getTarget
-
Constructor Details
-
PartVariableDrivenVariableContentsUpdatedEvent
public PartVariableDrivenVariableContentsUpdatedEvent(INetwork network, IPartNetwork partNetwork, PartTarget target, P partType, S partState, @Nullable net.minecraft.world.entity.player.Player entityPlayer, IVariable variable, IValue value)
-
-
Method Details
-
getEntityPlayer
@Nullable public net.minecraft.world.entity.player.Player getEntityPlayer() -
getValue
-
getVariable
-