Package dan200.computercraft.api.lua
Interface ILuaAPIFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Construct an
ILuaAPI for a computer.-
Method Summary
Modifier and TypeMethodDescription@Nullable ILuaAPIcreate(IComputerSystem computer) Create a new API instance for a given computer.
-
Method Details
-
create
Create a new API instance for a given computer.- Parameters:
computer- The computer this API is for.- Returns:
- The created API, or
nullif one should not be injected.
-