Package net.minecraft.scoreboard
Interface ScoreHolder
- All Known Implementing Classes:
AbstractBoatEntity,AbstractChestBoatEntity,AbstractClientPlayerEntity,AbstractCowEntity,AbstractDecorationEntity,AbstractDonkeyEntity,AbstractFireballEntity,AbstractHorseEntity,AbstractMinecartEntity,AbstractNautilusEntity,AbstractPiglinEntity,AbstractSkeletonEntity,AbstractWindChargeEntity,AllayEntity,AmbientEntity,AnimalEntity,AreaEffectCloudEntity,ArmadilloEntity,ArmorStandEntity,ArrowEntity,AxolotlEntity,BatEntity,BeeEntity,BlazeEntity,BlockAttachedEntity,BoatEntity,BoggedEntity,BreezeEntity,BreezeWindChargeEntity,CamelEntity,CamelHuskEntity,CatEntity,CaveSpiderEntity,ChestBoatEntity,ChestMinecartEntity,ChestRaftEntity,ChickenEntity,ClientMannequinEntity,ClientPlayerEntity,CodEntity,CommandBlockMinecartEntity,CopperGolemEntity,CowEntity,CreakingEntity,CreeperEntity,DisplayEntity,DisplayEntity.BlockDisplayEntity,DisplayEntity.ItemDisplayEntity,DisplayEntity.TextDisplayEntity,DolphinEntity,DonkeyEntity,DragonFireballEntity,DrownedEntity,EggEntity,ElderGuardianEntity,EndCrystalEntity,EnderDragonEntity,EnderDragonPart,EndermanEntity,EndermiteEntity,EnderPearlEntity,Entity,EvokerEntity,EvokerFangsEntity,ExperienceBottleEntity,ExperienceOrbEntity,ExplosiveProjectileEntity,EyeOfEnderEntity,FallingBlockEntity,FireballEntity,FireworkRocketEntity,FishEntity,FishingBobberEntity,FoxEntity,FrogEntity,FurnaceMinecartEntity,GhastEntity,GiantEntity,GlowItemFrameEntity,GlowSquidEntity,GoatEntity,GolemEntity,GuardianEntity,HappyGhastEntity,HoglinEntity,HopperMinecartEntity,HorseEntity,HostileEntity,HuskEntity,IllagerEntity,IllusionerEntity,InteractionEntity,IronGolemEntity,ItemEntity,ItemFrameEntity,LeashKnotEntity,LightningEntity,LingeringPotionEntity,LivingEntity,LlamaEntity,LlamaSpitEntity,MagmaCubeEntity,MannequinEntity,MarkerEntity,MerchantEntity,MinecartEntity,MobEntity,MooshroomEntity,MuleEntity,NautilusEntity,OcelotEntity,OminousItemSpawnerEntity,OtherClientPlayerEntity,PaintingEntity,PandaEntity,ParchedEntity,ParrotEntity,PassiveEntity,PathAwareEntity,PatrolEntity,PersistentProjectileEntity,PhantomEntity,PigEntity,PiglinBruteEntity,PiglinEntity,PillagerEntity,PlayerEntity,PlayerLikeEntity,PolarBearEntity,PotionEntity,ProjectileEntity,PufferfishEntity,RabbitEntity,RaftEntity,RaiderEntity,RavagerEntity,SalmonEntity,SchoolingFishEntity,ServerPlayerEntity,SheepEntity,ShulkerBulletEntity,ShulkerEntity,SilverfishEntity,SkeletonEntity,SkeletonHorseEntity,SlimeEntity,SmallFireballEntity,SnifferEntity,SnowballEntity,SnowGolemEntity,SpawnerMinecartEntity,SpectralArrowEntity,SpellcastingIllagerEntity,SpiderEntity,SplashPotionEntity,SquidEntity,StorageMinecartEntity,StrayEntity,StriderEntity,TadpoleEntity,TameableEntity,TameableShoulderEntity,ThrownEntity,ThrownItemEntity,TntEntity,TntMinecartEntity,TraderLlamaEntity,TridentEntity,TropicalFishEntity,TurtleEntity,VehicleEntity,VexEntity,VillagerEntity,VindicatorEntity,WanderingTraderEntity,WardenEntity,WaterAnimalEntity,WaterCreatureEntity,WindChargeEntity,WitchEntity,WitherEntity,WitherSkeletonEntity,WitherSkullEntity,WolfEntity,ZoglinEntity,ZombieEntity,ZombieHorseEntity,ZombieNautilusEntity,ZombieVillagerEntity,ZombifiedPiglinEntity
public interface ScoreHolder
- Mappings:
Namespace Name named net/minecraft/scoreboard/ScoreHolderintermediary net/minecraft/class_9015official ftm
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ScoreHolderstatic ScoreHolderfromProfile(com.mojang.authlib.GameProfile gameProfile) default @Nullable TextReturns the name uniquely identifying the score holder.default Text
-
Field Details
-
WILDCARD_NAME
- See Also:
- Mappings:
Namespace Name Mixin selector named WILDCARD_NAMELnet/minecraft/scoreboard/ScoreHolder;WILDCARD_NAME:Ljava/lang/String;intermediary field_47537Lnet/minecraft/class_9015;field_47537:Ljava/lang/String;official cSLftm;cS:Ljava/lang/String;
-
WILDCARD
- Mappings:
Namespace Name Mixin selector named WILDCARDLnet/minecraft/scoreboard/ScoreHolder;WILDCARD:Lnet/minecraft/scoreboard/ScoreHolder;intermediary field_47538Lnet/minecraft/class_9015;field_47538:Lnet/minecraft/class_9015;official cTLftm;cT:Lftm;
-
-
Method Details
-
getNameForScoreboard
String getNameForScoreboard()Returns the name uniquely identifying the score holder.Unlike
Entity.getName(), this is guaranteed to be unique. This is the UUID for all entities except players (which use the player's username).- Returns:
- the name uniquely identifying the score holder
- See Also:
- Mappings:
Namespace Name Mixin selector named getNameForScoreboardLnet/minecraft/scoreboard/ScoreHolder;getNameForScoreboard()Ljava/lang/String;intermediary method_5820Lnet/minecraft/class_9015;method_5820()Ljava/lang/String;official cZLftm;cZ()Ljava/lang/String;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector named getDisplayNameLnet/minecraft/scoreboard/ScoreHolder;getDisplayName()Lnet/minecraft/text/Text;intermediary method_5476Lnet/minecraft/class_9015;method_5476()Lnet/minecraft/class_2561;official S_Lftm;S_()Lyh;
-
getStyledDisplayName
- Mappings:
Namespace Name Mixin selector named getStyledDisplayNameLnet/minecraft/scoreboard/ScoreHolder;getStyledDisplayName()Lnet/minecraft/text/Text;intermediary method_55423Lnet/minecraft/class_9015;method_55423()Lnet/minecraft/class_2561;official hGLftm;hG()Lyh;
-
fromName
- Mappings:
Namespace Name Mixin selector named fromNameLnet/minecraft/scoreboard/ScoreHolder;fromName(Ljava/lang/String;)Lnet/minecraft/scoreboard/ScoreHolder;intermediary method_55422Lnet/minecraft/class_9015;method_55422(Ljava/lang/String;)Lnet/minecraft/class_9015;official cLftm;c(Ljava/lang/String;)Lftm;
-
fromProfile
- Mappings:
Namespace Name Mixin selector named fromProfileLnet/minecraft/scoreboard/ScoreHolder;fromProfile(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/scoreboard/ScoreHolder;intermediary method_55420Lnet/minecraft/class_9015;method_55420(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_9015;official aLftm;a(Lcom/mojang/authlib/GameProfile;)Lftm;
-