| Package | Description |
|---|---|
| com.nukkitx.api.entity | |
| com.nukkitx.api.entity.component | |
| com.nukkitx.api.entity.system |
| Modifier and Type | Method and Description |
|---|---|
default <C extends EntityComponent> |
Entity.ensureAndGet(Class<C> clazz) |
<C extends EntityComponent> |
Entity.get(Class<C> clazz) |
<C extends EntityComponent> |
Entity.provides(Class<C> clazz) |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<? extends EntityComponent>> |
Entity.providedComponents() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Ageable |
interface |
Angry |
interface |
Boostable |
interface |
Breathable |
interface |
Breedable |
interface |
Colorable |
interface |
ContainedBlock |
interface |
ContainedExperience |
interface |
ContainedInventory |
interface |
ContainedItem |
interface |
Damageable |
interface |
Effectable |
interface |
Equippable |
interface |
Explode |
interface |
Flammable
This represent the amount of time till the entity's fire is extinguished.
|
interface |
Healable |
interface |
Leashable |
interface |
Nameable |
interface |
Ownable |
interface |
Physics |
interface |
PickupDelay |
interface |
PlayerData |
interface |
PortalCooldown |
interface |
Professionable |
interface |
Projectile |
interface |
Rideable |
interface |
Shareable |
interface |
Shearable |
interface |
Shooter |
interface |
Sittable |
interface |
Tameable |
interface |
Targetable |
interface |
Throwable |
interface |
Tradeable |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<? extends EntityComponent>> |
System.getExpectedComponents() |
| Modifier and Type | Method and Description |
|---|---|
System.Builder |
System.Builder.expectComponent(Class<? extends EntityComponent> component) |
Copyright © 2017–2019 NukkitX. All rights reserved.