Interface ApiLookupMap.LookupConstructor<L>
- Enclosing interface:
ApiLookupMap<L>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionget(Identifier identifier, Class<?> apiClass, Class<?> contextClass) Create a new API lookup implementation.
-
Method Details
-
get
Create a new API lookup implementation.- Parameters:
identifier- The identifier of this lookup.apiClass- The API class passed toApiLookupMap.getLookup(net.minecraft.util.Identifier, java.lang.Class<?>, java.lang.Class<?>).contextClass- The context class passed toApiLookupMap.getLookup(net.minecraft.util.Identifier, java.lang.Class<?>, java.lang.Class<?>).
-