Class UnknownPartEvent
java.lang.Object
org.cyclops.integrateddynamics.core.network.event.NetworkEvent
org.cyclops.integrateddynamics.core.network.event.UnknownPartEvent
- All Implemented Interfaces:
INetworkEvent
An event thrown when a network is loaded with invalid parts.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setPartType
(IPartType partType) Set the part type to load instead.Methods inherited from class org.cyclops.integrateddynamics.core.network.event.NetworkEvent
getNetwork
-
Constructor Details
-
UnknownPartEvent
-
-
Method Details
-
getPartType
- Returns:
- The part type.
-
setPartType
Set the part type to load instead.- Parameters:
partType
- The part type to load.
-
getPartTypeName
- Returns:
- The part name that is being loaded but no corresponding part is found in the registry.
-