Package | Description |
---|---|
buildcraft.api.core |
Copyright (c) 2011-2015, SpaceToad and the BuildCraft Team http://www.mod-buildcraft.com
The BuildCraft API is distributed under the terms of the MIT License.
|
Modifier and Type | Class and Description |
---|---|
static class |
CapabilitiesHelper.ThrowingStorage<T>
A type of
CapabilitiesHelper.CheckedStorage that throws an UnsupportedOperationException from both the read and
write methods. |
Modifier and Type | Method and Description |
---|---|
static <T> net.minecraftforge.common.capabilities.Capability<T> |
CapabilitiesHelper.registerCapability(CapabilitiesHelper.CheckedStorage<T> storage,
java.util.concurrent.Callable<T> factory)
Registers a given type with the
CapabilityManager , but also returns the capability instance. |