Class PartWriterAspectEvent<P extends IPartTypeWriter<P,S>,S extends IPartStateWriter<P>,A extends IAspectWrite>
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>
org.cyclops.integrateddynamics.core.part.event.PartWriterAspectEvent<P,S,A>
public class PartWriterAspectEvent<P extends IPartTypeWriter<P,S>,S extends IPartStateWriter<P>,A extends IAspectWrite>
extends PartAspectEvent<P,S,A>
An event that is posted in the Forge event bus when a write aspect is enabled by a player.
-
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
ConstructorDescriptionPartWriterAspectEvent
(INetwork network, IPartNetwork partNetwork, PartTarget target, P partType, S partState, net.minecraft.world.entity.player.Player entityPlayer, A aspect, net.minecraft.world.item.ItemStack itemStack) -
Method Summary
Methods inherited from class org.cyclops.integrateddynamics.core.part.event.PartAspectEvent
getAspect, getEntityPlayer
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
-
PartWriterAspectEvent
public PartWriterAspectEvent(INetwork network, IPartNetwork partNetwork, PartTarget target, P partType, S partState, @Nullable net.minecraft.world.entity.player.Player entityPlayer, A aspect, net.minecraft.world.item.ItemStack itemStack)
-
-
Method Details
-
getItemStack
public net.minecraft.world.item.ItemStack getItemStack()
-