Class ComputerCraft
java.lang.Object
me.desht.pneumaticcraft.common.thirdparty.computercraft.ComputerCraft
- All Implemented Interfaces:
IThirdParty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidattachPeripheralCap(net.minecraftforge.event.AttachCapabilitiesEvent<net.minecraft.world.level.block.entity.BlockEntity> event) voidinit()Called on both client and server after any registry objects are created, in the mod creation thread.modType()voidpreInit()Called on both client and server in the mod creation thread from the mod constructor.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.desht.pneumaticcraft.common.thirdparty.IThirdParty
clientInit, postInit
-
Constructor Details
-
ComputerCraft
public ComputerCraft()
-
-
Method Details
-
preInit
public void preInit()Description copied from interface:IThirdPartyCalled on both client and server in the mod creation thread from the mod constructor. Shouldn't do anything other than add event handlers here, or set simple availability flags. No guarantee that the third party mod's constructor has run yet.- Specified by:
preInitin interfaceIThirdParty
-
init
public void init()Description copied from interface:IThirdPartyCalled on both client and server after any registry objects are created, in the mod creation thread.- Specified by:
initin interfaceIThirdParty
-
attachPeripheralCap
public static void attachPeripheralCap(net.minecraftforge.event.AttachCapabilitiesEvent<net.minecraft.world.level.block.entity.BlockEntity> event) -
modType
- Specified by:
modTypein interfaceIThirdParty
-