SuspiciousStewForEmerald

Link to suspiciousstewforemerald

Importare la Classe

Link to importare-la-classe

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;

Interfacce Implementate

Link to interfacce-implementate

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);
ParametroTipoDescrizione
Parametro
effect
Tipo
MobEffect
Descrizione
The mob effect that the stew will give.
Parametro
duration
Tipo
int
Descrizione
How long will the effect last in ticks
Parametro
xp
Tipo
int
Descrizione
How much experience does this trade reward the villager