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.
  • 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

      @Nullable public IValue getValue()
    • getVariable

      @Nullable public IVariable getVariable()