Package net.minecraft.scoreboard
Class ScorePlayerTeam
- java.lang.Object
-
- net.minecraft.scoreboard.Team
-
- net.minecraft.scoreboard.ScorePlayerTeam
-
public class ScorePlayerTeam extends Team
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.scoreboard.Team
Team.EnumVisible
-
-
Constructor Summary
Constructors Constructor Description ScorePlayerTeam(Scoreboard theScoreboardIn, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.StringformatPlayerName(Team parTeam, java.lang.String parString1)+ Returns the player name including the color prefixes and suffixesjava.lang.StringformatString(java.lang.String input)voidfunc_98298_a(int parInt1)intfunc_98299_i()booleangetAllowFriendlyFire()EnumChatFormattinggetChatFormat()java.lang.StringgetColorPrefix()+ Returns the color prefix for the player's team namejava.lang.StringgetColorSuffix()+ Returns the color suffix for the player's team nameTeam.EnumVisiblegetDeathMessageVisibility()java.util.Collection<java.lang.String>getMembershipCollection()Team.EnumVisiblegetNameTagVisibility()java.lang.StringgetRegisteredName()+ Retrieve the name by which this team is registered in the scoreboardbooleangetSeeFriendlyInvisiblesEnabled()java.lang.StringgetTeamName()voidsetAllowFriendlyFire(boolean friendlyFire)voidsetChatFormat(EnumChatFormatting parEnumChatFormatting)voidsetDeathMessageVisibility(Team.EnumVisible parEnumVisible)voidsetNamePrefix(java.lang.String prefix)voidsetNameSuffix(java.lang.String suffix)voidsetNameTagVisibility(Team.EnumVisible parEnumVisible)voidsetSeeFriendlyInvisiblesEnabled(boolean friendlyInvisibles)voidsetTeamName(java.lang.String name)-
Methods inherited from class net.minecraft.scoreboard.Team
isSameTeam
-
-
-
-
Constructor Detail
-
ScorePlayerTeam
public ScorePlayerTeam(Scoreboard theScoreboardIn, java.lang.String name)
-
-
Method Detail
-
getRegisteredName
public java.lang.String getRegisteredName()
+ Retrieve the name by which this team is registered in the scoreboard- Specified by:
getRegisteredNamein classTeam
-
getTeamName
public java.lang.String getTeamName()
-
setTeamName
public void setTeamName(java.lang.String name)
-
getMembershipCollection
public java.util.Collection<java.lang.String> getMembershipCollection()
- Specified by:
getMembershipCollectionin classTeam
-
getColorPrefix
public java.lang.String getColorPrefix()
+ Returns the color prefix for the player's team name
-
setNamePrefix
public void setNamePrefix(java.lang.String prefix)
-
getColorSuffix
public java.lang.String getColorSuffix()
+ Returns the color suffix for the player's team name
-
setNameSuffix
public void setNameSuffix(java.lang.String suffix)
-
formatString
public java.lang.String formatString(java.lang.String input)
- Specified by:
formatStringin classTeam
-
formatPlayerName
public static java.lang.String formatPlayerName(Team parTeam, java.lang.String parString1)
+ Returns the player name including the color prefixes and suffixes
-
getAllowFriendlyFire
public boolean getAllowFriendlyFire()
- Specified by:
getAllowFriendlyFirein classTeam
-
setAllowFriendlyFire
public void setAllowFriendlyFire(boolean friendlyFire)
-
getSeeFriendlyInvisiblesEnabled
public boolean getSeeFriendlyInvisiblesEnabled()
- Specified by:
getSeeFriendlyInvisiblesEnabledin classTeam
-
setSeeFriendlyInvisiblesEnabled
public void setSeeFriendlyInvisiblesEnabled(boolean friendlyInvisibles)
-
getNameTagVisibility
public Team.EnumVisible getNameTagVisibility()
- Specified by:
getNameTagVisibilityin classTeam
-
getDeathMessageVisibility
public Team.EnumVisible getDeathMessageVisibility()
- Specified by:
getDeathMessageVisibilityin classTeam
-
setNameTagVisibility
public void setNameTagVisibility(Team.EnumVisible parEnumVisible)
-
setDeathMessageVisibility
public void setDeathMessageVisibility(Team.EnumVisible parEnumVisible)
-
func_98299_i
public int func_98299_i()
-
func_98298_a
public void func_98298_a(int parInt1)
-
setChatFormat
public void setChatFormat(EnumChatFormatting parEnumChatFormatting)
-
getChatFormat
public EnumChatFormatting getChatFormat()
-
-