mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-19 03:49:05 +00:00
Added IMaskedRedstoneConnect for redstone parts with special connection modes Added null check to TMultiPart.world(). Fixed hollow microblocks not rendering hollow on placement Fixed a problem with packet send order on part remove.
13 lines
355 B
Scala
13 lines
355 B
Scala
package codechicken.microblock
|
|
|
|
/**
|
|
* Implement this on center parts that connect through hollow covers to have the covers render their hollows to fit the connection size
|
|
*/
|
|
trait IHollowConnect
|
|
{
|
|
/**
|
|
* @return The size (width and height) of the connection in pixels. Must be be less than 12 and more than 0
|
|
*/
|
|
def getHollowSize:Int
|
|
}
|