File tree Expand file tree Collapse file tree 3 files changed +6
-20
lines changed
paper-api/src/main/java/org/bukkit/entity
paper-server/src/test/java/org/bukkit/craftbukkit/entity Expand file tree Collapse file tree 3 files changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -171,22 +171,6 @@ default void setIsSitting(boolean sitting) {
171
171
this .setSitting (sitting );
172
172
}
173
173
174
- /**
175
- * Sets if this panda is currently sitting.
176
- *
177
- * @param sitting is currently sitting
178
- */
179
- @ Override
180
- void setSitting (boolean sitting );
181
-
182
- /**
183
- * Gets if this panda is sitting.
184
- *
185
- * @return is sitting
186
- */
187
- @ Override
188
- boolean isSitting ();
189
-
190
174
/**
191
175
* Gets this Panda's combined gene.
192
176
* <p>
Original file line number Diff line number Diff line change 1
1
package org .bukkit .entity ;
2
2
3
3
/**
4
- * An animal that can sit still.
4
+ * An entity that can sit still.
5
5
*/
6
- public interface Sittable {
6
+ public interface Sittable extends Entity {
7
7
8
8
/**
9
- * Checks if this animal is sitting
9
+ * Checks if this entity is sitting
10
10
*
11
11
* @return true if sitting
12
12
*/
13
13
boolean isSitting ();
14
14
15
15
/**
16
- * Sets if this animal is sitting. Will remove any path that the animal
16
+ * Sets if this entity is sitting. Will remove any path that the entity
17
17
* was following beforehand.
18
18
*
19
19
* @param sitting true if sitting
Original file line number Diff line number Diff line change 49
49
import org .bukkit .entity .PiglinAbstract ;
50
50
import org .bukkit .entity .Projectile ;
51
51
import org .bukkit .entity .Raider ;
52
+ import org .bukkit .entity .Sittable ;
52
53
import org .bukkit .entity .SizedFireball ;
53
54
import org .bukkit .entity .Spellcaster ;
54
55
import org .bukkit .entity .SplashPotion ;
@@ -110,6 +111,7 @@ public class EntityTypesTest {
110
111
PiglinAbstract .class ,
111
112
Projectile .class ,
112
113
Raider .class ,
114
+ Sittable .class ,
113
115
SizedFireball .class ,
114
116
Spellcaster .class ,
115
117
SplashPotion .class ,
You can’t perform that action at this time.
0 commit comments