mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-12 16:37:38 +00:00
20 lines
448 B
Scala
20 lines
448 B
Scala
package codechicken.microblock
|
|
|
|
trait MicroblockClass
|
|
{
|
|
var classID:Int = _
|
|
|
|
def itemSlot = 3
|
|
|
|
def getName:String
|
|
|
|
def create(client:Boolean):CommonMicroblock
|
|
|
|
def create(size:Int, slot:Int, material:Int, client:Boolean):CommonMicroblock
|
|
|
|
def placementProperties:PlacementProperties
|
|
|
|
def register(id:Int) = MicroblockClassRegistry.registerMicroClass(this, id)
|
|
|
|
def getResistanceFactor:Float
|
|
} |