Class PartVariableDrivenVariableContentsUpdatedEvent<P extends IPartType<P,S>,S extends IPartState<P>>
java.lang.Object
net.minecraftforge.eventbus.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.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
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
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
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
-