mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-07 19:31:37 +01:00
210 lines
10 KiB
HTML
210 lines
10 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<title>Event (Minestom 1.0 API)</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="description" content="declaration: package: net.minestom.server.event, class: Event">
|
|
<meta name="generator" content="javadoc/ClassWriterImpl">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../script-dir/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../../script-dir/jquery-3.4.1.js"></script>
|
|
<script type="text/javascript" src="../../../../script-dir/jquery-ui.js"></script>
|
|
</head>
|
|
<body class="class-declaration">
|
|
<script type="text/javascript">var pathtoroot = "../../../../";
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<div class="flexBox">
|
|
<header role="banner" class="flexHeader">
|
|
<nav role="navigation">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li>Method</li>
|
|
</ul>
|
|
</div>
|
|
<div class="navListSearch"><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<div class="skipNav"><a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
</nav>
|
|
</header>
|
|
<div class="flexContent">
|
|
<main role="main">
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">net.minestom.server.event</a></div>
|
|
<h1 title="Class Event" class="title">Class Event</h1>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<div class="inheritance" title="Inheritance Tree">java.lang.Object
|
|
<div class="inheritance">net.minestom.server.event.Event</div>
|
|
</div>
|
|
<section class="description">
|
|
<dl>
|
|
<dt>Direct Known Subclasses:</dt>
|
|
<dd><code><a href="player/AdvancementTabEvent.html" title="class in net.minestom.server.event.player">AdvancementTabEvent</a></code>, <code><a href="item/ArmorEquipEvent.html" title="class in net.minestom.server.event.item">ArmorEquipEvent</a></code>, <code><a href="CancellableEvent.html" title="class in net.minestom.server.event">CancellableEvent</a></code>, <code><a href="entity/EntityAttackEvent.html" title="class in net.minestom.server.event.entity">EntityAttackEvent</a></code>, <code><a href="entity/EntityDeathEvent.html" title="class in net.minestom.server.event.entity">EntityDeathEvent</a></code>, <code><a href="entity/EntitySpawnEvent.html" title="class in net.minestom.server.event.entity">EntitySpawnEvent</a></code>, <code><a href="entity/EntityTickEvent.html" title="class in net.minestom.server.event.entity">EntityTickEvent</a></code>, <code><a href="instance/InstanceChunkLoadEvent.html" title="class in net.minestom.server.event.instance">InstanceChunkLoadEvent</a></code>, <code><a href="instance/InstanceChunkUnloadEvent.html" title="class in net.minestom.server.event.instance">InstanceChunkUnloadEvent</a></code>, <code><a href="inventory/InventoryClickEvent.html" title="class in net.minestom.server.event.inventory">InventoryClickEvent</a></code>, <code><a href="inventory/InventoryCloseEvent.html" title="class in net.minestom.server.event.inventory">InventoryCloseEvent</a></code>, <code><a href="item/ItemUpdateStateEvent.html" title="class in net.minestom.server.event.item">ItemUpdateStateEvent</a></code>, <code><a href="player/PlayerChunkLoadEvent.html" title="class in net.minestom.server.event.player">PlayerChunkLoadEvent</a></code>, <code><a href="player/PlayerChunkUnloadEvent.html" title="class in net.minestom.server.event.player">PlayerChunkUnloadEvent</a></code>, <code><a href="player/PlayerDisconnectEvent.html" title="class in net.minestom.server.event.player">PlayerDisconnectEvent</a></code>, <code><a href="player/PlayerEatEvent.html" title="class in net.minestom.server.event.player">PlayerEatEvent</a></code>, <code><a href="player/PlayerEntityInteractEvent.html" title="class in net.minestom.server.event.player">PlayerEntityInteractEvent</a></code>, <code><a href="player/PlayerLoginEvent.html" title="class in net.minestom.server.event.player">PlayerLoginEvent</a></code>, <code><a href="player/PlayerPluginMessageEvent.html" title="class in net.minestom.server.event.player">PlayerPluginMessageEvent</a></code>, <code><a href="player/PlayerPreLoginEvent.html" title="class in net.minestom.server.event.player">PlayerPreLoginEvent</a></code>, <code><a href="player/PlayerResourcePackStatusEvent.html" title="class in net.minestom.server.event.player">PlayerResourcePackStatusEvent</a></code>, <code><a href="player/PlayerRespawnEvent.html" title="class in net.minestom.server.event.player">PlayerRespawnEvent</a></code>, <code><a href="player/PlayerSettingsChangeEvent.html" title="class in net.minestom.server.event.player">PlayerSettingsChangeEvent</a></code>, <code><a href="player/PlayerSkinInitEvent.html" title="class in net.minestom.server.event.player">PlayerSkinInitEvent</a></code>, <code><a href="player/PlayerStartFlyingEvent.html" title="class in net.minestom.server.event.player">PlayerStartFlyingEvent</a></code>, <code><a href="player/PlayerStopFlyingEvent.html" title="class in net.minestom.server.event.player">PlayerStopFlyingEvent</a></code>, <code><a href="player/PlayerTickEvent.html" title="class in net.minestom.server.event.player">PlayerTickEvent</a></code>, <code><a href="player/PlayerUseItemOnBlockEvent.html" title="class in net.minestom.server.event.player">PlayerUseItemOnBlockEvent</a></code>, <code><a href="player/UpdateTagListEvent.html" title="class in net.minestom.server.event.player">UpdateTagListEvent</a></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public class <span class="typeNameLabel">Event</span>
|
|
extends java.lang.Object</pre>
|
|
<div class="block">Object which can be listened to by an <a href="handler/EventHandler.html" title="interface in net.minestom.server.event.handler"><code>EventHandler</code></a>.
|
|
<p>
|
|
Called using <a href="handler/EventHandler.html#callEvent(java.lang.Class,E)"><code>EventHandler.callEvent(Class, Event)</code></a>.</div>
|
|
</section>
|
|
<section class="summary">
|
|
<ul class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<li class="blockList">
|
|
<section class="constructorSummary"><a id="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h2>Constructor Summary</h2>
|
|
<div class="memberSummary">
|
|
<table>
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Constructor</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Event</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<li class="blockList">
|
|
<section class="methodSummary"><a id="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h2>Method Summary</h2>
|
|
<div class="inheritedList">
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<a id="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a><code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<section class="details">
|
|
<ul class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<li class="blockList">
|
|
<section class="constructorDetails"><a id="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h2>Constructor Details</h2>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<section class="detail">
|
|
<h3><a id="<init>()">Event</a></h3>
|
|
<div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">Event</span>()</div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
</main>
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li>Method</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|