Class AttachCapabilitiesEventIngredientComponent<T,M>

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.GenericEvent<T>
net.minecraftforge.event.AttachCapabilitiesEvent<IngredientComponent<T,M>>
org.cyclops.commoncapabilities.api.ingredient.capability.AttachCapabilitiesEventIngredientComponent<T,M>
Type Parameters:
T - The instance type.
M - The matching condition parameter.
All Implemented Interfaces:
net.minecraftforge.eventbus.api.IGenericEvent<IngredientComponent<T,M>>, net.minecraftforge.fml.event.IModBusEvent

public class AttachCapabilitiesEventIngredientComponent<T,M> extends net.minecraftforge.event.AttachCapabilitiesEvent<IngredientComponent<T,M>> implements net.minecraftforge.fml.event.IModBusEvent
Event for when an IngredientComponent is being constructed that is emitted on the mod 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class net.minecraftforge.event.AttachCapabilitiesEvent

    addCapability, addListener, getCapabilities, getListeners, getObject

    Methods inherited from class net.minecraftforge.eventbus.api.GenericEvent

    getGenericType

    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

    • AttachCapabilitiesEventIngredientComponent

      public AttachCapabilitiesEventIngredientComponent(IngredientComponent<T,M> ingredientComponent)
  • Method Details