Class PartAspectEvent<P extends IPartType<P,S>,S extends IPartState<P>,A extends IAspect>

java.lang.Object
net.minecraftforge.eventbus.api.Event
org.cyclops.integrateddynamics.core.part.event.PartEvent<P,S>
org.cyclops.integrateddynamics.core.part.event.PartAspectEvent<P,S,A>
Direct Known Subclasses:
PartReaderAspectEvent, PartWriterAspectEvent

public class PartAspectEvent<P extends IPartType<P,S>,S extends IPartState<P>,A extends IAspect> extends PartEvent<P,S>
An aspect part event that is posted in the Forge event bus.
  • 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

    Constructors
    Constructor
    Description
    PartAspectEvent(INetwork network, IPartNetwork partNetwork, PartTarget target, P partType, S partState, net.minecraft.world.entity.player.Player entityPlayer, A aspect)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    net.minecraft.world.entity.player.Player
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PartAspectEvent

      public PartAspectEvent(INetwork network, IPartNetwork partNetwork, PartTarget target, P partType, S partState, @Nullable net.minecraft.world.entity.player.Player entityPlayer, A aspect)
  • Method Details

    • getEntityPlayer

      @Nullable public net.minecraft.world.entity.player.Player getEntityPlayer()
    • getAspect

      public A getAspect()