Package net.minecraft.world.level.entity
Interface EntityAccess
- All Known Implementing Classes:
AbstractArrow
,AbstractChestedHorse
,AbstractClientPlayer
,AbstractFish
,AbstractGolem
,AbstractHorse
,AbstractHurtingProjectile
,AbstractIllager
,AbstractMinecart
,AbstractMinecartContainer
,AbstractPiglin
,AbstractSchoolingFish
,AbstractSkeleton
,AbstractVillager
,AgeableMob
,Allay
,AmbientCreature
,Animal
,AreaEffectCloud
,ArmorStand
,Arrow
,Axolotl
,Bat
,Bee
,Blaze
,Boat
,Camel
,Cat
,CaveSpider
,ChestBoat
,Chicken
,Cod
,Cow
,Creeper
,Display
,Display.BlockDisplay
,Display.ItemDisplay
,Display.TextDisplay
,Dolphin
,Donkey
,DragonFireball
,Drowned
,ElderGuardian
,EndCrystal
,EnderDragon
,EnderDragonPart
,EnderMan
,Endermite
,Entity
,EntityRendererEventsTest.MyEntity
,Evoker
,EvokerFangs
,ExperienceOrb
,EyeOfEnder
,FakePlayer
,FallingBlockEntity
,Fireball
,FireworkRocketEntity
,FishingHook
,FlyingMob
,Fox
,Frog
,Ghast
,Giant
,GlowItemFrame
,GlowSquid
,Goat
,Guardian
,HangingEntity
,Hoglin
,Horse
,Husk
,Illusioner
,Interaction
,IronGolem
,ItemEntity
,ItemFrame
,LargeFireball
,LeashFenceKnotEntity
,LightningBolt
,LivingEntity
,Llama
,LlamaSpit
,LocalPlayer
,MagmaCube
,Marker
,Minecart
,MinecartChest
,MinecartCommandBlock
,MinecartFurnace
,MinecartHopper
,MinecartSpawner
,MinecartTNT
,Mob
,Monster
,Mule
,MushroomCow
,Ocelot
,Painting
,Panda
,Parrot
,PartEntity
,PartEntityTest.TestEntity
,PartEntityTest.TestEntityPart
,PathfinderMob
,PatrollingMonster
,Phantom
,Pig
,Piglin
,PiglinBrute
,Pillager
,Player
,PolarBear
,PrimedTnt
,Projectile
,Pufferfish
,Rabbit
,Raider
,Ravager
,RemotePlayer
,Salmon
,ServerPlayer
,Sheep
,ShoulderRidingEntity
,Shulker
,ShulkerBullet
,Silverfish
,Skeleton
,SkeletonHorse
,Slime
,SmallFireball
,Sniffer
,Snowball
,SnowGolem
,SpectralArrow
,SpellcasterIllager
,Spider
,Squid
,Stray
,Strider
,Tadpole
,TamableAnimal
,ThrowableItemProjectile
,ThrowableProjectile
,ThrownEgg
,ThrownEnderpearl
,ThrownExperienceBottle
,ThrownPotion
,ThrownTrident
,TraderLlama
,TropicalFish
,Turtle
,Vex
,Villager
,Vindicator
,WanderingTrader
,Warden
,WaterAnimal
,Witch
,WitherBoss
,WitherSkeleton
,WitherSkull
,Wolf
,Zoglin
,Zombie
,ZombieHorse
,ZombieVillager
,ZombifiedPiglin
public interface EntityAccess
-
Method Summary
Modifier and TypeMethodDescriptionint
getId()
Stream<? extends EntityAccess>
Stream<? extends EntityAccess>
getUUID()
boolean
void
setLevelCallback
(EntityInLevelCallback p_156797_) void
setRemoved
(Entity.RemovalReason p_156798_) boolean
-
Method Details
-
getId
int getId() -
getUUID
UUID getUUID() -
blockPosition
BlockPos blockPosition() -
getBoundingBox
AABB getBoundingBox() -
setLevelCallback
-
getSelfAndPassengers
Stream<? extends EntityAccess> getSelfAndPassengers() -
getPassengersAndSelf
Stream<? extends EntityAccess> getPassengersAndSelf() -
setRemoved
-
shouldBeSaved
boolean shouldBeSaved() -
isAlwaysTicking
boolean isAlwaysTicking()
-