Scissors-Website/javadoc/1.19.4/org/bukkit/loot/class-use/LootTable.html
2023-04-02 20:49:18 -05:00

170 lines
14 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Interface org.bukkit.loot.LootTable (Scissors-API 1.19.4-R0.1-SNAPSHOT API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="use: package: org.bukkit.loot, interface: LootTable">
<meta name="generator" content="javadoc/ClassUseWriter">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-use-page">
<script type="text/javascript">var pathtoroot = "../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../LootTable.html" title="interface in org.bukkit.loot">Class</a></li>
<li class="nav-bar-cell1-rev">Use</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#use">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header">
<h1 title="Uses of Interface org.bukkit.loot.LootTable" class="title">Uses of Interface<br>org.bukkit.loot.LootTable</h1>
</div>
<div class="caption"><span>Packages that use <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a></span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><a href="#org.bukkit">org.bukkit</a></div>
<div class="col-last even-row-color">
<div class="block">The root package of the Bukkit API, contains generalized API classes.</div>
</div>
<div class="col-first odd-row-color"><a href="#org.bukkit.event.world">org.bukkit.event.world</a></div>
<div class="col-last odd-row-color">
<div class="block"><a href="../../event/Event.html" title="class in org.bukkit.event"><code>Events</code></a> triggered by various <a href="../../World.html" title="interface in org.bukkit"><code>world</code></a> states or changes.</div>
</div>
<div class="col-first even-row-color"><a href="#org.bukkit.loot">org.bukkit.loot</a></div>
<div class="col-last even-row-color">
<div class="block">Classes relevant to loot table manipulation and generation.</div>
</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="org.bukkit">
<h2>Uses of <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a> in <a href="../../package-summary.html">org.bukkit</a></h2>
<div class="caption"><span>Methods in <a href="../../package-summary.html">org.bukkit</a> that return <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>static <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Bukkit.</span><code><a href="../../Bukkit.html#getLootTable(org.bukkit.NamespacedKey)" class="member-name-link">getLootTable</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../NamespacedKey.html" title="class in org.bukkit">NamespacedKey</a>&nbsp;key)</code></div>
<div class="col-last even-row-color">
<div class="block">Gets the specified <a href="../LootTable.html" title="interface in org.bukkit.loot"><code>LootTable</code></a>.</div>
</div>
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Server.</span><code><a href="../../Server.html#getLootTable(org.bukkit.NamespacedKey)" class="member-name-link">getLootTable</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../NamespacedKey.html" title="class in org.bukkit">NamespacedKey</a>&nbsp;key)</code></div>
<div class="col-last odd-row-color">
<div class="block">Gets the specified <a href="../LootTable.html" title="interface in org.bukkit.loot"><code>LootTable</code></a>.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.event.world">
<h2>Uses of <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a> in <a href="../../event/world/package-summary.html">org.bukkit.event.world</a></h2>
<div class="caption"><span>Methods in <a href="../../event/world/package-summary.html">org.bukkit.event.world</a> that return <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">LootGenerateEvent.</span><code><a href="../../event/world/LootGenerateEvent.html#getLootTable()" class="member-name-link">getLootTable</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Get the loot table used to generate loot.</div>
</div>
</div>
<div class="caption"><span>Constructors in <a href="../../event/world/package-summary.html">org.bukkit.event.world</a> with parameters of type <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier</div>
<div class="table-header col-second">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../../event/world/LootGenerateEvent.html#%3Cinit%3E(org.bukkit.World,org.bukkit.entity.Entity,org.bukkit.inventory.InventoryHolder,org.bukkit.loot.LootTable,org.bukkit.loot.LootContext,java.util.List,boolean)" class="member-name-link">LootGenerateEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../World.html" title="interface in org.bukkit">World</a>&nbsp;world,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>&nbsp;entity,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../../inventory/InventoryHolder.html" title="interface in org.bukkit.inventory">InventoryHolder</a>&nbsp;inventoryHolder,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a>&nbsp;lootTable,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../LootContext.html" title="class in org.bukkit.loot">LootContext</a>&nbsp;lootContext,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a>&gt;&nbsp;items,
boolean&nbsp;plugin)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.loot">
<h2>Uses of <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a> in <a href="../package-summary.html">org.bukkit.loot</a></h2>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.loot</a> that return <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Lootable.</span><code><a href="../Lootable.html#getLootTable()" class="member-name-link">getLootTable</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets the Loot Table attached to this block or entity.</div>
</div>
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">LootTables.</span><code><a href="../LootTables.html#getLootTable()" class="member-name-link">getLootTable</a>()</code></div>
<div class="col-last odd-row-color">
<div class="block">Get the <a href="../LootTable.html" title="interface in org.bukkit.loot"><code>LootTable</code></a> corresponding to this constant.</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.loot</a> with parameters of type <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">Lootable.</span><code><a href="../Lootable.html#setLootTable(org.bukkit.loot.LootTable)" class="member-name-link">setLootTable</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a>&nbsp;table)</code></div>
<div class="col-last even-row-color">
<div class="block">Set the loot table for a container or entity.</div>
</div>
<div class="col-first odd-row-color"><code>default void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Lootable.</span><code><a href="../Lootable.html#setLootTable(org.bukkit.loot.LootTable,long)" class="member-name-link">setLootTable</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../LootTable.html" title="interface in org.bukkit.loot">LootTable</a>&nbsp;table,
long&nbsp;seed)</code></div>
<div class="col-last odd-row-color">
<div class="block">Set the loot table and seed for a container or entity at the same time.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>