Files
Paper/paper-api/src/main/java/org/bukkit/entity/Armadillo.java
Bjarne Koll a24f9b204c 1.21.6 dev
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com>
Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2025-06-17 15:45:25 +02:00

42 lines
793 B
Java

package org.bukkit.entity;
import org.jspecify.annotations.NullMarked;
/**
* Represents an Armadillo.
*/
@NullMarked
public interface Armadillo extends Animals {
/**
* Get the current state of the armadillo.
*
* @return the state of the armadillo
*/
State getState();
/**
* Attempt to roll up if the armadillo is {@link State#IDLE}
*/
void rollUp();
/**
* Attempt to roll out if the armadillo is not {@link State#IDLE}
*/
void rollOut();
/**
* Represents the current state of the armadillo.
*/
enum State {
// Start generate - ArmadilloState
// @GeneratedFrom 1.21.6-rc1
IDLE,
ROLLING,
SCARED,
UNROLLING;
// End generate - ArmadilloState
}
}