Files
ForgeMultipart/src/main/scala/codechicken/multipart/TFacePart.scala
T

18 lines
535 B
Scala

package codechicken.multipart
/** Inteface which must be implemented by parts that go in a face part.
*/
trait TFacePart extends TSlottedPart {
/** Passed down from Block.isSideSolid. Return true if this part is solid and
* opaque on the specified side
*/
def solid(side: Int): Boolean = true
/** Return the redstone conduction map for which signal can pass through this
* part on the face. Eg, hollow covers return 0x10 as signal can pass through
* the center hole.
*/
def redstoneConductionMap = 0
}