You could still do it, when they right click an entity. if the entity is a villager. e.setCancelled(true);