Package codechicken.microblock.api
Interface SlottedHollowConnect
public interface SlottedHollowConnect
Implement on center attached parts that can connect through Hollow covers to adjust the hole size of the cover.
-
Method Summary
Modifier and TypeMethodDescription@org.jetbrains.annotations.Range(from=1L, to=11L) intgetHoleSize(int side)
-
Method Details
-
getHoleSize
@org.jetbrains.annotations.Range(from=1L, to=11L) int getHoleSize(int side) - Parameters:
side- The side of the block on which the cover resides.- Returns:
- The size (width and height) of the connection in pixels. Must be less than 12 and more than 0.
-