Orechid
Allows editing lists of results from the Orechid and Orechid Ignem.
Note that outputs added through this list will not be affected by the priority config option.
To dump the full list of loaded results, run the /ct dump orechidOutputs
command.
This class was added by a mod with mod-id botania
. So you need to have this mod installed if you want to use this feature.
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.
Static Properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name main | Type Orechid | Has Getter true | Has Setter false | Description The manager for the standard Orechid. |
Name nether | Type Orechid | Has Getter true | Has Setter false | Description The manager for the nether variant, Orechid Ignem. |
Methods
Completely clears the ore list.
Return Type: void
Adds the specified ingredient with the specified weight at the end of the ore list.
As the output is a state ingredient, you can use blocks, blockstates and tags as the output.
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter output | Type StateIngredient | Description The block result |
Parameter weight | Type int | Description The weight of the result |
Removes all outputs that contain the specified state.
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter state | Type MCBlockState | Description State to remove |