Package net.minecraft.world
Interface Nameable
- All Known Implementing Classes:
AbstractArrow,AbstractChestedHorse,AbstractClientPlayer,AbstractFish,AbstractFurnaceBlockEntity,AbstractGolem,AbstractHorse,AbstractHurtingProjectile,AbstractIllager,AbstractMinecart,AbstractMinecartContainer,AbstractPiglin,AbstractSchoolingFish,AbstractSkeleton,AbstractVillager,AgeableMob,AmbientCreature,Animal,AreaEffectCloud,ArmorStand,Arrow,Axolotl,BannerBlockEntity,BarrelBlockEntity,BaseContainerBlockEntity,Bat,Bee,BlastFurnaceBlockEntity,Blaze,Boat,BrewingStandBlockEntity,Cat,CaveSpider,ChestBlockEntity,Chicken,Cod,Cow,Creeper,DispenserBlockEntity,Dolphin,Donkey,DragonFireball,DropperBlockEntity,Drowned,ElderGuardian,EnchantmentTableBlockEntity,EndCrystal,EnderDragon,EnderDragonPart,EnderMan,Endermite,Entity,EntityRendererEventsTest.MyEntity,Evoker,EvokerFangs,ExperienceOrb,EyeOfEnder,FakePlayer,FallingBlockEntity,Fireball,FireworkRocketEntity,FishingHook,FlyingMob,Fox,FurnaceBlockEntity,Ghast,Giant,GlowItemFrame,GlowSquid,Goat,Guardian,HangingEntity,Hoglin,HopperBlockEntity,Horse,Husk,Illusioner,Inventory,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,RandomizableContainerBlockEntity,Ravager,RemotePlayer,Salmon,ServerPlayer,Sheep,ShoulderRidingEntity,Shulker,ShulkerBoxBlockEntity,ShulkerBullet,Silverfish,Skeleton,SkeletonHorse,Slime,SmallFireball,SmokerBlockEntity,Snowball,SnowGolem,SpectralArrow,SpellcasterIllager,Spider,Squid,Stray,Strider,TamableAnimal,ThrowableItemProjectile,ThrowableProjectile,ThrownEgg,ThrownEnderpearl,ThrownExperienceBottle,ThrownPotion,ThrownTrident,TraderLlama,TrappedChestBlockEntity,TropicalFish,Turtle,Vex,Villager,Vindicator,WanderingTrader,WaterAnimal,Witch,WitherBoss,WitherSkeleton,WitherSkull,Wolf,Zoglin,Zombie,ZombieHorse,ZombieVillager,ZombifiedPiglin
public interface Nameable
-
Method Details
-
getName
Component getName() -
hasCustomName
default boolean hasCustomName() -
getDisplayName
-
getCustomName
-