T
- The type of this storagepublic abstract static class CapabilitiesHelper.CheckedStorage<T>
extends java.lang.Object
implements net.minecraftforge.common.capabilities.Capability.IStorage<T>
Capability.IStorage
that contains the class that it would store. Used by the internal mechanisms of
CapabilitiesHelper
to ensure that everything registers properly. A default always-throwing implementation
is CapabilitiesHelper.ThrowingStorage
.Constructor and Description |
---|
CheckedStorage(java.lang.Class<T> clazz) |