本文整理汇总了Java中net.minecraft.scoreboard.ScorePlayerTeam.func_98299_i方法的典型用法代码示例。如果您正苦于以下问题:Java ScorePlayerTeam.func_98299_i方法的具体用法?Java ScorePlayerTeam.func_98299_i怎么用?Java ScorePlayerTeam.func_98299_i使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类net.minecraft.scoreboard.ScorePlayerTeam
的用法示例。
在下文中一共展示了ScorePlayerTeam.func_98299_i方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: S3EPacketTeams
import net.minecraft.scoreboard.ScorePlayerTeam; //导入方法依赖的package包/类
public S3EPacketTeams(ScorePlayerTeam p_i45225_1_, int p_i45225_2_)
{
this.field_179816_e = Team.EnumVisible.ALWAYS.field_178830_e;
this.field_179815_f = -1;
this.field_149317_e = Lists.<String>newArrayList();
this.field_149320_a = p_i45225_1_.getRegisteredName();
this.field_149314_f = p_i45225_2_;
if (p_i45225_2_ == 0 || p_i45225_2_ == 2)
{
this.field_149318_b = p_i45225_1_.getTeamName();
this.field_149319_c = p_i45225_1_.getColorPrefix();
this.field_149316_d = p_i45225_1_.getColorSuffix();
this.field_149315_g = p_i45225_1_.func_98299_i();
this.field_179816_e = p_i45225_1_.getNameTagVisibility().field_178830_e;
this.field_179815_f = p_i45225_1_.getChatFormat().getColorIndex();
}
if (p_i45225_2_ == 0)
{
this.field_149317_e.addAll(p_i45225_1_.getMembershipCollection());
}
}