mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-19 19:59:40 +00:00
15 lines
443 B
Scala
15 lines
443 B
Scala
package codechicken.multipart
|
|
|
|
/**
|
|
* Interface for parts that fill a slot based configuration as defined in PartMap.
|
|
* If this is implemented, calling partMap(slot) on the host tile will return this part if the corresponding bit in the slotMask is set
|
|
*
|
|
* Marker interface for TSlottedTile
|
|
*/
|
|
trait TSlottedPart extends TMultiPart
|
|
{
|
|
/**
|
|
* a bitmask of slots that this part fills. slot x is 1<<x
|
|
*/
|
|
def getSlotMask:Int
|
|
} |