Update to Minecraft 1.19.3

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2022-12-08 03:13:00 +11:00
parent 6ea8b24628
commit 7a87d86241
30 changed files with 831 additions and 40 deletions

View File

@@ -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;

View 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);
}

View File

@@ -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.
*/

View File

@@ -36,7 +36,11 @@ public interface Horse extends AbstractHorse {
/**
* Not really a horse :)
*/
LLAMA
LLAMA,
/**
* Also not really a horse :)
*/
CAMEL,
;
}

View File

@@ -46,6 +46,10 @@ public enum Pose {
* Entity is using its tongue.
*/
USING_TONGUE,
/**
* Entity is sitting.
*/
SITTING,
/**
* Entity is roaring.
*/