@Override public boolean isType(EntityType<?> entityType) { return getEntityType().equals(entityType); }
/** * Tests to see if this entity is of the specified type * @param entityType The entity type * @return <code>true</code> if this entity is of the specified type, otherwise <code>false</code>. */ public boolean isType(EntityType entityType) { return getEntityType().equals(entityType); }
@Override public boolean isType(EntityType<?> entityType) { return getEntityType().equals(entityType); }