mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
568 lines
33 KiB
HTML
568 lines
33 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (9.0.4.1) on Mon Mar 30 16:49:53 UTC 2020 -->
|
|
<title>GEOResourceGenerationEvent (Slimefun4 - Javadocs)</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="dc.created" content="2020-03-30">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../../jquery/jquery-ui.css" title="Style">
|
|
<script type="text/javascript" src="../../../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../../../../jquery/jquery-1.10.2.js"></script>
|
|
<script type="text/javascript" src="../../../../../../jquery/jquery-ui.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="GEOResourceGenerationEvent (Slimefun4 - Javadocs)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
|
|
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
var pathtoroot = "../../../../../../";loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<header role="banner">
|
|
<nav role="navigation">
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/GEOResourceGenerationEvent.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/AutoDisenchantEvent.html" title="class in io.github.thebusybiscuit.slimefun4.api.events"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/MultiBlockInteractEvent.html" title="class in io.github.thebusybiscuit.slimefun4.api.events"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../../index.html?io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html" target="_top">Frames</a></li>
|
|
<li><a href="GEOResourceGenerationEvent.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>
|
|
<ul class="navListSearch">
|
|
<li><span>SEARCH: </span>
|
|
<input type="text" id="search" value=" " disabled="disabled">
|
|
<input type="reset" id="reset" value=" " disabled="disabled">
|
|
</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>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.classes.inherited.from.class.org.bukkit.event.Event">Nested</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
</nav>
|
|
</header>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<main role="main">
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/package-summary.html">io.github.thebusybiscuit.slimefun4.api.events</a></div>
|
|
<h2 title="Class GEOResourceGenerationEvent" class="title">Class GEOResourceGenerationEvent</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/Event.html?is-external=true" title="class or interface in org.bukkit.event">org.bukkit.event.Event</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>io.github.thebusybiscuit.slimefun4.api.events.GEOResourceGenerationEvent</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="typeNameLabel">GEOResourceGenerationEvent</span>
|
|
extends <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/Event.html?is-external=true" title="class or interface in org.bukkit.event">Event</a></pre>
|
|
<div class="block">This <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/Event.html?is-external=true" title="class or interface in org.bukkit.event"><code>Event</code></a> is fired whenever a <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a> is being freshly generated.
|
|
This only ocurs when a <a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOScanner.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.geo"><code>GEOScanner</code></a> queries the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Chunk.html?is-external=true" title="class or interface in org.bukkit"><code>Chunk</code></a> for a <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a>
|
|
but cannot find it.
|
|
|
|
You can modify this <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/Event.html?is-external=true" title="class or interface in org.bukkit.event"><code>Event</code></a> by listening to it.</div>
|
|
<dl>
|
|
<dt><span class="simpleTagLabel">Author:</span></dt>
|
|
<dd>TheBusyBiscuit</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/ResourceManager.html" title="class in io.github.thebusybiscuit.slimefun4.api.geo"><code>ResourceManager</code></a>,
|
|
<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a>,
|
|
<a href="../../../../../../io/github/thebusybiscuit/slimefun4/implementation/items/geo/GEOScanner.html" title="class in io.github.thebusybiscuit.slimefun4.implementation.items.geo"><code>GEOScanner</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="nested.class.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested Class Summary</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="nested.classes.inherited.from.class.org.bukkit.event.Event">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class org.bukkit.event.<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/Event.html?is-external=true" title="class or interface in org.bukkit.event">Event</a></h3>
|
|
<code><a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/Event.Result.html?is-external=true" title="class or interface in org.bukkit.event">Event.Result</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Constructor</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html#GEOResourceGenerationEvent-org.bukkit.World-org.bukkit.block.Biome-int-int-io.github.thebusybiscuit.slimefun4.api.geo.GEOResource-int-">GEOResourceGenerationEvent</a></span>​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.html?is-external=true" title="class or interface in org.bukkit">World</a> world,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Biome.html?is-external=true" title="class or interface in org.bukkit.block">Biome</a> biome,
|
|
int x,
|
|
int z,
|
|
<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo">GEOResource</a> resource,
|
|
int value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code><a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Biome.html?is-external=true" title="class or interface in org.bukkit.block">Biome</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html#getBiome--">getBiome</a></span>​()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">This returns the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Biome.html?is-external=true" title="class or interface in org.bukkit.block"><code>Biome</code></a> at the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Location.html?is-external=true" title="class or interface in org.bukkit"><code>Location</code></a> at which the <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a> is
|
|
generated.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html#getChunkX--">getChunkX</a></span>​()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">This returns the X coordinate of the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Chunk.html?is-external=true" title="class or interface in org.bukkit"><code>Chunk</code></a> in which the <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a>
|
|
is generated.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html#getChunkZ--">getChunkZ</a></span>​()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">This returns the Z coordinate of the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Chunk.html?is-external=true" title="class or interface in org.bukkit"><code>Chunk</code></a> in which the <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a>
|
|
is generated.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code><a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.Environment.html?is-external=true" title="class or interface in org.bukkit">World.Environment</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html#getEnvironment--">getEnvironment</a></span>​()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">This method returns the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.Environment.html?is-external=true" title="class or interface in org.bukkit"><code>World.Environment</code></a> in which the resource is generated.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>static <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/HandlerList.html?is-external=true" title="class or interface in org.bukkit.event">HandlerList</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html#getHandlerList--">getHandlerList</a></span>​()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code><a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/HandlerList.html?is-external=true" title="class or interface in org.bukkit.event">HandlerList</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html#getHandlers--">getHandlers</a></span>​()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo">GEOResource</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html#getResource--">getResource</a></span>​()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">This method returns the <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a> that is being generated</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html#getValue--">getValue</a></span>​()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">This returns the amount that will be generated of this <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code><a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.html?is-external=true" title="class or interface in org.bukkit">World</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html#getWorld--">getWorld</a></span>​()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">This returns the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.html?is-external=true" title="class or interface in org.bukkit"><code>World</code></a> in which this event takes place.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html#setValue-int-">setValue</a></span>​(int value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">This modifies the amount that will be generated.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.org.bukkit.event.Event">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class org.bukkit.event.<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/Event.html?is-external=true" title="class or interface in org.bukkit.event">Event</a></h3>
|
|
<code><a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/Event.html?is-external=true#getEventName--" title="class or interface in org.bukkit.event">getEventName</a>, <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/Event.html?is-external=true#isAsynchronous--" title="class or interface in org.bukkit.event">isAsynchronous</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a id="GEOResourceGenerationEvent-org.bukkit.World-org.bukkit.block.Biome-int-int-io.github.thebusybiscuit.slimefun4.api.geo.GEOResource-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>GEOResourceGenerationEvent</h4>
|
|
<pre>public GEOResourceGenerationEvent​(<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.html?is-external=true" title="class or interface in org.bukkit">World</a> world,
|
|
<a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Biome.html?is-external=true" title="class or interface in org.bukkit.block">Biome</a> biome,
|
|
int x,
|
|
int z,
|
|
<a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo">GEOResource</a> resource,
|
|
int value)</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a id="getValue--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getValue</h4>
|
|
<pre>public int getValue​()</pre>
|
|
<div class="block">This returns the amount that will be generated of this <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The value aka the supply of this <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a> to generate</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setValue-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setValue</h4>
|
|
<pre>public void setValue​(int value)</pre>
|
|
<div class="block">This modifies the amount that will be generated.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - The new supply for this <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getWorld--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWorld</h4>
|
|
<pre>public <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.html?is-external=true" title="class or interface in org.bukkit">World</a> getWorld​()</pre>
|
|
<div class="block">This returns the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.html?is-external=true" title="class or interface in org.bukkit"><code>World</code></a> in which this event takes place.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The affected <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.html?is-external=true" title="class or interface in org.bukkit"><code>World</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getResource--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getResource</h4>
|
|
<pre>public <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo">GEOResource</a> getResource​()</pre>
|
|
<div class="block">This method returns the <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a> that is being generated</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The generated <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getChunkX--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChunkX</h4>
|
|
<pre>public int getChunkX​()</pre>
|
|
<div class="block">This returns the X coordinate of the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Chunk.html?is-external=true" title="class or interface in org.bukkit"><code>Chunk</code></a> in which the <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a>
|
|
is generated.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The x value of this <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Chunk.html?is-external=true" title="class or interface in org.bukkit"><code>Chunk</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getChunkZ--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChunkZ</h4>
|
|
<pre>public int getChunkZ​()</pre>
|
|
<div class="block">This returns the Z coordinate of the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Chunk.html?is-external=true" title="class or interface in org.bukkit"><code>Chunk</code></a> in which the <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a>
|
|
is generated.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The z value of this <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Chunk.html?is-external=true" title="class or interface in org.bukkit"><code>Chunk</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getEnvironment--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEnvironment</h4>
|
|
<pre>public <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.Environment.html?is-external=true" title="class or interface in org.bukkit">World.Environment</a> getEnvironment​()</pre>
|
|
<div class="block">This method returns the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.Environment.html?is-external=true" title="class or interface in org.bukkit"><code>World.Environment</code></a> in which the resource is generated.
|
|
It is equivalent to <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.html?is-external=true#getEnvironment--" title="class or interface in org.bukkit"><code>World.getEnvironment()</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.Environment.html?is-external=true" title="class or interface in org.bukkit"><code>World.Environment</code></a> of this generation</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getBiome--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBiome</h4>
|
|
<pre>public <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Biome.html?is-external=true" title="class or interface in org.bukkit.block">Biome</a> getBiome​()</pre>
|
|
<div class="block">This returns the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Biome.html?is-external=true" title="class or interface in org.bukkit.block"><code>Biome</code></a> at the <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Location.html?is-external=true" title="class or interface in org.bukkit"><code>Location</code></a> at which the <a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/geo/GEOResource.html" title="interface in io.github.thebusybiscuit.slimefun4.api.geo"><code>GEOResource</code></a> is
|
|
generated.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Biome.html?is-external=true" title="class or interface in org.bukkit.block"><code>Biome</code></a> of this generation</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getHandlers--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getHandlers</h4>
|
|
<pre>public <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/HandlerList.html?is-external=true" title="class or interface in org.bukkit.event">HandlerList</a> getHandlers​()</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/Event.html?is-external=true#getHandlers--" title="class or interface in org.bukkit.event">getHandlers</a></code> in class <code><a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/Event.html?is-external=true" title="class or interface in org.bukkit.event">Event</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getHandlerList--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>getHandlerList</h4>
|
|
<pre>public static <a href="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/HandlerList.html?is-external=true" title="class or interface in org.bukkit.event">HandlerList</a> getHandlerList​()</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/GEOResourceGenerationEvent.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/AutoDisenchantEvent.html" title="class in io.github.thebusybiscuit.slimefun4.api.events"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../../../../io/github/thebusybiscuit/slimefun4/api/events/MultiBlockInteractEvent.html" title="class in io.github.thebusybiscuit.slimefun4.api.events"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../../index.html?io/github/thebusybiscuit/slimefun4/api/events/GEOResourceGenerationEvent.html" target="_top">Frames</a></li>
|
|
<li><a href="GEOResourceGenerationEvent.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>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.classes.inherited.from.class.org.bukkit.event.Event">Nested</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
<p class="legalCopy"><small>Copyright © 2020. All rights reserved.</small></p>
|
|
</footer>
|
|
</body>
|
|
</html>
|