mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-09 18:08:37 +01:00
778 lines
47 KiB
HTML
778 lines
47 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<title>TeamBuilder (Minestom 1.0 API)</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="description" content="declaration: package: net.minestom.server.scoreboard, class: TeamBuilder">
|
|
<meta name="generator" content="javadoc/ClassWriterImpl">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../script-dir/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../../script-dir/jquery-3.4.1.js"></script>
|
|
<script type="text/javascript" src="../../../../script-dir/jquery-ui.js"></script>
|
|
</head>
|
|
<body class="class-declaration">
|
|
<script type="text/javascript">var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
var pathtoroot = "../../../../";
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<div class="flexBox">
|
|
<header role="banner" class="flexHeader">
|
|
<nav role="navigation">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="navListSearch"><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<div class="skipNav"><a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
</nav>
|
|
</header>
|
|
<div class="flexContent">
|
|
<main role="main">
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">net.minestom.server.scoreboard</a></div>
|
|
<h1 title="Class TeamBuilder" class="title">Class TeamBuilder</h1>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<div class="inheritance" title="Inheritance Tree">java.lang.Object
|
|
<div class="inheritance">net.minestom.server.scoreboard.TeamBuilder</div>
|
|
</div>
|
|
<section class="description">
|
|
<hr>
|
|
<pre>public class <span class="typeNameLabel">TeamBuilder</span>
|
|
extends java.lang.Object</pre>
|
|
<div class="block">A builder which represents a fluent Object to built teams.</div>
|
|
</section>
|
|
<section class="summary">
|
|
<ul class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<li class="blockList">
|
|
<section class="constructorSummary"><a id="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h2>Constructor Summary</h2>
|
|
<div class="memberSummary">
|
|
<table>
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Constructor</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,net.minestom.server.scoreboard.TeamManager)">TeamBuilder</a></span>​(java.lang.String name,
|
|
<a href="TeamManager.html" title="class in net.minestom.server.scoreboard">TeamManager</a> teamManager)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Creates an team builder.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<li class="blockList">
|
|
<section class="methodSummary"><a id="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h2>Method Summary</h2>
|
|
<div class="memberSummary">
|
|
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div>
|
|
<div id="memberSummary_tabpanel" role="tabpanel">
|
|
<table aria-labelledby="t0">
|
|
<thead>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="altColor" id="i0">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowFriendlyFire()">allowFriendlyFire</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the friendly flags for allow friendly fire without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i1">
|
|
<td class="colFirst"><code><a href="Team.html" title="class in net.minestom.server.scoreboard">Team</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build()">build</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Built a team.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i2">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collisionRule(net.minestom.server.network.packet.server.play.TeamsPacket.CollisionRule)">collisionRule</a></span>​(<a href="../network/packet/server/play/TeamsPacket.CollisionRule.html" title="enum in net.minestom.server.network.packet.server.play">TeamsPacket.CollisionRule</a> rule)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the <a href="../network/packet/server/play/TeamsPacket.CollisionRule.html" title="enum in net.minestom.server.network.packet.server.play"><code>TeamsPacket.CollisionRule</code></a> of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i3">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#friendlyFlags(byte)">friendlyFlags</a></span>​(byte flag)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the friendly flags of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i4">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nameTagVisibility(net.minestom.server.network.packet.server.play.TeamsPacket.NameTagVisibility)">nameTagVisibility</a></span>​(<a href="../network/packet/server/play/TeamsPacket.NameTagVisibility.html" title="enum in net.minestom.server.network.packet.server.play">TeamsPacket.NameTagVisibility</a> visibility)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the <a href="../network/packet/server/play/TeamsPacket.NameTagVisibility.html" title="enum in net.minestom.server.network.packet.server.play"><code>TeamsPacket.NameTagVisibility</code></a> of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i5">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prefix(java.lang.String)">prefix</a></span>​(java.lang.String prefix)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the prefix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i6">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prefix(net.minestom.server.chat.ColoredText)">prefix</a></span>​(<a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> prefix)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the prefix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i7">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#seeInvisiblePlayers()">seeInvisiblePlayers</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the friendly flags to sees invisible players of own team without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i8">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#suffix(java.lang.String)">suffix</a></span>​(java.lang.String suffix)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the suffix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i9">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#suffix(net.minestom.server.chat.ColoredText)">suffix</a></span>​(<a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> suffix)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the suffix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i10">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#teamColor(net.minestom.server.chat.ChatColor)">teamColor</a></span>​(<a href="../chat/ChatColor.html" title="class in net.minestom.server.chat">ChatColor</a> color)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the color of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i11">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#teamDisplayName(java.lang.String)">teamDisplayName</a></span>​(java.lang.String displayName)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the display name of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i12">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#teamDisplayName(net.minestom.server.chat.ColoredText)">teamDisplayName</a></span>​(<a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> displayName)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the display name of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i13">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateAllowFriendlyFire()">updateAllowFriendlyFire</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the friendly flags for allow friendly fire.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i14">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateCollisionRule(net.minestom.server.network.packet.server.play.TeamsPacket.CollisionRule)">updateCollisionRule</a></span>​(<a href="../network/packet/server/play/TeamsPacket.CollisionRule.html" title="enum in net.minestom.server.network.packet.server.play">TeamsPacket.CollisionRule</a> rule)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the <a href="../network/packet/server/play/TeamsPacket.CollisionRule.html" title="enum in net.minestom.server.network.packet.server.play"><code>TeamsPacket.CollisionRule</code></a> of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i15">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateFriendlyFlags(byte)">updateFriendlyFlags</a></span>​(byte flag)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the friendly flags of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i16">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateNameTagVisibility(net.minestom.server.network.packet.server.play.TeamsPacket.NameTagVisibility)">updateNameTagVisibility</a></span>​(<a href="../network/packet/server/play/TeamsPacket.NameTagVisibility.html" title="enum in net.minestom.server.network.packet.server.play">TeamsPacket.NameTagVisibility</a> visibility)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the <a href="../network/packet/server/play/TeamsPacket.NameTagVisibility.html" title="enum in net.minestom.server.network.packet.server.play"><code>TeamsPacket.NameTagVisibility</code></a> of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i17">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updatePrefix(java.lang.String)">updatePrefix</a></span>​(java.lang.String prefix)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the prefix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i18">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updatePrefix(net.minestom.server.chat.ColoredText)">updatePrefix</a></span>​(<a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> prefix)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the prefix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i19">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSeeInvisiblePlayers()">updateSeeInvisiblePlayers</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the friendly flags to sees invisible players of own team.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i20">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSuffix(java.lang.String)">updateSuffix</a></span>​(java.lang.String suffix)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the suffix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i21">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSuffix(net.minestom.server.chat.ColoredText)">updateSuffix</a></span>​(<a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> suffix)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the suffix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i22">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateTeamColor(net.minestom.server.chat.ChatColor)">updateTeamColor</a></span>​(<a href="../chat/ChatColor.html" title="class in net.minestom.server.chat">ChatColor</a> color)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the color of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i23">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateTeamDisplayName(java.lang.String)">updateTeamDisplayName</a></span>​(java.lang.String displayName)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the display name of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i24">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateTeamDisplayName(net.minestom.server.chat.ColoredText)">updateTeamDisplayName</a></span>​(<a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> displayName)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the display name of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i25">
|
|
<td class="colFirst"><code><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateTeamPacket()">updateTeamPacket</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Allows to send an update packet when the team is built.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="inheritedList">
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<a id="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a><code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<section class="details">
|
|
<ul class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<li class="blockList">
|
|
<section class="constructorDetails"><a id="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h2>Constructor Details</h2>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="<init>(java.lang.String,net.minestom.server.scoreboard.TeamManager)">TeamBuilder</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">TeamBuilder</span>​(<span class="arguments">java.lang.String name,
|
|
<a href="TeamManager.html" title="class in net.minestom.server.scoreboard">TeamManager</a> teamManager)</span></div>
|
|
<div class="block">Creates an team builder.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>name</code> - The name of the new team</dd>
|
|
<dd><code>teamManager</code> - The manager for the team</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<li class="blockList">
|
|
<section class="methodDetails"><a id="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h2>Method Details</h2>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updatePrefix(java.lang.String)">updatePrefix</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updatePrefix</span>​(<span class="arguments">java.lang.String prefix)</span></div>
|
|
<div class="block">Updates the prefix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>prefix</code> - The new prefix</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updatePrefix(net.minestom.server.chat.ColoredText)">updatePrefix</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updatePrefix</span>​(<span class="arguments"><a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> prefix)</span></div>
|
|
<div class="block">Updates the prefix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>prefix</code> - The new prefix</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updateTeamColor(net.minestom.server.chat.ChatColor)">updateTeamColor</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updateTeamColor</span>​(<span class="arguments"><a href="../chat/ChatColor.html" title="class in net.minestom.server.chat">ChatColor</a> color)</span></div>
|
|
<div class="block">Updates the color of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>color</code> - The new color</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updateSuffix(java.lang.String)">updateSuffix</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updateSuffix</span>​(<span class="arguments">java.lang.String suffix)</span></div>
|
|
<div class="block">Updates the suffix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>suffix</code> - The new suffix</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updateSuffix(net.minestom.server.chat.ColoredText)">updateSuffix</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updateSuffix</span>​(<span class="arguments"><a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> suffix)</span></div>
|
|
<div class="block">Updates the suffix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>suffix</code> - The new suffix</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updateTeamDisplayName(java.lang.String)">updateTeamDisplayName</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updateTeamDisplayName</span>​(<span class="arguments">java.lang.String displayName)</span></div>
|
|
<div class="block">Updates the display name of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>displayName</code> - The new display name</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updateTeamDisplayName(net.minestom.server.chat.ColoredText)">updateTeamDisplayName</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updateTeamDisplayName</span>​(<span class="arguments"><a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> displayName)</span></div>
|
|
<div class="block">Updates the display name of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>displayName</code> - The new display name</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updateCollisionRule(net.minestom.server.network.packet.server.play.TeamsPacket.CollisionRule)">updateCollisionRule</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updateCollisionRule</span>​(<span class="arguments"><a href="../network/packet/server/play/TeamsPacket.CollisionRule.html" title="enum in net.minestom.server.network.packet.server.play">TeamsPacket.CollisionRule</a> rule)</span></div>
|
|
<div class="block">Updates the <a href="../network/packet/server/play/TeamsPacket.CollisionRule.html" title="enum in net.minestom.server.network.packet.server.play"><code>TeamsPacket.CollisionRule</code></a> of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>rule</code> - The new rule</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updateNameTagVisibility(net.minestom.server.network.packet.server.play.TeamsPacket.NameTagVisibility)">updateNameTagVisibility</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updateNameTagVisibility</span>​(<span class="arguments"><a href="../network/packet/server/play/TeamsPacket.NameTagVisibility.html" title="enum in net.minestom.server.network.packet.server.play">TeamsPacket.NameTagVisibility</a> visibility)</span></div>
|
|
<div class="block">Updates the <a href="../network/packet/server/play/TeamsPacket.NameTagVisibility.html" title="enum in net.minestom.server.network.packet.server.play"><code>TeamsPacket.NameTagVisibility</code></a> of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>visibility</code> - The new tag visibility</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updateFriendlyFlags(byte)">updateFriendlyFlags</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updateFriendlyFlags</span>​(<span class="arguments">byte flag)</span></div>
|
|
<div class="block">Updates the friendly flags of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>flag</code> - The new friendly flag</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updateAllowFriendlyFire()">updateAllowFriendlyFire</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updateAllowFriendlyFire</span>()</div>
|
|
<div class="block">Updates the friendly flags for allow friendly fire.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updateSeeInvisiblePlayers()">updateSeeInvisiblePlayers</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updateSeeInvisiblePlayers</span>()</div>
|
|
<div class="block">Updates the friendly flags to sees invisible players of own team.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="prefix(java.lang.String)">prefix</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">prefix</span>​(<span class="arguments">java.lang.String prefix)</span></div>
|
|
<div class="block">Changes the prefix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>prefix</code> - The new prefix</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="prefix(net.minestom.server.chat.ColoredText)">prefix</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">prefix</span>​(<span class="arguments"><a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> prefix)</span></div>
|
|
<div class="block">Changes the prefix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>prefix</code> - The new prefix</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="suffix(java.lang.String)">suffix</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">suffix</span>​(<span class="arguments">java.lang.String suffix)</span></div>
|
|
<div class="block">Changes the suffix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>suffix</code> - The new suffix</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="suffix(net.minestom.server.chat.ColoredText)">suffix</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">suffix</span>​(<span class="arguments"><a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> suffix)</span></div>
|
|
<div class="block">Changes the suffix of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>suffix</code> - The new suffix</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="teamColor(net.minestom.server.chat.ChatColor)">teamColor</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">teamColor</span>​(<span class="arguments"><a href="../chat/ChatColor.html" title="class in net.minestom.server.chat">ChatColor</a> color)</span></div>
|
|
<div class="block">Changes the color of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>color</code> - The new team color</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="teamDisplayName(java.lang.String)">teamDisplayName</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">teamDisplayName</span>​(<span class="arguments">java.lang.String displayName)</span></div>
|
|
<div class="block">Changes the display name of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>displayName</code> - The new display name</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="teamDisplayName(net.minestom.server.chat.ColoredText)">teamDisplayName</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">teamDisplayName</span>​(<span class="arguments"><a href="../chat/ColoredText.html" title="class in net.minestom.server.chat">ColoredText</a> displayName)</span></div>
|
|
<div class="block">Changes the display name of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>displayName</code> - The new display name</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="collisionRule(net.minestom.server.network.packet.server.play.TeamsPacket.CollisionRule)">collisionRule</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">collisionRule</span>​(<span class="arguments"><a href="../network/packet/server/play/TeamsPacket.CollisionRule.html" title="enum in net.minestom.server.network.packet.server.play">TeamsPacket.CollisionRule</a> rule)</span></div>
|
|
<div class="block">Changes the <a href="../network/packet/server/play/TeamsPacket.CollisionRule.html" title="enum in net.minestom.server.network.packet.server.play"><code>TeamsPacket.CollisionRule</code></a> of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>rule</code> - The new rule</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="nameTagVisibility(net.minestom.server.network.packet.server.play.TeamsPacket.NameTagVisibility)">nameTagVisibility</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">nameTagVisibility</span>​(<span class="arguments"><a href="../network/packet/server/play/TeamsPacket.NameTagVisibility.html" title="enum in net.minestom.server.network.packet.server.play">TeamsPacket.NameTagVisibility</a> visibility)</span></div>
|
|
<div class="block">Changes the <a href="../network/packet/server/play/TeamsPacket.NameTagVisibility.html" title="enum in net.minestom.server.network.packet.server.play"><code>TeamsPacket.NameTagVisibility</code></a> of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>visibility</code> - The new tag visibility</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="friendlyFlags(byte)">friendlyFlags</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">friendlyFlags</span>​(<span class="arguments">byte flag)</span></div>
|
|
<div class="block">Changes the friendly flags of the <a href="Team.html" title="class in net.minestom.server.scoreboard"><code>Team</code></a> without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>flag</code> - The new flag</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="allowFriendlyFire()">allowFriendlyFire</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">allowFriendlyFire</span>()</div>
|
|
<div class="block">Changes the friendly flags for allow friendly fire without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="seeInvisiblePlayers()">seeInvisiblePlayers</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">seeInvisiblePlayers</span>()</div>
|
|
<div class="block">Changes the friendly flags to sees invisible players of own team without an update packet.
|
|
<br><br>
|
|
<b>Warning: </b> If you do not call <a href="#updateTeamPacket()"><code>updateTeamPacket()</code></a>, this is only changed of the <b>server side</b>.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="updateTeamPacket()">updateTeamPacket</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="TeamBuilder.html" title="class in net.minestom.server.scoreboard">TeamBuilder</a></span> <span class="memberName">updateTeamPacket</span>()</div>
|
|
<div class="block">Allows to send an update packet when the team is built.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this builder, for chaining</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="build()">build</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="Team.html" title="class in net.minestom.server.scoreboard">Team</a></span> <span class="memberName">build</span>()</div>
|
|
<div class="block">Built a team.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the built team</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
</main>
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|