PlotSquared/doc/com/intellectualcrafters/plot/util/PlotHelper.html
2014-11-16 11:14:40 +01:00

1291 lines
59 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="sv">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Sun Nov 16 11:09:54 CET 2014 -->
<title>PlotHelper</title>
<meta name="date" content="2014-11-16">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title = "PlotHelper";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.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-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html"
title="class in com.intellectualcrafters.plot.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/intellectualcrafters/plot/util/PlotSquaredException.html"
title="class in com.intellectualcrafters.plot.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/intellectualcrafters/plot/util/PlotHelper.html" target="_top">Frames</a>
</li>
<li><a href="PlotHelper.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if (window == top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.intellectualcrafters.plot.util</div>
<h2 title="Class PlotHelper" class="title">Class PlotHelper</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.intellectualcrafters.plot.util.PlotHelper</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">PlotHelper</span>
extends java.lang.Object</pre>
<div class="block">plot functions</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0"
summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#canSetFast">canSetFast</a></strong></code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.HashMap&lt;<a
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>,java.lang.Integer&gt;</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#runners">runners</a></strong></code>&nbsp;
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.ArrayList&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#runners_p">runners_p</a></strong></code>&nbsp;
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0"
summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#PlotHelper()">PlotHelper</a></strong>()</code>&nbsp;
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0"
summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#adjustWall(org.bukkit.entity.Player,%20com.intellectualcrafters.plot.object.Plot,%20com.intellectualcrafters.plot.object.PlotBlock)">adjustWall</a></strong>(org.bukkit.entity.Player&nbsp;player,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>&nbsp;block)</code>
<div class="block">Adjusts a plot wall</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#adjustWallFilling(org.bukkit.entity.Player,%20com.intellectualcrafters.plot.object.Plot,%20com.intellectualcrafters.plot.object.PlotBlock)">adjustWallFilling</a></strong>(org.bukkit.entity.Player&nbsp;requester,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>&nbsp;block)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#autoMerge(org.bukkit.World,%20com.intellectualcrafters.plot.object.Plot,%20org.bukkit.entity.Player)">autoMerge</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
org.bukkit.entity.Player&nbsp;player)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#clear(org.bukkit.entity.Player,%20com.intellectualcrafters.plot.object.Plot)">clear</a></strong>(org.bukkit.entity.Player&nbsp;requester,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot)</code>
<div class="block">Clear a plot</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#clear(org.bukkit.World,%20com.intellectualcrafters.plot.object.Plot)">clear</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#clearAllEntities(org.bukkit.World,%20com.intellectualcrafters.plot.object.Plot,%20boolean)">clearAllEntities</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
boolean&nbsp;tile)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#createId(int,%20int)">createId</a></strong>(int&nbsp;x,
int&nbsp;z)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#createPlot(org.bukkit.entity.Player,%20com.intellectualcrafters.plot.object.Plot)">createPlot</a></strong>(org.bukkit.entity.Player&nbsp;player,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getBlock(java.lang.String)">getBlock</a></strong>(java.lang.String&nbsp;block)</code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a></code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getCurrentPlot(org.bukkit.Location)">getCurrentPlot</a></strong>(org.bukkit.Location&nbsp;loc)</code>
<div class="block">Returns the plot at a given location</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getEntities(org.bukkit.World)">getEntities</a></strong>(org.bukkit.World&nbsp;world)</code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getHeighestBlock(org.bukkit.World,%20int,%20int)">getHeighestBlock</a></strong>(org.bukkit.World&nbsp;world,
int&nbsp;x,
int&nbsp;z)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getLoadedChunks(org.bukkit.World)">getLoadedChunks</a></strong>(org.bukkit.World&nbsp;world)</code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getPlayerName(java.util.UUID)">getPlayerName</a></strong>(java.util.UUID&nbsp;uuid)</code>&nbsp;
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a></code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getPlot(org.bukkit.World,%20com.intellectualcrafters.plot.object.PlotId)">getPlot</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</code>
<div class="block">Fetches the plot from the main class</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.bukkit.Location</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getPlotBottomLoc(org.bukkit.World,%20com.intellectualcrafters.plot.object.PlotId)">getPlotBottomLoc</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</code>
<div class="block">Gets the bottom loc of a plot (if mega, returns bottom loc of that mega
plot)
- If you would like each plot treated as a small plot use
getPlotBottomLocAbs(...)
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.bukkit.Location</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getPlotBottomLocAbs(org.bukkit.World,%20com.intellectualcrafters.plot.object.PlotId)">getPlotBottomLocAbs</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</code>
<div class="block">Gets the bottom plot location of a plot (all plots are treated as small
plots)
- To get the top loc of a mega plot use getPlotBottomLoc(...)
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.bukkit.Location</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getPlotHome(org.bukkit.World,%20com.intellectualcrafters.plot.object.Plot)">getPlotHome</a></strong>(org.bukkit.World&nbsp;w,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.bukkit.Location</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getPlotHome(org.bukkit.World,%20com.intellectualcrafters.plot.object.PlotId)">getPlotHome</a></strong>(org.bukkit.World&nbsp;w,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;plotid)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a></code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getPlotIdRelative(com.intellectualcrafters.plot.object.PlotId,%20int)">getPlotIdRelative</a></strong>(<a
href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id,
int&nbsp;direction)</code>
<div class="block">direction 0 = north, 1 = south, etc:</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.bukkit.Location</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getPlotTopLoc(org.bukkit.World,%20com.intellectualcrafters.plot.object.PlotId)">getPlotTopLoc</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</code>
<div class="block">Gets the top loc of a plot (if mega, returns top loc of that mega plot)
- If you would like each plot treated as a small plot use
getPlotTopLocAbs(...)
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.bukkit.Location</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getPlotTopLocAbs(org.bukkit.World,%20com.intellectualcrafters.plot.object.PlotId)">getPlotTopLocAbs</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</code>
<div class="block">Gets the top plot location of a plot (all plots are treated as small
plots)
- To get the top loc of a mega plot use getPlotTopLoc(...)
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getPlotWidth(org.bukkit.World,%20com.intellectualcrafters.plot.object.PlotId)">getPlotWidth</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</code>
<div class="block">Obtains the width of a plot (x width)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getStringSized(int,%20java.lang.String)">getStringSized</a></strong>(int&nbsp;max,
java.lang.String&nbsp;string)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getTileEntities(org.bukkit.World)">getTileEntities</a></strong>(org.bukkit.World&nbsp;world)</code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#getWorldFolderSize(org.bukkit.World)">getWorldFolderSize</a></strong>(org.bukkit.World&nbsp;world)</code>&nbsp;
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#mergePlot(org.bukkit.World,%20com.intellectualcrafters.plot.object.Plot,%20com.intellectualcrafters.plot.object.Plot)">mergePlot</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;lesserPlot,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;greaterPlot)</code>
<div class="block">Merges 2 plots Removes the road inbetween <br>
- Assumes the first plot parameter is lower <br>
- Assumes neither are a Mega-plot <br>
- Assumes plots are directly next to each other <br>
- Saves to DB
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#mergePlots(org.bukkit.entity.Player,%20org.bukkit.World,%20java.util.ArrayList)">mergePlots</a></strong>(org.bukkit.entity.Player&nbsp;plr,
org.bukkit.World&nbsp;world,
java.util.ArrayList&lt;<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&gt;&nbsp;plotIds)</code>
<div class="block">Merges all plots in the arraylist (with cost)</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#mergePlots(org.bukkit.World,%20java.util.ArrayList)">mergePlots</a></strong>(org.bukkit.World&nbsp;world,
java.util.ArrayList&lt;<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&gt;&nbsp;plotIds)</code>
<div class="block">Completely merges a set of plots<br>
<b>(There are no checks to make sure you supply the correct
arguments)</b><br>
- Misuse of this method can result in unusable plots<br>
- the set of plots must belong to one owner and be rectangular<br>
- the plot array must be sorted in ascending order<br>
- Road will be removed where required<br>
- changes will be saved to DB<br></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#nextLong()">nextLong</a></strong>()</code>&nbsp;
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#random(int)">random</a></strong>(int&nbsp;n)</code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#refreshPlotChunks(org.bukkit.World,%20com.intellectualcrafters.plot.object.Plot)">refreshPlotChunks</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#removeSign(org.bukkit.World,%20com.intellectualcrafters.plot.object.Plot)">removeSign</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;p)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#setBiome(org.bukkit.World,%20com.intellectualcrafters.plot.object.Plot,%20org.bukkit.block.Biome)">setBiome</a></strong>(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
org.bukkit.block.Biome&nbsp;b)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#setBlock(org.bukkit.block.Block,%20com.intellectualcrafters.plot.object.PlotBlock)">setBlock</a></strong>(org.bukkit.block.Block&nbsp;block,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>&nbsp;plotblock)</code>
<div class="block">Set a block quickly, attempts to use NMS if possible</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#setCuboid(org.bukkit.World,%20org.bukkit.Location,%20org.bukkit.Location,%20com.intellectualcrafters.plot.object.PlotBlock[])">setCuboid</a></strong>(org.bukkit.World&nbsp;world,
org.bukkit.Location&nbsp;pos1,
org.bukkit.Location&nbsp;pos2,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>[]&nbsp;blocks)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#setFloor(org.bukkit.entity.Player,%20com.intellectualcrafters.plot.object.Plot,%20com.intellectualcrafters.plot.object.PlotBlock[])">setFloor</a></strong>(org.bukkit.entity.Player&nbsp;requester,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>[]&nbsp;blocks)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#setSign(org.bukkit.entity.Player,%20com.intellectualcrafters.plot.object.Plot)">setSign</a></strong>(org.bukkit.entity.Player&nbsp;player,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;p)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#setSign(org.bukkit.World,%20java.lang.String,%20com.intellectualcrafters.plot.object.Plot)">setSign</a></strong>(org.bukkit.World&nbsp;world,
java.lang.String&nbsp;name,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;p)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#setSimpleCuboid(org.bukkit.World,%20org.bukkit.Location,%20org.bukkit.Location,%20com.intellectualcrafters.plot.object.PlotBlock)">setSimpleCuboid</a></strong>(org.bukkit.World&nbsp;world,
org.bukkit.Location&nbsp;pos1,
org.bukkit.Location&nbsp;pos2,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>&nbsp;newblock)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#square(int)">square</a></strong>(int&nbsp;x)</code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#xorShift64(long)">xorShift64</a></strong>(long&nbsp;a)</code>&nbsp;
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="canSetFast">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canSetFast</h4>
<pre>public static&nbsp;boolean canSetFast</pre>
</li>
</ul>
<a name="runners_p">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runners_p</h4>
<pre>public static&nbsp;java.util.ArrayList&lt;java.lang.String&gt; runners_p</pre>
</li>
</ul>
<a name="runners">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>runners</h4>
<pre>public static&nbsp;java.util.HashMap&lt;<a
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>,java.lang.Integer&gt; runners</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="PlotHelper()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PlotHelper</h4>
<pre>public&nbsp;PlotHelper()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getPlotIdRelative(com.intellectualcrafters.plot.object.PlotId, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlotIdRelative</h4>
<pre>public static&nbsp;<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;getPlotIdRelative(<a
href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id,
int&nbsp;direction)</pre>
<div class="block">direction 0 = north, 1 = south, etc:</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>id</code> -</dd>
<dd><code>direction</code> -</dd>
<dt><span class="strong">Returns:</span></dt>
<dd></dd>
</dl>
</li>
</ul>
<a name="mergePlots(org.bukkit.entity.Player, org.bukkit.World, java.util.ArrayList)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergePlots</h4>
<pre>public static&nbsp;boolean&nbsp;mergePlots(org.bukkit.entity.Player&nbsp;plr,
org.bukkit.World&nbsp;world,
java.util.ArrayList&lt;<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&gt;&nbsp;plotIds)</pre>
<div class="block">Merges all plots in the arraylist (with cost)</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>plr</code> -</dd>
<dd><code>world</code> -</dd>
<dd><code>plotIds</code> -</dd>
<dt><span class="strong">Returns:</span></dt>
<dd></dd>
</dl>
</li>
</ul>
<a name="mergePlots(org.bukkit.World, java.util.ArrayList)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergePlots</h4>
<pre>public static&nbsp;boolean&nbsp;mergePlots(org.bukkit.World&nbsp;world,
java.util.ArrayList&lt;<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&gt;&nbsp;plotIds)</pre>
<div class="block">Completely merges a set of plots<br>
<b>(There are no checks to make sure you supply the correct
arguments)</b><br>
- Misuse of this method can result in unusable plots<br>
- the set of plots must belong to one owner and be rectangular<br>
- the plot array must be sorted in ascending order<br>
- Road will be removed where required<br>
- changes will be saved to DB<br></div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>world</code> -</dd>
<dd><code>plotIds</code> -</dd>
<dt><span class="strong">Returns:</span></dt>
<dd>boolean (success)</dd>
</dl>
</li>
</ul>
<a name="mergePlot(org.bukkit.World, com.intellectualcrafters.plot.object.Plot, com.intellectualcrafters.plot.object.Plot)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergePlot</h4>
<pre>public static&nbsp;void&nbsp;mergePlot(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;lesserPlot,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;greaterPlot)</pre>
<div class="block">Merges 2 plots Removes the road inbetween <br>
- Assumes the first plot parameter is lower <br>
- Assumes neither are a Mega-plot <br>
- Assumes plots are directly next to each other <br>
- Saves to DB
</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>world</code> -</dd>
<dd><code>lesserPlot</code> -</dd>
<dd><code>greaterPlot</code> -</dd>
</dl>
</li>
</ul>
<a name="nextLong()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nextLong</h4>
<pre>public static final&nbsp;long&nbsp;nextLong()</pre>
</li>
</ul>
<a name="xorShift64(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>xorShift64</h4>
<pre>public static final&nbsp;long&nbsp;xorShift64(long&nbsp;a)</pre>
</li>
</ul>
<a name="random(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>random</h4>
<pre>public static final&nbsp;int&nbsp;random(int&nbsp;n)</pre>
</li>
</ul>
<a name="removeSign(org.bukkit.World, com.intellectualcrafters.plot.object.Plot)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeSign</h4>
<pre>public static&nbsp;void&nbsp;removeSign(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;p)</pre>
</li>
</ul>
<a name="setSign(org.bukkit.entity.Player, com.intellectualcrafters.plot.object.Plot)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSign</h4>
<pre>public static&nbsp;void&nbsp;setSign(org.bukkit.entity.Player&nbsp;player,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;p)</pre>
</li>
</ul>
<a name="setSign(org.bukkit.World, java.lang.String, com.intellectualcrafters.plot.object.Plot)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSign</h4>
<pre>public static&nbsp;void&nbsp;setSign(org.bukkit.World&nbsp;world,
java.lang.String&nbsp;name,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;p)</pre>
</li>
</ul>
<a name="getPlayerName(java.util.UUID)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlayerName</h4>
<pre>public static&nbsp;java.lang.String&nbsp;getPlayerName(java.util.UUID&nbsp;uuid)</pre>
</li>
</ul>
<a name="getStringSized(int, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringSized</h4>
<pre>public static&nbsp;java.lang.String&nbsp;getStringSized(int&nbsp;max,
java.lang.String&nbsp;string)</pre>
</li>
</ul>
<a name="setBlock(org.bukkit.block.Block, com.intellectualcrafters.plot.object.PlotBlock)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBlock</h4>
<pre>public static&nbsp;boolean&nbsp;setBlock(org.bukkit.block.Block&nbsp;block,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>&nbsp;plotblock)</pre>
<div class="block">Set a block quickly, attempts to use NMS if possible</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>block</code> -</dd>
<dd><code>plotblock</code> -</dd>
</dl>
</li>
</ul>
<a name="adjustWall(org.bukkit.entity.Player, com.intellectualcrafters.plot.object.Plot, com.intellectualcrafters.plot.object.PlotBlock)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>adjustWall</h4>
<pre>public static&nbsp;void&nbsp;adjustWall(org.bukkit.entity.Player&nbsp;player,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>&nbsp;block)</pre>
<div class="block">Adjusts a plot wall</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>player</code> -</dd>
<dd><code>plot</code> -</dd>
<dd><code>block</code> -</dd>
</dl>
</li>
</ul>
<a name="autoMerge(org.bukkit.World, com.intellectualcrafters.plot.object.Plot, org.bukkit.entity.Player)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>autoMerge</h4>
<pre>public static&nbsp;void&nbsp;autoMerge(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
org.bukkit.entity.Player&nbsp;player)</pre>
</li>
</ul>
<a name="createPlot(org.bukkit.entity.Player, com.intellectualcrafters.plot.object.Plot)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createPlot</h4>
<pre>public static&nbsp;boolean&nbsp;createPlot(org.bukkit.entity.Player&nbsp;player,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot)</pre>
</li>
</ul>
<a name="getLoadedChunks(org.bukkit.World)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLoadedChunks</h4>
<pre>public static&nbsp;int&nbsp;getLoadedChunks(org.bukkit.World&nbsp;world)</pre>
</li>
</ul>
<a name="getEntities(org.bukkit.World)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEntities</h4>
<pre>public static&nbsp;int&nbsp;getEntities(org.bukkit.World&nbsp;world)</pre>
</li>
</ul>
<a name="getTileEntities(org.bukkit.World)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTileEntities</h4>
<pre>public static&nbsp;int&nbsp;getTileEntities(org.bukkit.World&nbsp;world)</pre>
</li>
</ul>
<a name="getWorldFolderSize(org.bukkit.World)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWorldFolderSize</h4>
<pre>public static&nbsp;double&nbsp;getWorldFolderSize(org.bukkit.World&nbsp;world)</pre>
</li>
</ul>
<a name="createId(int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createId</h4>
<pre>public static&nbsp;java.lang.String&nbsp;createId(int&nbsp;x,
int&nbsp;z)</pre>
</li>
</ul>
<a name="adjustWallFilling(org.bukkit.entity.Player, com.intellectualcrafters.plot.object.Plot, com.intellectualcrafters.plot.object.PlotBlock)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>adjustWallFilling</h4>
<pre>public static&nbsp;void&nbsp;adjustWallFilling(org.bukkit.entity.Player&nbsp;requester,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>&nbsp;block)</pre>
</li>
</ul>
<a name="setFloor(org.bukkit.entity.Player, com.intellectualcrafters.plot.object.Plot, com.intellectualcrafters.plot.object.PlotBlock[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFloor</h4>
<pre>public static&nbsp;void&nbsp;setFloor(org.bukkit.entity.Player&nbsp;requester,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>[]&nbsp;blocks)</pre>
</li>
</ul>
<a name="square(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>square</h4>
<pre>public static&nbsp;int&nbsp;square(int&nbsp;x)</pre>
</li>
</ul>
<a name="getBlock(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlock</h4>
<pre>public static&nbsp;short[]&nbsp;getBlock(java.lang.String&nbsp;block)</pre>
</li>
</ul>
<a name="clearAllEntities(org.bukkit.World, com.intellectualcrafters.plot.object.Plot, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearAllEntities</h4>
<pre>public static&nbsp;void&nbsp;clearAllEntities(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
boolean&nbsp;tile)</pre>
</li>
</ul>
<a name="clear(org.bukkit.World, com.intellectualcrafters.plot.object.Plot)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public static&nbsp;void&nbsp;clear(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot)</pre>
</li>
</ul>
<a name="clear(org.bukkit.entity.Player, com.intellectualcrafters.plot.object.Plot)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public static&nbsp;void&nbsp;clear(org.bukkit.entity.Player&nbsp;requester,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot)</pre>
<div class="block">Clear a plot</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>requester</code> -</dd>
<dd><code>plot</code> -</dd>
</dl>
</li>
</ul>
<a name="setCuboid(org.bukkit.World, org.bukkit.Location, org.bukkit.Location, com.intellectualcrafters.plot.object.PlotBlock[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCuboid</h4>
<pre>public static&nbsp;void&nbsp;setCuboid(org.bukkit.World&nbsp;world,
org.bukkit.Location&nbsp;pos1,
org.bukkit.Location&nbsp;pos2,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>[]&nbsp;blocks)</pre>
</li>
</ul>
<a name="setSimpleCuboid(org.bukkit.World, org.bukkit.Location, org.bukkit.Location, com.intellectualcrafters.plot.object.PlotBlock)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSimpleCuboid</h4>
<pre>public static&nbsp;void&nbsp;setSimpleCuboid(org.bukkit.World&nbsp;world,
org.bukkit.Location&nbsp;pos1,
org.bukkit.Location&nbsp;pos2,
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>&nbsp;newblock)</pre>
</li>
</ul>
<a name="setBiome(org.bukkit.World, com.intellectualcrafters.plot.object.Plot, org.bukkit.block.Biome)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBiome</h4>
<pre>public static&nbsp;void&nbsp;setBiome(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot,
org.bukkit.block.Biome&nbsp;b)</pre>
</li>
</ul>
<a name="getHeighestBlock(org.bukkit.World, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeighestBlock</h4>
<pre>public static&nbsp;int&nbsp;getHeighestBlock(org.bukkit.World&nbsp;world,
int&nbsp;x,
int&nbsp;z)</pre>
</li>
</ul>
<a name="getPlotHome(org.bukkit.World, com.intellectualcrafters.plot.object.PlotId)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlotHome</h4>
<pre>public static&nbsp;org.bukkit.Location&nbsp;getPlotHome(org.bukkit.World&nbsp;w,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;plotid)</pre>
</li>
</ul>
<a name="getPlotHome(org.bukkit.World, com.intellectualcrafters.plot.object.Plot)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlotHome</h4>
<pre>public static&nbsp;org.bukkit.Location&nbsp;getPlotHome(org.bukkit.World&nbsp;w,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot)</pre>
</li>
</ul>
<a name="refreshPlotChunks(org.bukkit.World, com.intellectualcrafters.plot.object.Plot)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refreshPlotChunks</h4>
<pre>public static&nbsp;void&nbsp;refreshPlotChunks(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;plot)</pre>
</li>
</ul>
<a name="getPlotTopLocAbs(org.bukkit.World, com.intellectualcrafters.plot.object.PlotId)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlotTopLocAbs</h4>
<pre>public static&nbsp;org.bukkit.Location&nbsp;getPlotTopLocAbs(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</pre>
<div class="block">Gets the top plot location of a plot (all plots are treated as small
plots)
- To get the top loc of a mega plot use getPlotTopLoc(...)
</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>world</code> -</dd>
<dd><code>id</code> -</dd>
<dt><span class="strong">Returns:</span></dt>
<dd></dd>
</dl>
</li>
</ul>
<a name="getPlotBottomLocAbs(org.bukkit.World, com.intellectualcrafters.plot.object.PlotId)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlotBottomLocAbs</h4>
<pre>public static&nbsp;org.bukkit.Location&nbsp;getPlotBottomLocAbs(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</pre>
<div class="block">Gets the bottom plot location of a plot (all plots are treated as small
plots)
- To get the top loc of a mega plot use getPlotBottomLoc(...)
</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>world</code> -</dd>
<dd><code>id</code> -</dd>
<dt><span class="strong">Returns:</span></dt>
<dd></dd>
</dl>
</li>
</ul>
<a name="getPlotWidth(org.bukkit.World, com.intellectualcrafters.plot.object.PlotId)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlotWidth</h4>
<pre>public static&nbsp;int&nbsp;getPlotWidth(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</pre>
<div class="block">Obtains the width of a plot (x width)</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>world</code> -</dd>
<dd><code>id</code> -</dd>
<dt><span class="strong">Returns:</span></dt>
<dd></dd>
</dl>
</li>
</ul>
<a name="getPlotTopLoc(org.bukkit.World, com.intellectualcrafters.plot.object.PlotId)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlotTopLoc</h4>
<pre>public static&nbsp;org.bukkit.Location&nbsp;getPlotTopLoc(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</pre>
<div class="block">Gets the top loc of a plot (if mega, returns top loc of that mega plot)
- If you would like each plot treated as a small plot use
getPlotTopLocAbs(...)
</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>world</code> -</dd>
<dd><code>id</code> -</dd>
<dt><span class="strong">Returns:</span></dt>
<dd></dd>
</dl>
</li>
</ul>
<a name="getPlotBottomLoc(org.bukkit.World, com.intellectualcrafters.plot.object.PlotId)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlotBottomLoc</h4>
<pre>public static&nbsp;org.bukkit.Location&nbsp;getPlotBottomLoc(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</pre>
<div class="block">Gets the bottom loc of a plot (if mega, returns bottom loc of that mega
plot)
- If you would like each plot treated as a small plot use
getPlotBottomLocAbs(...)
</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>world</code> -</dd>
<dd><code>id</code> -</dd>
<dt><span class="strong">Returns:</span></dt>
<dd></dd>
</dl>
</li>
</ul>
<a name="getPlot(org.bukkit.World, com.intellectualcrafters.plot.object.PlotId)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlot</h4>
<pre>public static&nbsp;<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;getPlot(org.bukkit.World&nbsp;world,
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
title="class in com.intellectualcrafters.plot.object">PlotId</a>&nbsp;id)</pre>
<div class="block">Fetches the plot from the main class</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>world</code> -</dd>
<dd><code>id</code> -</dd>
<dt><span class="strong">Returns:</span></dt>
<dd></dd>
</dl>
</li>
</ul>
<a name="getCurrentPlot(org.bukkit.Location)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getCurrentPlot</h4>
<pre>public static&nbsp;<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
title="class in com.intellectualcrafters.plot.object">Plot</a>&nbsp;getCurrentPlot(org.bukkit.Location&nbsp;loc)</pre>
<div class="block">Returns the plot at a given location</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>loc</code> -</dd>
<dt><span class="strong">Returns:</span></dt>
<dd></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.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-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html"
title="class in com.intellectualcrafters.plot.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/intellectualcrafters/plot/util/PlotSquaredException.html"
title="class in com.intellectualcrafters.plot.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/intellectualcrafters/plot/util/PlotHelper.html" target="_top">Frames</a>
</li>
<li><a href="PlotHelper.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if (window == top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>