Package org.spongepowered.api.scoreboard
Interface TeamMember
- All Known Subinterfaces:
Aerial
,Ageable
,Agent
,Ambient
,Animal
,Aquatic
,ArmorStand
,Axolotl
,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
,GlowSquid
,Goat
,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 TeamMember
A team member represents something which has a meaningful
Component
representation on a Team
. The client may be able to link the team
Component
entry to a particular object, and perform extra functionality.
Examples include:
Player
s, represented in Vanilla by their name- Other
living entities
, represented in Vanilla by theirUUID
-
Method Summary
Modifier and TypeMethodDescriptionGets aComponent
representing this team member, suitable for adding to anTeam
withTeam.addMember(Component)
.
-
Method Details
-
teamRepresentation
Component teamRepresentation()Gets aComponent
representing this team member, suitable for adding to anTeam
withTeam.addMember(Component)
.- Returns:
- an
Component
representing this team member
-