Created
July 6, 2015 23:35
-
-
Save ElvishJerricco/6c68c5a67723c1739dcf to your computer and use it in GitHub Desktop.
IPartFactory2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait IPartFactory2 | |
{ | |
/** | |
* Create a new server instance of the part with the specified type name identifier | |
* @param nbt The tag compound that will be passed to part.load, can be used to change the class of part returned | |
*/ | |
def createPart(name: String, nbt: NBTTagCompound): TMultiPart | |
/** | |
* Create a new client instance of the part with the specified type name identifier | |
* @param packet The packet that will be passed to part.readDesc, can be used to change the class of part returned | |
*/ | |
def createPart(name: String, packet: MCDataInput): TMultiPart | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment