001    package org.bukkit.entity;
002    
003    /**
004     * Represents a Pig.
005     */
006    public interface Pig extends Animals, Vehicle {
007    
008        /**
009         * Check if the pig has a saddle.
010         *
011         * @return if the pig has been saddled.
012         */
013        public boolean hasSaddle();
014    
015        /**
016         * Sets if the pig has a saddle or not
017         *
018         * @param saddled set if the pig has a saddle or not.
019         */
020        public void setSaddle(boolean saddled);
021    }