mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Added interfaces for every entity type. Most (if not all) are empty.
These are place holders at the moment, to be used when determining entity type. Further functionality could be added to these interfaces later. By: Andrew Ardill <andrew.ardill@gmail.com>
This commit is contained in:
parent
3b1fe7dcf7
commit
6ab2ec9f85
22 changed files with 297 additions and 0 deletions
11
paper-api/src/main/java/org/bukkit/entity/Animals.java
Normal file
11
paper-api/src/main/java/org/bukkit/entity/Animals.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents an Animal.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Animals extends Creature{
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Chicken.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Chicken.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Chicken.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Chicken extends Animals {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Cow.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Cow.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Cow.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Cow extends Animals {
|
||||
|
||||
}
|
10
paper-api/src/main/java/org/bukkit/entity/Creature.java
Normal file
10
paper-api/src/main/java/org/bukkit/entity/Creature.java
Normal file
|
@ -0,0 +1,10 @@
|
|||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Creature. Any LivingEntity that is not human is a Creature.
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Creature extends LivingEntity{
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Creeper.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Creeper.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Creeper.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Creeper extends Monster {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/FallingSand.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/FallingSand.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents Falling Sand.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface FallingSand extends Entity {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Flying.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Flying.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Flying Entity.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Flying extends LivingEntity {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Ghast.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Ghast.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Ghast.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Ghast extends Flying {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Giant.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Giant.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Giant.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Giant extends Monster {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Item.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Item.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents an Item.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Item extends Entity {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Monster.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Monster.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Monster.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Monster extends Creature {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Painting.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Painting.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Painting.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Painting extends Entity {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Pig.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Pig.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Pig.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Pig extends Animals {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/PigZombie.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/PigZombie.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Pig Zombie.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface PigZombie extends Zombie {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Sheep.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Sheep.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Sheep.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Sheep extends Animals {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Skeleton.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Skeleton.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Skeleton.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Skeleton extends Monster {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Slime.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Slime.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Slime.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Slime extends LivingEntity {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Spider.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Spider.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Spider.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Spider extends Monster {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/Squid.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/Squid.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Squid.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Squid extends WaterMob {
|
||||
|
||||
}
|
14
paper-api/src/main/java/org/bukkit/entity/TNTPrimed.java
Normal file
14
paper-api/src/main/java/org/bukkit/entity/TNTPrimed.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Primed TNT.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface TNTPrimed extends Entity {
|
||||
|
||||
}
|
13
paper-api/src/main/java/org/bukkit/entity/WaterMob.java
Normal file
13
paper-api/src/main/java/org/bukkit/entity/WaterMob.java
Normal file
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Water Mob
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface WaterMob extends Creature {
|
||||
|
||||
}
|
11
paper-api/src/main/java/org/bukkit/entity/Zombie.java
Normal file
11
paper-api/src/main/java/org/bukkit/entity/Zombie.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Zombie.
|
||||
*
|
||||
* @author Cogito
|
||||
*
|
||||
*/
|
||||
public interface Zombie extends Monster{
|
||||
|
||||
}
|
Loading…
Reference in a new issue