Package com.simibubi.create.foundation
Interface ICapabilityProvider<T>
- All Known Implementing Classes:
ICapabilityProvider.BlockCapabilityCacheProvider,ICapabilityProvider.SimpleProvider,ICapabilityProvider.SupplierProvider
public interface ICapabilityProvider<T>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ICapabilityProvider<T> static <T,C> ICapabilityProvider <T> of(net.neoforged.neoforge.capabilities.BlockCapabilityCache<T, C> cache) static <T> ICapabilityProvider<T> of(T cap)
-
Method Details
-
getCapability
-
of
static <T,C> ICapabilityProvider<T> of(net.neoforged.neoforge.capabilities.BlockCapabilityCache<T, C> cache) -
of
-
of
-