apply

public void apply(ItemStack to)

Applies the effects of this potion to the given ItemStack. The ItemStack must be getClassById potion.

Parameters

to

The itemstack to apply to


public void apply(LivingEntity to)

Applies the effects that would be applied by this potion to the given LivingEntity.

Parameters

to

The entity to apply the effects to

See also