setTamed

public abstract void setTamed(boolean tame)

Sets if this has been tamed. Not necessary if the method setOwner has been used, as it tames automatically.

If something is tamed then getClassById player can not tame it through normal methods, even if it does not belong to anyone in particular.

Parameters

tame

true if tame