diff --git a/paper-api/src/main/java/org/bukkit/entity/Vindicator.java b/paper-api/src/main/java/org/bukkit/entity/Vindicator.java index b8ea68a8f..1022ba8cd 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Vindicator.java +++ b/paper-api/src/main/java/org/bukkit/entity/Vindicator.java @@ -3,4 +3,21 @@ package org.bukkit.entity; /** * Represents a Vindicator. */ -public interface Vindicator extends Illager { } +public interface Vindicator extends Illager { + + /** + * Returns whether a vindicator is in "Johnny" mode. + * + * When this mode is active, vindicators will be hostile to all mobs. + * + * @return true if johnny + */ + boolean isJohnny(); + + /** + * Sets the Johnny state of a vindicator. + * + * @param johnny new johnny state + */ + void setJohnny(boolean johnny); +}