Package org.spongepowered.api.scoreboard
Interface TeamMember
- All Known Subinterfaces:
Aerial
,Ageable
,Agent
,Allay
,Ambient
,Animal
,Aquatic
,AreaEffectCloud
,ArmorStand
,Arrow
,ArrowEntity
,Axolotl
,Bat
,Bee
,Blaze
,BlockDisplay
,BlockOccupiedMinecart
,Boat
,Boss
,Camel
,CarrierMinecart<M>
,Cat
,CaveSpider
,ChestBoat
,ChestMinecart
,Chicken
,ClientPlayer
,Cod
,CommandBlockMinecart
,ComplexLiving<T>
,ComplexLivingPart<P>
,Cow
,Creature
,Creeper
,DamagingProjectile
,DisplayEntity
,Dolphin
,Donkey
,DragonFireball
,Drowned
,Egg
,ElderGuardian
,EndCrystal
,EnderDragon
,EnderDragonPart
,Enderman
,Endermite
,EnderPearl
,Entity
,EntityTargetingProjectile
,Evoker
,EvokerFangs
,ExperienceBottle
,ExperienceOrb
,Explosive
,ExplosiveFireball
,EyeOfEnder
,FallingBlock
,FireballEntity
,FireworkRocket
,Fish
,FishingBobber
,Fox
,Frog
,FurnaceMinecart
,FusedExplosive
,Ghast
,Giant
,GlowSquid
,Goat
,Golem
,Guardian
,Hanging
,Hoglin
,HopperMinecart
,Horse
,HorseLike
,Hostile
,Human
,Humanoid
,Husk
,Illager
,Illusioner
,Interaction
,IronGolem
,Item
,ItemDisplay
,ItemFrame
,LeashKnot
,LightningBolt
,Living
,Llama
,LlamaLike
,LlamaSpit
,LocalPlayer
,MagmaCube
,Marker
,Minecart
,MinecartLike
,Monster
,Mooshroom
,Mule
,Ocelot
,PackHorse
,Painting
,Panda
,Parrot
,Patroller
,Phantom
,Pig
,Piglin
,PiglinBrute
,PiglinLike
,Pillager
,Player
,PolarBear
,Potion
,PrimedTNT
,Projectile
,Pufferfish
,Rabbit
,Raider
,Ranger
,Ravager
,RemotePlayer
,Salmon
,SchoolingFish
,ServerPlayer
,Sheep
,Shulker
,ShulkerBullet
,Silverfish
,Sittable
,Skeleton
,SkeletonHorse
,SkeletonLike
,Slime
,SmallFireball
,Sniffer
,Snowball
,SnowGolem
,SpawnerMinecart
,SpectralArrow
,Spellcaster
,Spider
,Squid
,Stray
,Strider
,Tadpole
,TameableAnimal
,TameableHorse
,TextDisplay
,TNTMinecart
,Trader
,TraderLlama
,Trident
,TropicalFish
,Turtle
,Vehicle
,Vex
,Villager
,Vindicator
,WanderingTrader
,Warden
,WeatherEffect
,Witch
,Wither
,WitherSkeleton
,WitherSkull
,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
-