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

java.lang.Object
net.neoforged.bus.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.
  • 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()