<li><ahref="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/HashedArmorpiece.html"title="class in io.github.thebusybiscuit.slimefun4.api.items"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/ItemSetting.html"title="class in io.github.thebusybiscuit.slimefun4.api.items"><spanclass="typeNameLink">Next Class</span></a></li>
<thclass="colSecond"scope="row"><code><spanclass="memberNameLink"><ahref="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/ItemRestriction.html#isAllowed-io.github.thebusybiscuit.slimefun4.api.player.PlayerProfile-org.bukkit.entity.Player-me.mrCookieSlime.Slimefun.Objects.SlimefunItem.SlimefunItem-org.bukkit.inventory.ItemStack-">isAllowed</a></span>​(<ahref="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html"title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a> profile,
<ahref="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> p,
<ahref="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html"title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem">SlimefunItem</a> item,
<ahref="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true"title="class or interface in org.bukkit.inventory">ItemStack</a> itemstack)</code></th>
<thclass="colSecond"scope="row"><code><spanclass="memberNameLink"><ahref="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/ItemRestriction.html#warnPlayer-io.github.thebusybiscuit.slimefun4.api.player.PlayerProfile-org.bukkit.entity.Player-me.mrCookieSlime.Slimefun.Objects.SlimefunItem.SlimefunItem-org.bukkit.inventory.ItemStack-">warnPlayer</a></span>​(<ahref="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html"title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a> profile,
<ahref="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> p,
<ahref="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html"title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem">SlimefunItem</a> item,
<ahref="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true"title="class or interface in org.bukkit.inventory">ItemStack</a> itemstack)</code></th>
<pre>boolean isAllowed​(<ahref="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html"title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a> profile,
<ahref="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> p,
<ahref="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html"title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem">SlimefunItem</a> item,
<ahref="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true"title="class or interface in org.bukkit.inventory">ItemStack</a> itemstack)</pre>
<divclass="block">This method represents a check.
The returned boolean will decide whether to allow the action.</div>
<dd><code>profile</code> - The Player's profile</dd>
<dd><code>p</code> - The Player itself</dd>
<dd><code>item</code> - The SlimefunItem that the <ahref="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true"title="class or interface in org.bukkit.inventory"><code>ItemStack</code></a> represents</dd>
<dd><code>itemstack</code> - The ItemStack that is being tested.</dd>
<pre>void warnPlayer​(<ahref="../../../../../../io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.html"title="class in io.github.thebusybiscuit.slimefun4.api.player">PlayerProfile</a> profile,
<ahref="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> p,
<ahref="../../../../../../me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.html"title="class in me.mrCookieSlime.Slimefun.Objects.SlimefunItem">SlimefunItem</a> item,
<ahref="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true"title="class or interface in org.bukkit.inventory">ItemStack</a> itemstack)</pre>
<divclass="block">This method is executed if an ItemRestriction took affect.
Override it to send a message to the Player telling them they cannot
use that item, or do something else in there.</div>
<dd><code>profile</code> - The Player's profile</dd>
<dd><code>p</code> - The Player to warn</dd>
<dd><code>item</code> - The SlimefunItem that the <ahref="https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemStack.html?is-external=true"title="class or interface in org.bukkit.inventory"><code>ItemStack</code></a> represents</dd>
<dd><code>itemstack</code> - The ItemStack that was prevented from being used</dd>
<li><ahref="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/HashedArmorpiece.html"title="class in io.github.thebusybiscuit.slimefun4.api.items"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../../io/github/thebusybiscuit/slimefun4/api/items/ItemSetting.html"title="class in io.github.thebusybiscuit.slimefun4.api.items"><spanclass="typeNameLink">Next Class</span></a></li>