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 TeamMember
A team member represents something which has a meaningfulComponent
representation on aTeam
. The client may be able to link the teamComponent
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Component
teamRepresentation()
Gets aComponent
representing this team member, suitable for adding to anTeam
withTeam.addMember(Component)
.
-
-
-
Method Detail
-
teamRepresentation
Component teamRepresentation()
Gets aComponent
representing this team member, suitable for adding to anTeam
withTeam.addMember(Component)
.- Returns:
- an
Component
representing this team member
-
-