Interface ItemOwner

All Known Implementing Classes:
AbstractArrow, AbstractBoat, AbstractChestBoat, AbstractChestedHorse, AbstractClientPlayer, AbstractCow, AbstractFish, AbstractGolem, AbstractHorse, AbstractHurtingProjectile, AbstractIllager, AbstractMinecart, AbstractMinecartContainer, AbstractNautilus, AbstractPiglin, AbstractSchoolingFish, AbstractSkeleton, AbstractThrownPotion, AbstractVillager, AbstractWindCharge, AgeableMob, AgeableWaterCreature, Allay, AmbientCreature, Animal, AreaEffectCloud, Armadillo, ArmorStand, Arrow, Avatar, Axolotl, Bat, Bee, Blaze, BlockAttachedEntity, Boat, Bogged, Breeze, BreezeWindCharge, Camel, CamelHusk, Cat, CaveSpider, ChestBoat, ChestRaft, Chicken, ClientMannequin, Cod, CopperGolem, Cow, Creaking, Creeper, Display, Display.BlockDisplay, Display.ItemDisplay, Display.TextDisplay, Dolphin, Donkey, DragonFireball, Drowned, ElderGuardian, EndCrystal, EnderDragon, EnderDragonPart, EnderMan, Endermite, Entity, Evoker, EvokerFangs, ExperienceOrb, EyeOfEnder, FakePlayer, FallingBlockEntity, Fireball, FireworkRocketEntity, FishingHook, Fox, Frog, Ghast, Giant, GlowItemFrame, GlowSquid, Goat, Guardian, HangingEntity, HappyGhast, Hoglin, Horse, Husk, Illusioner, Interaction, IronGolem, ItemEntity, ItemFrame, ItemOwner.OffsetFromOwner, LargeFireball, LeashFenceKnotEntity, LightningBolt, LivingEntity, Llama, LlamaSpit, LocalPlayer, MagmaCube, Mannequin, Marker, Minecart, MinecartChest, MinecartCommandBlock, MinecartFurnace, MinecartHopper, MinecartSpawner, MinecartTNT, Mob, Monster, Mule, MushroomCow, Nautilus, Ocelot, OminousItemSpawner, Painting, Panda, Parched, Parrot, PartEntity, PathfinderMob, PatrollingMonster, Phantom, Pig, Piglin, PiglinBrute, Pillager, Player, PolarBear, PrimedTnt, Projectile, Pufferfish, Rabbit, Raft, Raider, Ravager, RemotePlayer, Salmon, ServerPlayer, Sheep, ShelfBlockEntity, ShoulderRidingEntity, Shulker, ShulkerBullet, Silverfish, Skeleton, SkeletonHorse, Slime, SmallFireball, Sniffer, Snowball, SnowGolem, SpectralArrow, SpellcasterIllager, Spider, Squid, Stray, Strider, Tadpole, TamableAnimal, ThrowableItemProjectile, ThrowableProjectile, ThrownEgg, ThrownEnderpearl, ThrownExperienceBottle, ThrownLingeringPotion, ThrownSplashPotion, ThrownTrident, TraderLlama, TropicalFish, Turtle, VehicleEntity, Vex, Villager, Vindicator, WanderingTrader, Warden, WaterAnimal, WindCharge, Witch, WitherBoss, WitherSkeleton, WitherSkull, Wolf, Zoglin, Zombie, ZombieHorse, ZombieNautilus, ZombieVillager, ZombifiedPiglin

public interface ItemOwner
  • Method Details

    • level

      Level level()
    • position

      Vec3 position()
    • getVisualRotationYInDegrees

      float getVisualRotationYInDegrees()
    • asLivingEntity

      default @Nullable LivingEntity asLivingEntity()
    • offsetFromOwner

      static ItemOwner offsetFromOwner(ItemOwner pOwner, Vec3 pOffset)