AbstractHorse
, Ageable
, Ambient
, Animals
, AreaEffectCloud
, ArmorStand
, Arrow
, Bat
, Beacon
, Blaze
, Boat
, BrewingStand
, CaveSpider
, Chest
, ChestedHorse
, Chicken
, Cod
, CommandMinecart
, ComplexEntityPart
, ComplexLivingEntity
, Cow
, Creature
, Creeper
, Damageable
, Dispenser
, Dolphin
, Donkey
, DragonFireball
, Dropper
, Drowned
, Egg
, ElderGuardian
, EnchantingTable
, EnderCrystal
, EnderDragon
, EnderDragonPart
, Enderman
, Endermite
, EnderPearl
, EnderSignal
, Entity
, Evoker
, EvokerFangs
, ExperienceOrb
, Explosive
, ExplosiveMinecart
, FallingBlock
, Fireball
, Firework
, Fish
, FishHook
, Flying
, Furnace
, Ghast
, Giant
, Golem
, Guardian
, Hanging
, Hopper
, HopperMinecart
, Horse
, HumanEntity
, Husk
, Illager
, Illusioner
, IronGolem
, Item
, ItemFrame
, LargeFireball
, LeashHitch
, LightningStrike
, LingeringPotion
, LivingEntity
, Llama
, LlamaSpit
, MagmaCube
, Minecart
, Mob
, Monster
, Mule
, MushroomCow
, NPC
, Ocelot
, Painting
, Parrot
, Phantom
, Pig
, PigZombie
, Player
, PolarBear
, PoweredMinecart
, Projectile
, PufferFish
, Rabbit
, RideableMinecart
, Salmon
, Sheep
, Shulker
, ShulkerBox
, ShulkerBullet
, Silverfish
, Skeleton
, SkeletonHorse
, Slime
, SmallFireball
, Snowball
, Snowman
, SpawnerMinecart
, SpectralArrow
, Spellcaster
, Spider
, SplashPotion
, Squid
, StorageMinecart
, Stray
, Tameable
, ThrownExpBottle
, ThrownPotion
, TippedArrow
, TNTPrimed
, Trident
, TropicalFish
, Turtle
, Vehicle
, Vex
, Villager
, Vindicator
, WaterMob
, Weather
, Witch
, Wither
, WitherSkeleton
, WitherSkull
, Wolf
, Zombie
, ZombieHorse
, ZombieVillager
public interface Nameable
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getCustomName() |
Gets the custom name on a mob or block.
|
void |
setCustomName(java.lang.String name) |
Sets a custom name on a mob or block.
|
java.lang.String getCustomName()
This value has no effect on players, they will always use their real name.
void setCustomName(java.lang.String name)
Setting the name to null or an empty string will clear it.
This value has no effect on players, they will always use their real name.
name
- the name to setCopyright © 2018. All rights reserved.