001/*
002 * Trident - A Multithreaded Server Alternative
003 * Copyright 2014 The TridentSDK Team
004 *
005 * Licensed under the Apache License, Version 2.0 (the "License");
006 * you may not use this file except in compliance with the License.
007 * You may obtain a copy of the License at
008 *
009 *    http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017
018package net.tridentsdk.entity.block;
019
020import net.tridentsdk.entity.traits.Equippable;
021import net.tridentsdk.util.PartRotation;
022
023/**
024 * Represents an Armor Stand
025 *
026 * @author TridentSDK Team
027 */
028public interface ArmorStand extends Equippable {
029    /**
030     * Gets the slot properties of this Armor Stand
031     *
032     * @return this armor stand's slot properties
033     */
034    SlotProperties slotProperties();
035
036    /**
037     * Whether or not this Armor Stand is invisible
038     *
039     * @return whether or not this Armor Stand is invisible
040     */
041    boolean isInvisible();
042
043    /**
044     * Whether or not this Armor Stand should display its baseplate
045     *
046     * @return whether or not this Armor Stand should display its baseplate
047     */
048    boolean displayBaseplate();
049
050    /**
051     * Whether or not this Armor Stand should display its arms
052     *
053     * @return whether or not this Armor Stand should display its arms
054     */
055    boolean displayArms();
056
057    /**
058     * Whether or not this Armor Stand will fall or not
059     *
060     * @return whether or not this Armor Stand will fall or not
061     */
062    boolean useGravity();
063
064    /**
065     * Returns the pose for this Armor Stand
066     *
067     * @return the post of this Armor Stand
068     * @deprecated Uses magic numbers for indexing, exists until another way is pushed
069     */
070    @Deprecated
071    PartRotation[] pose();
072
073    /**
074     * Whether or not this Armor Stand is small
075     *
076     * @return whether or not this Armor Stand is small
077     */
078    boolean isTiny();
079}