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