SuspiciousStewEffects

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.api.item.component.SuspiciousStewEffects;

Members

Getter
script.zs
// SuspiciousStewEffects.effects as List<SuspiciousStewEffectsEntry>
mySuspiciousStewEffects.effects

Return Type: List<SuspiciousStewEffectsEntry>

static of(entries as List<Entry>) as SuspiciousStewEffects
script.zs
// SuspiciousStewEffects.of(entries as List<SuspiciousStewEffectsEntry>) as SuspiciousStewEffects;
SuspiciousStewEffects.of(myList);

Parameters:

Return Type: SuspiciousStewEffects

withEffectAdded(entry as Entry) as SuspiciousStewEffects
script.zs
// SuspiciousStewEffects.withEffectAdded(entry as SuspiciousStewEffectsEntry) as SuspiciousStewEffects;
mySuspiciousStewEffects.withEffectAdded(myEntry);

Return Type: SuspiciousStewEffects