SuspiciousStewForEmerald

Link to suspiciousstewforemerald

Importing the class

Link to 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.

ZenScript
Copy
import crafttweaker.api.villager.trade.type.SuspiciousStewForEmerald;

Implemented Interfaces

Link to implemented-interfaces

SuspiciousStewForEmerald implements the following interfaces. That means all methods defined in these interfaces are also available in SuspiciousStewForEmerald

ZenScript
Copy
new SuspiciousStewForEmerald(effect as MobEffect, duration as int, xp as int) as SuspiciousStewForEmerald
new SuspiciousStewForEmerald(<effect:minecraft:haste>, 200, 2);
ParameterTypeDescription
Parameter
effect
Type
MobEffect
Description
The mob effect that the stew will give.
Parameter
duration
Type
int
Description
How long will the effect last in ticks
Parameter
xp
Type
int
Description
How much experience does this trade reward the villager