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
ConstructorDescriptionPartAspectEvent
(INetwork network, IPartNetwork partNetwork, PartTarget target, P partType, S partState, net.minecraft.world.entity.player.Player entityPlayer, A aspect) -
Method Summary
Modifier and TypeMethodDescriptionnet.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
-
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
-