Interface IBlockCapabilityConstructor<O,C,T,CK>

Type Parameters:
O - The host type that will contain the capability.
C - The capability context type
T - The capability type
CK - The capability key type, such as BlockEntityType.
All Superinterfaces:
ICapabilityTypeGetter<T,C>

public interface IBlockCapabilityConstructor<O,C,T,CK> extends ICapabilityTypeGetter<T,C>
Constructor for capabilities.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.neoforged.neoforge.capabilities.IBlockCapabilityProvider<T,C>
    createProvider(CK capabilityKey)
     

    Methods inherited from interface org.cyclops.cyclopscore.modcompat.capabilities.ICapabilityTypeGetter

    getCapability
  • Method Details

    • createProvider

      @Nullable net.neoforged.neoforge.capabilities.IBlockCapabilityProvider<T,C> createProvider(CK capabilityKey)