Class CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<B>
net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B>
- All Implemented Interfaces:
ICapabilityProvider
,ICapabilityProviderImpl<B>
- Enclosing class:
- CapabilityProvider<B extends ICapabilityProviderImpl<B>>
public static class CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
extends CapabilityProvider<B>
Special implementation for cases which have a superclass and can't extend CapabilityProvider directly.
See
LevelChunk
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
-
Field Summary
Fields inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
SUPPORTS_LAZY_CAPABILITIES
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability
-
Field Details
-
owner
-
-
Constructor Details
-
AsField
-
AsField
-
-
Method Details
-
initInternal
public void initInternal() -
serializeInternal
-
deserializeInternal
-
getProvider
- Overrides:
getProvider
in classCapabilityProvider<B extends ICapabilityProviderImpl<B>>
-