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.String
formatPlayerName(Team parTeam, java.lang.String parString1)
+ Returns the player name including the color prefixes and suffixesjava.lang.String
formatString(java.lang.String input)
void
func_98298_a(int parInt1)
int
func_98299_i()
boolean
getAllowFriendlyFire()
EnumChatFormatting
getChatFormat()
java.lang.String
getColorPrefix()
+ Returns the color prefix for the player's team namejava.lang.String
getColorSuffix()
+ Returns the color suffix for the player's team nameTeam.EnumVisible
getDeathMessageVisibility()
java.util.Collection<java.lang.String>
getMembershipCollection()
Team.EnumVisible
getNameTagVisibility()
java.lang.String
getRegisteredName()
+ Retrieve the name by which this team is registered in the scoreboardboolean
getSeeFriendlyInvisiblesEnabled()
java.lang.String
getTeamName()
void
setAllowFriendlyFire(boolean friendlyFire)
void
setChatFormat(EnumChatFormatting parEnumChatFormatting)
void
setDeathMessageVisibility(Team.EnumVisible parEnumVisible)
void
setNamePrefix(java.lang.String prefix)
void
setNameSuffix(java.lang.String suffix)
void
setNameTagVisibility(Team.EnumVisible parEnumVisible)
void
setSeeFriendlyInvisiblesEnabled(boolean friendlyInvisibles)
void
setTeamName(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:
getRegisteredName
in 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:
getMembershipCollection
in 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:
formatString
in 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:
getAllowFriendlyFire
in classTeam
-
setAllowFriendlyFire
public void setAllowFriendlyFire(boolean friendlyFire)
-
getSeeFriendlyInvisiblesEnabled
public boolean getSeeFriendlyInvisiblesEnabled()
- Specified by:
getSeeFriendlyInvisiblesEnabled
in classTeam
-
setSeeFriendlyInvisiblesEnabled
public void setSeeFriendlyInvisiblesEnabled(boolean friendlyInvisibles)
-
getNameTagVisibility
public Team.EnumVisible getNameTagVisibility()
- Specified by:
getNameTagVisibility
in classTeam
-
getDeathMessageVisibility
public Team.EnumVisible getDeathMessageVisibility()
- Specified by:
getDeathMessageVisibility
in 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()
-
-