Added various new 1.9 entities, blocks and items
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
8
paper-api/src/main/java/org/bukkit/entity/Blaze.java
Normal file
8
paper-api/src/main/java/org/bukkit/entity/Blaze.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Blaze monster
|
||||
*/
|
||||
public interface Blaze extends Monster {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a single part of a {@link ComplexLivingEntity}
|
||||
*/
|
||||
public interface ComplexEntityPart extends Entity {
|
||||
/**
|
||||
* Gets the parent {@link ComplexLivingEntity} of this part.
|
||||
*
|
||||
* @return Parent complex entity
|
||||
*/
|
||||
public ComplexLivingEntity getParent();
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* Represents a complex living entity - one that is made up of various smaller parts
|
||||
*/
|
||||
public interface ComplexLivingEntity extends LivingEntity {
|
||||
/**
|
||||
* Gets a list of parts that belong to this complex entity
|
||||
*
|
||||
* @return List of parts
|
||||
*/
|
||||
public Set<ComplexEntityPart> getParts();
|
||||
}
|
||||
@@ -22,7 +22,11 @@ public enum CreatureType {
|
||||
WOLF("Wolf", Wolf.class),
|
||||
CAVE_SPIDER("CaveSpider", CaveSpider.class),
|
||||
ENDERMAN("Enderman", Enderman.class),
|
||||
SILVERFISH("Silverfish", Silverfish.class);
|
||||
SILVERFISH("Silverfish", Silverfish.class),
|
||||
ENDER_DRAGON("EnderDragon", EnderDragon.class),
|
||||
VILLAGER("Villager", Villager.class),
|
||||
BLAZE("Blaze", Blaze.class),
|
||||
MUSHROOM_COW("MushroomCow", MushroomCow.class);
|
||||
|
||||
private String name;
|
||||
private Class<? extends Entity> clazz;
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents an Ender Dragon
|
||||
*/
|
||||
public interface EnderDragon extends ComplexLivingEntity {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents an ender dragon part
|
||||
*/
|
||||
public interface EnderDragonPart extends ComplexEntityPart {
|
||||
public EnderDragon getParent();
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents an Ender Pearl entity
|
||||
*/
|
||||
public interface EnderPearl extends Projectile {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents an Ender Signal, which is often created upon throwing an ender eye
|
||||
*/
|
||||
public interface EnderSignal extends Entity {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a mushroom {@link Cow}
|
||||
*/
|
||||
public interface MushroomCow extends Cow {
|
||||
|
||||
}
|
||||
8
paper-api/src/main/java/org/bukkit/entity/NPC.java
Normal file
8
paper-api/src/main/java/org/bukkit/entity/NPC.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a non-player character
|
||||
*/
|
||||
public interface NPC extends Creature {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a small {@link Fireball}
|
||||
*/
|
||||
public interface SmallFireball extends Fireball {
|
||||
|
||||
}
|
||||
8
paper-api/src/main/java/org/bukkit/entity/Snowman.java
Normal file
8
paper-api/src/main/java/org/bukkit/entity/Snowman.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a snowman entity
|
||||
*/
|
||||
public interface Snowman extends Creature {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a thrown potion bottle
|
||||
*/
|
||||
public interface ThrownPotion extends Projectile {
|
||||
|
||||
}
|
||||
8
paper-api/src/main/java/org/bukkit/entity/Villager.java
Normal file
8
paper-api/src/main/java/org/bukkit/entity/Villager.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a villager NPC
|
||||
*/
|
||||
public interface Villager extends NPC {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user