mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
1291 lines
59 KiB
HTML
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: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </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><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </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"> </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>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.util.HashMap<<a
|
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a>,java.lang.Integer></code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#runners">runners</a></strong></code>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static java.util.ArrayList<java.lang.String></code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html#runners_p">runners_p</a></strong></code>
|
|
</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"> </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>
|
|
</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"> </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 player,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a> 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 requester,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a> block)</code> </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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
org.bukkit.entity.Player player)</code> </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 requester,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> 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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</code> </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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
boolean tile)</code> </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 x,
|
|
int z)</code> </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 player,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</code> </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 block)</code>
|
|
</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 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 world)</code>
|
|
</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 world,
|
|
int x,
|
|
int z)</code> </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 world)</code>
|
|
</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 uuid)</code>
|
|
</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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 w,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</code> </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 w,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> plotid)</code> </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> id,
|
|
int 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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 max,
|
|
java.lang.String string)</code> </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 world)</code>
|
|
</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 world)</code>
|
|
</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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> lesserPlot,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> 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 plr,
|
|
org.bukkit.World world,
|
|
java.util.ArrayList<<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a>> 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 world,
|
|
java.util.ArrayList<<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a>> 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>
|
|
</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 n)</code>
|
|
</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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</code> </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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> p)</code> </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 world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
org.bukkit.block.Biome b)</code> </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 block,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a> 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 world,
|
|
org.bukkit.Location pos1,
|
|
org.bukkit.Location pos2,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>[] blocks)</code> </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 requester,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>[] blocks)</code> </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 player,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> p)</code> </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 world,
|
|
java.lang.String name,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> p)</code> </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 world,
|
|
org.bukkit.Location pos1,
|
|
org.bukkit.Location pos2,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a> newblock)</code> </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 x)</code>
|
|
</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 a)</code>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
|
|
<h3>Methods inherited from class 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 boolean canSetFast</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="runners_p">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>runners_p</h4>
|
|
<pre>public static java.util.ArrayList<java.lang.String> runners_p</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="runners">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>runners</h4>
|
|
<pre>public static java.util.HashMap<<a
|
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a>,java.lang.Integer> 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 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 <a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> getPlotIdRelative(<a
|
|
href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> id,
|
|
int 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 boolean mergePlots(org.bukkit.entity.Player plr,
|
|
org.bukkit.World world,
|
|
java.util.ArrayList<<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a>> 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 boolean mergePlots(org.bukkit.World world,
|
|
java.util.ArrayList<<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a>> 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 void mergePlot(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> lesserPlot,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> 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 long nextLong()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="xorShift64(long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xorShift64</h4>
|
|
<pre>public static final long xorShift64(long a)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="random(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>random</h4>
|
|
<pre>public static final int random(int 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 void removeSign(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> 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 void setSign(org.bukkit.entity.Player player,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> 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 void setSign(org.bukkit.World world,
|
|
java.lang.String name,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> p)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlayerName(java.util.UUID)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlayerName</h4>
|
|
<pre>public static java.lang.String getPlayerName(java.util.UUID uuid)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getStringSized(int, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStringSized</h4>
|
|
<pre>public static java.lang.String getStringSized(int max,
|
|
java.lang.String 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 boolean setBlock(org.bukkit.block.Block block,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a> 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 void adjustWall(org.bukkit.entity.Player player,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a> 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 void autoMerge(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
org.bukkit.entity.Player 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 boolean createPlot(org.bukkit.entity.Player player,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getLoadedChunks(org.bukkit.World)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLoadedChunks</h4>
|
|
<pre>public static int getLoadedChunks(org.bukkit.World world)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getEntities(org.bukkit.World)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEntities</h4>
|
|
<pre>public static int getEntities(org.bukkit.World world)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getTileEntities(org.bukkit.World)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTileEntities</h4>
|
|
<pre>public static int getTileEntities(org.bukkit.World world)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getWorldFolderSize(org.bukkit.World)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWorldFolderSize</h4>
|
|
<pre>public static double getWorldFolderSize(org.bukkit.World world)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createId(int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createId</h4>
|
|
<pre>public static java.lang.String createId(int x,
|
|
int 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 void adjustWallFilling(org.bukkit.entity.Player requester,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a> 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 void setFloor(org.bukkit.entity.Player requester,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>[] blocks)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="square(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>square</h4>
|
|
<pre>public static int square(int x)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getBlock(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBlock</h4>
|
|
<pre>public static short[] getBlock(java.lang.String 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 void clearAllEntities(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
boolean 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 void clear(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> 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 void clear(org.bukkit.entity.Player requester,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> 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 void setCuboid(org.bukkit.World world,
|
|
org.bukkit.Location pos1,
|
|
org.bukkit.Location pos2,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a>[] 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 void setSimpleCuboid(org.bukkit.World world,
|
|
org.bukkit.Location pos1,
|
|
org.bukkit.Location pos2,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotBlock</a> 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 void setBiome(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot,
|
|
org.bukkit.block.Biome 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 int getHeighestBlock(org.bukkit.World world,
|
|
int x,
|
|
int 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 org.bukkit.Location getPlotHome(org.bukkit.World w,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 org.bukkit.Location getPlotHome(org.bukkit.World w,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> 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 void refreshPlotChunks(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> 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 org.bukkit.Location getPlotTopLocAbs(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 org.bukkit.Location getPlotBottomLocAbs(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 int getPlotWidth(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 org.bukkit.Location getPlotTopLoc(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 org.bukkit.Location getPlotBottomLoc(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 <a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> getPlot(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> 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 <a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> getCurrentPlot(org.bukkit.Location 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: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </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><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|