geforkt von Mirrors/Paper
Added various new 1.9 entities, blocks and items
By: Nathan Adams <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
41fba5743b
Commit
bdc3ffafbe
@ -122,6 +122,18 @@ public enum Material {
|
|||||||
FENCE_GATE(107),
|
FENCE_GATE(107),
|
||||||
BRICK_STAIRS(108),
|
BRICK_STAIRS(108),
|
||||||
SMOOTH_STAIRS(109),
|
SMOOTH_STAIRS(109),
|
||||||
|
MYCEL(110),
|
||||||
|
WATER_LILY(111),
|
||||||
|
NETHER_BRICK(112),
|
||||||
|
NETHER_FENCE(113),
|
||||||
|
NETHER_BRICK_STAIRS(114),
|
||||||
|
NETHER_WATER(115),
|
||||||
|
ENCHANTMENT_TABLE(116),
|
||||||
|
BREWING_STAND(117),
|
||||||
|
CAULDRON(118),
|
||||||
|
ENDER_PORTAL(119),
|
||||||
|
ENTER_PORTAL_FRAME(120),
|
||||||
|
WHITESTONE(121),
|
||||||
// ----- Item Separator -----
|
// ----- Item Separator -----
|
||||||
IRON_SPADE(256, 1, 250),
|
IRON_SPADE(256, 1, 250),
|
||||||
IRON_PICKAXE(257, 1, 250),
|
IRON_PICKAXE(257, 1, 250),
|
||||||
@ -236,8 +248,31 @@ public enum Material {
|
|||||||
COOKED_CHICKEN(366),
|
COOKED_CHICKEN(366),
|
||||||
ROTTEN_FLESH(367),
|
ROTTEN_FLESH(367),
|
||||||
ENDER_PEARL(368),
|
ENDER_PEARL(368),
|
||||||
|
BLAZE_ROD(369),
|
||||||
|
GHAST_TEAR(370),
|
||||||
|
GOLD_NUGGET(371),
|
||||||
|
NETHER_STALK(372),
|
||||||
|
POTION(373),
|
||||||
|
GLASS_BOTTLE(374),
|
||||||
|
SPIDER_EYE(375),
|
||||||
|
FERMENTED_SPIDER_EYE(376),
|
||||||
|
BLAZE_POWDER(377),
|
||||||
|
MAGMA_CREAM(378),
|
||||||
|
BREWING_STAND_ITEM(379),
|
||||||
|
CAULDRON_ITEM(380),
|
||||||
|
EYE_OF_ENDER(381),
|
||||||
|
SPECKLED_MELON(382),
|
||||||
GOLD_RECORD(2256, 1),
|
GOLD_RECORD(2256, 1),
|
||||||
GREEN_RECORD(2257, 1);
|
GREEN_RECORD(2257, 1),
|
||||||
|
RECORD_3(2258, 1),
|
||||||
|
RECORD_4(2259, 1),
|
||||||
|
RECORD_5(2260, 1),
|
||||||
|
RECORD_6(2261, 1),
|
||||||
|
RECORD_7(2262, 1),
|
||||||
|
RECORD_8(2263, 1),
|
||||||
|
RECORD_9(2264, 1),
|
||||||
|
RECORD_10(2265, 1),
|
||||||
|
RECORD_11(2266, 1);
|
||||||
|
|
||||||
private final int id;
|
private final int id;
|
||||||
private final Class<? extends MaterialData> data;
|
private final Class<? extends MaterialData> data;
|
||||||
|
8
paper-api/src/main/java/org/bukkit/entity/Blaze.java
Normale Datei
8
paper-api/src/main/java/org/bukkit/entity/Blaze.java
Normale Datei
@ -0,0 +1,8 @@
|
|||||||
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a Blaze monster
|
||||||
|
*/
|
||||||
|
public interface Blaze extends Monster {
|
||||||
|
|
||||||
|
}
|
13
paper-api/src/main/java/org/bukkit/entity/ComplexEntityPart.java
Normale Datei
13
paper-api/src/main/java/org/bukkit/entity/ComplexEntityPart.java
Normale Datei
@ -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();
|
||||||
|
}
|
15
paper-api/src/main/java/org/bukkit/entity/ComplexLivingEntity.java
Normale Datei
15
paper-api/src/main/java/org/bukkit/entity/ComplexLivingEntity.java
Normale Datei
@ -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),
|
WOLF("Wolf", Wolf.class),
|
||||||
CAVE_SPIDER("CaveSpider", CaveSpider.class),
|
CAVE_SPIDER("CaveSpider", CaveSpider.class),
|
||||||
ENDERMAN("Enderman", Enderman.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 String name;
|
||||||
private Class<? extends Entity> clazz;
|
private Class<? extends Entity> clazz;
|
||||||
|
8
paper-api/src/main/java/org/bukkit/entity/EnderDragon.java
Normale Datei
8
paper-api/src/main/java/org/bukkit/entity/EnderDragon.java
Normale Datei
@ -0,0 +1,8 @@
|
|||||||
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents an Ender Dragon
|
||||||
|
*/
|
||||||
|
public interface EnderDragon extends ComplexLivingEntity {
|
||||||
|
|
||||||
|
}
|
8
paper-api/src/main/java/org/bukkit/entity/EnderDragonPart.java
Normale Datei
8
paper-api/src/main/java/org/bukkit/entity/EnderDragonPart.java
Normale Datei
@ -0,0 +1,8 @@
|
|||||||
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents an ender dragon part
|
||||||
|
*/
|
||||||
|
public interface EnderDragonPart extends ComplexEntityPart {
|
||||||
|
public EnderDragon getParent();
|
||||||
|
}
|
8
paper-api/src/main/java/org/bukkit/entity/EnderPearl.java
Normale Datei
8
paper-api/src/main/java/org/bukkit/entity/EnderPearl.java
Normale Datei
@ -0,0 +1,8 @@
|
|||||||
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents an Ender Pearl entity
|
||||||
|
*/
|
||||||
|
public interface EnderPearl extends Projectile {
|
||||||
|
|
||||||
|
}
|
8
paper-api/src/main/java/org/bukkit/entity/EnderSignal.java
Normale Datei
8
paper-api/src/main/java/org/bukkit/entity/EnderSignal.java
Normale Datei
@ -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 {
|
||||||
|
|
||||||
|
}
|
8
paper-api/src/main/java/org/bukkit/entity/MushroomCow.java
Normale Datei
8
paper-api/src/main/java/org/bukkit/entity/MushroomCow.java
Normale Datei
@ -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
Normale Datei
8
paper-api/src/main/java/org/bukkit/entity/NPC.java
Normale Datei
@ -0,0 +1,8 @@
|
|||||||
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a non-player character
|
||||||
|
*/
|
||||||
|
public interface NPC extends Creature {
|
||||||
|
|
||||||
|
}
|
8
paper-api/src/main/java/org/bukkit/entity/SmallFireball.java
Normale Datei
8
paper-api/src/main/java/org/bukkit/entity/SmallFireball.java
Normale Datei
@ -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
Normale Datei
8
paper-api/src/main/java/org/bukkit/entity/Snowman.java
Normale Datei
@ -0,0 +1,8 @@
|
|||||||
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a snowman entity
|
||||||
|
*/
|
||||||
|
public interface Snowman extends Creature {
|
||||||
|
|
||||||
|
}
|
8
paper-api/src/main/java/org/bukkit/entity/ThrownPotion.java
Normale Datei
8
paper-api/src/main/java/org/bukkit/entity/ThrownPotion.java
Normale Datei
@ -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
Normale Datei
8
paper-api/src/main/java/org/bukkit/entity/Villager.java
Normale Datei
@ -0,0 +1,8 @@
|
|||||||
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a villager NPC
|
||||||
|
*/
|
||||||
|
public interface Villager extends NPC {
|
||||||
|
|
||||||
|
}
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren