SuspiciousStewForEmerald

Link to suspiciousstewforemerald

Diese Klasse importieren

Link to diese-klasse-importieren

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