Package eu.sculkpowered.server.entity
Interface Entity
- All Superinterfaces:
Sound.Emitter
,Viewable
- All Known Subinterfaces:
Allay
,Animal
,AreaEffectCloud
,Armadillo
,ArmorStand
,Arrow
,Axolotl
,Bat
,Bee
,Blaze
,BlockDisplay
,Boat
,Bogged
,Breeze
,BreezeWindCharge
,Camel
,Cat
,CaveSpider
,ChestBoat
,ChestMinecart
,Chicken
,Cod
,CommandBlockMinecart
,Cow
,Creeper
,Display
,Dolphin
,Donkey
,DragonFireball
,Drowned
,Egg
,ElderGuardian
,EndCrystal
,EnderDragon
,Enderman
,Endermite
,EnderPearl
,Evoker
,EvokerFangs
,ExperienceBottle
,ExperienceOrb
,EyeOfEnder
,FallingBlock
,Fireball
,FireworkRocket
,FishingBobber
,Fox
,Frog
,FurnaceMinecart
,Ghast
,Giant
,GlowItemFrame
,GlowSquid
,Goat
,Guardian
,Hoglin
,HopperMinecart
,Horse
,Husk
,Illusioner
,Interaction
,IronGolem
,Item
,ItemDisplay
,ItemFrame
,LeashKnot
,LightningBolt
,LivingEntity
,Llama
,LlamaSpit
,MagmaCube
,Minecart
,Mob
,Monster
,Mooshroom
,Mule
,Ocelot
,OminousItemSpawner
,Painting
,Panda
,Parrot
,Phantom
,Pig
,Piglin
,PiglinBrute
,Pillager
,Player
,PolarBear
,Potion
,Projectile
,Pufferfish
,Rabbit
,Raider
,Ravager
,Salmon
,Sheep
,Shulker
,ShulkerBullet
,Silverfish
,Skeleton
,SkeletonHorse
,Slime
,SmallFireball
,Sniffer
,Snowball
,SnowGolem
,SpawnerMinecart
,SpectralArrow
,Spider
,Squid
,Stray
,Strider
,Tadpole
,TextDisplay
,Tnt
,TntMinecart
,TraderLlama
,Trident
,TropicalFish
,Turtle
,Vex
,Villager
,Vindicator
,WanderingTrader
,Warden
,WindCharge
,Witch
,Wither
,WitherSkeleton
,WitherSkull
,Wolf
,Zoglin
,Zombie
,ZombieHorse
,ZombieVillager
,ZombifiedPiglin
Represents an entity.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable Component
void
customName
(@Nullable Component customName) boolean
void
customNameVisible
(boolean visible) boolean
glowing()
void
glowing
(boolean glowing) void
gravity
(boolean gravity) boolean
int
id()
boolean
void
invisible
(boolean invisible) boolean
onFire()
@NotNull Entity.Pose
pose()
void
pose
(@NotNull Entity.Pose pose) @NotNull Position
position()
boolean
silent()
void
silent
(boolean silent) boolean
boolean
swimming()
void
Teleports an entity to the specified position.@NotNull EntityType
type()
@NotNull UUID
uniqueId()
@NotNull Vector
velocity()
void
world()
void
Methods inherited from interface eu.sculkpowered.server.Viewable
addViewer, removeViewer, viewers
-
Method Details
-
uniqueId
- Since:
- 1.0.0
-
id
int id()- Since:
- 1.0.0
-
type
- Since:
- 1.0.0
-
world
World world()- Since:
- 1.0.0
-
world
- Since:
- 1.0.0
-
position
- Since:
- 1.0.0
-
velocity
- Since:
- 1.0.0
-
velocity
- Since:
- 1.0.0
-
onFire
boolean onFire()- Since:
- 1.0.0
-
crouching
boolean crouching()- Since:
- 1.0.0
-
sprinting
boolean sprinting()- Since:
- 1.0.0
-
swimming
boolean swimming()- Since:
- 1.0.0
-
invisible
boolean invisible()- Since:
- 1.0.0
-
invisible
void invisible(boolean invisible) - Since:
- 1.0.0
-
glowing
boolean glowing()- Since:
- 1.0.0
-
glowing
void glowing(boolean glowing) - Since:
- 1.0.0
-
customName
- Since:
- 1.0.0
-
customName
- Since:
- 1.0.0
-
customNameVisible
boolean customNameVisible()- Since:
- 1.0.0
-
customNameVisible
void customNameVisible(boolean visible) - Since:
- 1.0.0
-
silent
boolean silent()- Since:
- 1.0.0
-
silent
void silent(boolean silent) - Since:
- 1.0.0
-
hasGravity
boolean hasGravity()- Since:
- 1.0.0
-
gravity
void gravity(boolean gravity) - Since:
- 1.0.0
-
teleport
Teleports an entity to the specified position.- Parameters:
position
- the position to teleport- Since:
- 1.0.0
-
pose
- Since:
- 1.0.0
-
pose
- Since:
- 1.0.0
-