BlockCapability
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Extends
BlockCapability<C, T> extends BaseCapability<C, T>
.
Members
getCapability(level as Level, pos as BlockPos, state as BlockState, blockEntity as BlockEntity, context as U) as T?
Parameters:
Return Type:
T?
Getter
Return Type:
ResourceLocation