Interface ScoreHolder

All Known Implementing Classes:
AbstractClientPlayerEntity, AbstractDecorationEntity, AbstractDonkeyEntity, AbstractFireballEntity, AbstractHorseEntity, AbstractMinecartEntity, AbstractPiglinEntity, AbstractSkeletonEntity, AllayEntity, AmbientEntity, AnimalEntity, AreaEffectCloudEntity, ArmorStandEntity, ArrowEntity, AxolotlEntity, BatEntity, BeeEntity, BlazeEntity, BoatEntity, BreezeEntity, CamelEntity, CatEntity, CaveSpiderEntity, ChestBoatEntity, ChestMinecartEntity, ChickenEntity, ClientPlayerEntity, CodEntity, CommandBlockMinecartEntity, CowEntity, 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, FlyingEntity, FoxEntity, FrogEntity, FurnaceMinecartEntity, GhastEntity, GiantEntity, GlowItemFrameEntity, GlowSquidEntity, GoatEntity, GolemEntity, GuardianEntity, HoglinEntity, HopperMinecartEntity, HorseEntity, HostileEntity, HuskEntity, IllagerEntity, IllusionerEntity, InteractionEntity, IronGolemEntity, ItemEntity, ItemFrameEntity, LeashKnotEntity, LightningEntity, LivingEntity, LlamaEntity, LlamaSpitEntity, MagmaCubeEntity, MarkerEntity, MerchantEntity, MinecartEntity, MobEntity, MooshroomEntity, MuleEntity, OcelotEntity, OtherClientPlayerEntity, PaintingEntity, PandaEntity, ParrotEntity, PassiveEntity, PathAwareEntity, PatrolEntity, PersistentProjectileEntity, PhantomEntity, PigEntity, PiglinBruteEntity, PiglinEntity, PillagerEntity, PlayerEntity, PolarBearEntity, PotionEntity, ProjectileEntity, PufferfishEntity, RabbitEntity, RaiderEntity, RavagerEntity, SalmonEntity, SchoolingFishEntity, ServerPlayerEntity, SheepEntity, ShulkerBulletEntity, ShulkerEntity, SilverfishEntity, SkeletonEntity, SkeletonHorseEntity, SlimeEntity, SmallFireballEntity, SnifferEntity, SnowballEntity, SnowGolemEntity, SpawnerMinecartEntity, SpectralArrowEntity, SpellcastingIllagerEntity, SpiderEntity, SquidEntity, StorageMinecartEntity, StrayEntity, StriderEntity, TadpoleEntity, TameableEntity, TameableShoulderEntity, ThrownEntity, ThrownItemEntity, TntEntity, TntMinecartEntity, TraderLlamaEntity, TridentEntity, TropicalFishEntity, TurtleEntity, VehicleEntity, VexEntity, VillagerEntity, VindicatorEntity, WanderingTraderEntity, WardenEntity, WaterCreatureEntity, WindChargeEntity, WitchEntity, WitherEntity, WitherSkeletonEntity, WitherSkullEntity, WolfEntity, ZoglinEntity, ZombieEntity, ZombieHorseEntity, ZombieVillagerEntity, ZombifiedPiglinEntity

public interface ScoreHolder
Mappings:
Namespace Name
official emw
intermediary net/minecraft/class_9015
named net/minecraft/scoreboard/ScoreHolder
  • Field Details

    • WILDCARD_NAME

      static final String WILDCARD_NAME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a_ Lemw;a_:Ljava/lang/String;
      intermediary field_47537 Lnet/minecraft/class_9015;field_47537:Ljava/lang/String;
      named WILDCARD_NAME Lnet/minecraft/scoreboard/ScoreHolder;WILDCARD_NAME:Ljava/lang/String;
    • WILDCARD

      static final ScoreHolder WILDCARD
      Mappings:
      Namespace Name Mixin selector
      official cv Lemw;cv:Lemw;
      intermediary field_47538 Lnet/minecraft/class_9015;field_47538:Lnet/minecraft/class_9015;
      named WILDCARD Lnet/minecraft/scoreboard/ScoreHolder;WILDCARD:Lnet/minecraft/scoreboard/ScoreHolder;
  • 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
      official cy Lemw;cy()Ljava/lang/String;
      intermediary method_5820 Lnet/minecraft/class_9015;method_5820()Ljava/lang/String;
      named getNameForScoreboard Lnet/minecraft/scoreboard/ScoreHolder;getNameForScoreboard()Ljava/lang/String;
    • getDisplayName

      @Nullable default @Nullable Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official Q_ Lemw;Q_()Lvf;
      intermediary method_5476 Lnet/minecraft/class_9015;method_5476()Lnet/minecraft/class_2561;
      named getDisplayName Lnet/minecraft/scoreboard/ScoreHolder;getDisplayName()Lnet/minecraft/text/Text;
    • getStyledDisplayName

      default Text getStyledDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official gU Lemw;gU()Lvf;
      intermediary method_55423 Lnet/minecraft/class_9015;method_55423()Lnet/minecraft/class_2561;
      named getStyledDisplayName Lnet/minecraft/scoreboard/ScoreHolder;getStyledDisplayName()Lnet/minecraft/text/Text;
    • fromName

      static ScoreHolder fromName(String name)
      Mappings:
      Namespace Name Mixin selector
      official d Lemw;d(Ljava/lang/String;)Lemw;
      intermediary method_55422 Lnet/minecraft/class_9015;method_55422(Ljava/lang/String;)Lnet/minecraft/class_9015;
      named fromName Lnet/minecraft/scoreboard/ScoreHolder;fromName(Ljava/lang/String;)Lnet/minecraft/scoreboard/ScoreHolder;
    • fromProfile

      static ScoreHolder fromProfile(com.mojang.authlib.GameProfile gameProfile)
      Mappings:
      Namespace Name Mixin selector
      official a Lemw;a(Lcom/mojang/authlib/GameProfile;)Lemw;
      intermediary method_55420 Lnet/minecraft/class_9015;method_55420(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_9015;
      named fromProfile Lnet/minecraft/scoreboard/ScoreHolder;fromProfile(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/scoreboard/ScoreHolder;