mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-26 23:13:07 +00:00
18 lines
535 B
Scala
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
|
|
}
|