Class RecipeViewerEntryType
java.lang.Object
dev.latvian.mods.kubejs.recipe.viewer.RecipeViewerEntryType
Note: predicateType has to be able to be cast to
Predicate of entryType-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Lazy<List<RecipeViewerEntryType>> final RecipeViewerEntryType.Component<?> static Lazy<Map<String, RecipeViewerEntryType>> final RecipeViewerEntryType.Component<?> static final RecipeViewerEntryTypefinal Stringstatic final RecipeViewerEntryTypefinal RecipeViewerEntryType.Component<?> -
Constructor Summary
ConstructorsConstructorDescriptionRecipeViewerEntryType(String id, RecipeViewerEntryType.Component<?> entryType, RecipeViewerEntryType.Component<?> predicateType, @Nullable RecipeViewerEntryType.Component<?> baseClass) -
Method Summary
Modifier and TypeMethodDescriptionstatic RecipeViewerEntryTypefromString(@Nullable Object id) wrapPredicate(dev.latvian.mods.rhino.Context cx, Object from)
-
Field Details
-
ITEM
-
FLUID
-
CUSTOM_TYPES
-
ALL_TYPES
-
id
-
entryType
-
predicateType
-
baseClass
-
-
Constructor Details
-
RecipeViewerEntryType
public RecipeViewerEntryType(String id, RecipeViewerEntryType.Component<?> entryType, RecipeViewerEntryType.Component<?> predicateType, @Nullable @Nullable RecipeViewerEntryType.Component<?> baseClass)
-
-
Method Details
-
fromString
-
wrapEntry
-
wrapPredicate
-
getBase
-