GlowstoneCentrifuge
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
import lightestlamp.GlowstoneCentrifuge;Implemented Interfaces
GlowstoneCentrifuge implements the following interfaces. That means all methods defined in these interfaces are also available in GlowstoneCentrifuge
Methods
Return Type: void
GlowstoneCentrifuge.addCentrifugable(processTime as int, input as IIngredient) as void| Parameter | Type | Description |
|---|---|---|
Parameter processTime | Type int | Description No Description Provided |
Parameter input | Type IIngredient | Description No Description Provided |
Return Type: void
GlowstoneCentrifuge.addJsonRecipe(name as string, mapData as MapData) as void| Parameter | Type | Description |
|---|---|---|
Parameter name | Type string | Description No Description Provided |
Parameter mapData | Type MapData | Description No Description Provided |
Return Type: stdlib.List<T>
// GlowstoneCentrifuge.getAllRecipes() as stdlib.List<T>
myGlowstoneCentrifuge.getAllRecipes();Return Type: T
GlowstoneCentrifuge.getRecipeByName(name as string) as T| Parameter | Type | Description |
|---|---|---|
Parameter name | Type string | Description No Description Provided |
Return Type: T[ResourceLocation]
// GlowstoneCentrifuge.getRecipeMap() as T[ResourceLocation]
myGlowstoneCentrifuge.getRecipeMap();Return Type: stdlib.List<T>
GlowstoneCentrifuge.getRecipesByOutput(output as IIngredient) as stdlib.List<T>| Parameter | Type | Description |
|---|---|---|
Parameter output | Type IIngredient | Description No Description Provided |
Return Type: void
GlowstoneCentrifuge.remove(output as IIngredient) as void| Parameter | Type | Description |
|---|---|---|
Parameter output | Type IIngredient | Description No Description Provided |
Return Type: void
// GlowstoneCentrifuge.removeAll() as void
myGlowstoneCentrifuge.removeAll();Return Type: void
GlowstoneCentrifuge.removeByInput(input as IItemStack) as void| Parameter | Type | Description |
|---|---|---|
Parameter input | Type IItemStack | Description No Description Provided |
Return Type: void
GlowstoneCentrifuge.removeByModid(modid as string, exclude as Predicate<string>) as void| Parameter | Type | Description | Optional | DefaultValue |
|---|---|---|---|---|
Parameter modid | Type string | Description No Description Provided | Optional false | DefaultValue |
Parameter exclude | Type Predicate<string> | Description No Description Provided | Optional true | DefaultValue (name as string) as bool => false |
Return Type: void
GlowstoneCentrifuge.removeByName(names as string[]) as void| Parameter | Type | Description |
|---|---|---|
Parameter names | Type string[] | Description No Description Provided |
Return Type: void
GlowstoneCentrifuge.removeByRegex(regex as string, exclude as Predicate<string>) as void| Parameter | Type | Description | Optional | DefaultValue |
|---|---|---|---|---|
Parameter regex | Type string | Description No Description Provided | Optional false | DefaultValue |
Parameter exclude | Type Predicate<string> | Description No Description Provided | Optional true | DefaultValue (name as string) as bool => false |
Properties
| Name | Type | Has Getter | Has Setter | Description |
|---|---|---|---|---|
Name allRecipes | Type stdlib.List<T> | Has Getter true | Has Setter false | Description No Description Provided |
Name recipeMap | Type T[ResourceLocation] | Has Getter true | Has Setter false | Description No Description Provided |