Package org.spongepowered.api.scoreboard
Interface TeamMember
- All Known Subinterfaces:
AcceleratingProjectile,Aerial,Ageable,Agent,Allay,Ambient,Angerable,Animal,Aquatic,AreaEffectCloud,Armadillo,ArmorStand,Arrow,ArrowLike,Attackable,Axolotl,Bat,Bee,Blaze,BlockDisplay,BlockOccupiedMinecart,Boat,Bogged,Boss,Breedable,Breeze,BreezeWindCharge,Camel,CarrierMinecart<M>,Cat,CaveSpider,Chargeable,ChestBoat,ChestMinecart,Chicken,ClientPlayer,Cod,CommandBlockMinecart,ComplexLiving<T>,ComplexLivingPart<P>,Cow,Creaking,Creeper,DisplayEntity,Dolphin,Donkey,DragonFireball,Drowned,Egg,ElderGuardian,EndCrystal,EnderDragon,EnderDragonPart,Enderman,Endermite,EnderPearl,Entity,Evoker,EvokerFangs,ExperienceBottle,ExperienceOrb,Explosive,ExplosiveFireball,EyeOfEnder,FallingBlock,FireworkRocket,Fish,FishingBobber,Fox,Frog,FurnaceMinecart,FusedExplosive,Ghast,Giant,GlowItemFrame,GlowSquid,Goat,Golem,Guardian,Hanging,Hoglin,HopperMinecart,Horse,HorseLike,Hostile,Human,Humanoid,Husk,IgnitingProjectile,Illager,Illusioner,Interaction,IronGolem,Item,ItemDisplay,ItemFrame,ItemRepresentable,Leashable,LeashKnot,LightningBolt,Living,Llama,LlamaSpit,LocalPlayer,MagmaCube,Marker,Minecart,MinecartLike,Monster,Mooshroom,Mule,Ocelot,OminousItemSpawner,Ownable,PackHorse,Painting,Panda,Parrot,PathfinderAgent,Patroller,Phantom,Pig,Piglin,PiglinBrute,PiglinLike,Pillager,Player,PolarBear,Potion,PrimedTNT,Projectile,Pufferfish,Rabbit,Raft,Raider,RangedAgent,Ranger,Ravager,RemotePlayer,Saddleable,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,Targeting,TextDisplay,ThrowableItemProjectile,TNTMinecart,TraderLlama,Trident,TropicalFish,Turtle,Vehicle,Vex,Villager,VillagerLike,Vindicator,WanderingTrader,Warden,WindCharge,WindChargeLike,Witch,Wither,WitherSkeleton,WitherSkull,Wolf,Zoglin,Zombie,ZombieHorse,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:
Players, represented in Vanilla by their name- Other
living entities, represented in Vanilla by theirUUID
-
Method Summary
Modifier and TypeMethodDescriptionGets aComponentrepresenting this team member, suitable for adding to anTeamwithTeam.addMember(Component).
-
Method Details
-
teamRepresentation
Component teamRepresentation()Gets aComponentrepresenting this team member, suitable for adding to anTeamwithTeam.addMember(Component).- Returns:
- an
Componentrepresenting this team member
-