Commits
Julian v.d Berkmortel authored and md_5 committed 1c0c52ae4fa
1 1 | package org.bukkit.entity; |
2 2 | |
3 + | import org.bukkit.block.BlockFace; |
3 4 | import org.bukkit.material.Colorable; |
5 + | import org.jetbrains.annotations.NotNull; |
4 6 | |
5 7 | public interface Shulker extends Golem, Colorable { |
6 8 | |
7 9 | /** |
8 10 | * Gets the peek state of the shulker between 0.0 and 1.0. |
9 11 | * |
10 12 | * @return the peek state of the shulker between 0.0 and 1.0 |
11 13 | */ |
12 14 | public float getPeek(); |
13 15 | |
14 16 | /** |
15 17 | * Sets the peek state of the shulker, should be in between 0.0 and 1.0. |
16 18 | * |
17 19 | * @param value peek state of the shulker, should be in between 0.0 and 1.0 |
18 20 | * @throws IllegalArgumentException thrown if the value exceeds the valid |
19 21 | * range in between of 0.0 and 1.0 |
20 22 | */ |
21 23 | public void setPeek(float value); |
24 + | |
25 + | /** |
26 + | * Gets the face to which the shulker is attached. |
27 + | * |
28 + | * @return the face to which the shulker is attached |
29 + | */ |
30 + | |
31 + | public BlockFace getAttachedFace(); |
32 + | |
33 + | /** |
34 + | * Sets the face to which the shulker is attached. |
35 + | * |
36 + | * @param face the face to attach the shulker to |
37 + | */ |
38 + | public void setAttachedFace( BlockFace face); |
22 39 | } |