Package org.spongepowered.api.scoreboard
Interface TeamMember
-
- All Known Subinterfaces:
Aerial,Ageable,Agent,Ambient,Animal,Aquatic,ArmorStand,Bat,Bee,Blaze,Boss,Cat,CaveSpider,Chicken,ClientPlayer,Cod,ComplexLiving<T>,Cow,Creature,Creeper,Dolphin,Donkey,Drowned,ElderGuardian,EnderDragon,Enderman,Endermite,Evoker,Fish,Fox,Ghast,Giant,Golem,Guardian,Hoglin,Horse,HorseLike,Hostile,Human,Humanoid,Husk,Illager,Illusioner,IronGolem,Living,Llama,LlamaLike,LocalPlayer,MagmaCube,Monster,Mooshroom,Mule,Ocelot,PackHorse,Panda,Parrot,Patroller,Phantom,Pig,Piglin,PiglinBrute,PiglinLike,Pillager,Player,PolarBear,Pufferfish,Rabbit,Raider,Ranger,Ravager,RemotePlayer,Salmon,SchoolingFish,ServerPlayer,Sheep,Shulker,Silverfish,Skeleton,SkeletonHorse,SkeletonLike,Slime,SnowGolem,Spellcaster,Spider,Squid,Stray,Strider,TameableAnimal,TameableHorse,Trader,TraderLlama,TropicalFish,Turtle,Vex,Villager,Vindicator,WanderingTrader,Witch,Wither,WitherSkeleton,Wolf,Zoglin,Zombie,ZombieHorse,ZombieLike,ZombieVillager,ZombifiedPiglin
public interface TeamMemberA team member represents something which has a meaningfulComponentrepresentation on aTeam. The client may be able to link the teamComponententry to a particular object, and perform extra functionality.Examples include:
Players, represented in Vanilla by their name- Other
living entities, represented in Vanilla by theirUUID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentteamRepresentation()Gets aComponentrepresenting this team member, suitable for adding to anTeamwithTeam.addMember(Component).
-
-
-
Method Detail
-
teamRepresentation
Component teamRepresentation()
Gets aComponentrepresenting this team member, suitable for adding to anTeamwithTeam.addMember(Component).- Returns:
- an
Componentrepresenting this team member
-
-