mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
@@ -143,6 +143,7 @@ public interface Boat extends Vehicle {
|
||||
ACACIA(Material.ACACIA_PLANKS),
|
||||
DARK_OAK(Material.DARK_OAK_PLANKS),
|
||||
MANGROVE(Material.MANGROVE_PLANKS),
|
||||
BAMBOO(Material.BAMBOO_PLANKS),
|
||||
;
|
||||
|
||||
private final Material materialBlock;
|
||||
|
21
paper-api/src/main/java/org/bukkit/entity/Camel.java
Normal file
21
paper-api/src/main/java/org/bukkit/entity/Camel.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Camel.
|
||||
*/
|
||||
public interface Camel extends AbstractHorse {
|
||||
|
||||
/**
|
||||
* Gets whether this camel is dashing (sprinting).
|
||||
*
|
||||
* @return dashing status
|
||||
*/
|
||||
boolean isDashing();
|
||||
|
||||
/**
|
||||
* Sets whether this camel is dashing (sprinting).
|
||||
*
|
||||
* @param dashing new dashing status
|
||||
*/
|
||||
void setDashing(boolean dashing);
|
||||
}
|
@@ -276,6 +276,7 @@ public enum EntityType implements Keyed {
|
||||
FROG("frog", Frog.class, -1),
|
||||
TADPOLE("tadpole", Tadpole.class, -1),
|
||||
WARDEN("warden", Warden.class, -1),
|
||||
CAMEL("camel", Camel.class, -1),
|
||||
/**
|
||||
* A fishing line and bobber.
|
||||
*/
|
||||
|
@@ -36,7 +36,11 @@ public interface Horse extends AbstractHorse {
|
||||
/**
|
||||
* Not really a horse :)
|
||||
*/
|
||||
LLAMA
|
||||
LLAMA,
|
||||
/**
|
||||
* Also not really a horse :)
|
||||
*/
|
||||
CAMEL,
|
||||
;
|
||||
}
|
||||
|
||||
|
@@ -46,6 +46,10 @@ public enum Pose {
|
||||
* Entity is using its tongue.
|
||||
*/
|
||||
USING_TONGUE,
|
||||
/**
|
||||
* Entity is sitting.
|
||||
*/
|
||||
SITTING,
|
||||
/**
|
||||
* Entity is roaring.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user