diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
| commit | dc3df3edd5843bde0c1335d6a8e460b2c832aa48 (patch) | |
| tree | af13bfeee567f2351e35e1ef176d168fe37c8aac /javadoc/net/minecraft/enchantment/Enchantment.html | |
| parent | 1da8dcd58647e34c9af94ceeecaeaf3b0d08c48c (diff) | |
full project files
Diffstat (limited to 'javadoc/net/minecraft/enchantment/Enchantment.html')
| -rw-r--r-- | javadoc/net/minecraft/enchantment/Enchantment.html | 898 |
1 files changed, 898 insertions, 0 deletions
diff --git a/javadoc/net/minecraft/enchantment/Enchantment.html b/javadoc/net/minecraft/enchantment/Enchantment.html new file mode 100644 index 0000000..4176071 --- /dev/null +++ b/javadoc/net/minecraft/enchantment/Enchantment.html @@ -0,0 +1,898 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_65) on Thu Feb 05 20:10:10 EST 2015 --> +<title>Enchantment (Forge API)</title> +<meta name="date" content="2015-02-05"> +<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="Enchantment (Forge API)"; + } +//--> +</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-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../net/minecraft/enchantment/EnchantmentArrowDamage.html" title="class in net.minecraft.enchantment"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraft/enchantment/Enchantment.html" target="_top">Frames</a></li> +<li><a href="Enchantment.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">net.minecraft.enchantment</div> +<h2 title="Class Enchantment" class="title">Class Enchantment</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>net.minecraft.enchantment.Enchantment</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Direct Known Subclasses:</dt> +<dd><a href="../../../net/minecraft/enchantment/EnchantmentArrowDamage.html" title="class in net.minecraft.enchantment">EnchantmentArrowDamage</a>, <a href="../../../net/minecraft/enchantment/EnchantmentArrowFire.html" title="class in net.minecraft.enchantment">EnchantmentArrowFire</a>, <a href="../../../net/minecraft/enchantment/EnchantmentArrowInfinite.html" title="class in net.minecraft.enchantment">EnchantmentArrowInfinite</a>, <a href="../../../net/minecraft/enchantment/EnchantmentArrowKnockback.html" title="class in net.minecraft.enchantment">EnchantmentArrowKnockback</a>, <a href="../../../net/minecraft/enchantment/EnchantmentDamage.html" title="class in net.minecraft.enchantment">EnchantmentDamage</a>, <a href="../../../net/minecraft/enchantment/EnchantmentDigging.html" title="class in net.minecraft.enchantment">EnchantmentDigging</a>, <a href="../../../net/minecraft/enchantment/EnchantmentDurability.html" title="class in net.minecraft.enchantment">EnchantmentDurability</a>, <a href="../../../net/minecraft/enchantment/EnchantmentFireAspect.html" title="class in net.minecraft.enchantment">EnchantmentFireAspect</a>, <a href="../../../net/minecraft/enchantment/EnchantmentFishingSpeed.html" title="class in net.minecraft.enchantment">EnchantmentFishingSpeed</a>, <a href="../../../net/minecraft/enchantment/EnchantmentKnockback.html" title="class in net.minecraft.enchantment">EnchantmentKnockback</a>, <a href="../../../net/minecraft/enchantment/EnchantmentLootBonus.html" title="class in net.minecraft.enchantment">EnchantmentLootBonus</a>, <a href="../../../net/minecraft/enchantment/EnchantmentOxygen.html" title="class in net.minecraft.enchantment">EnchantmentOxygen</a>, <a href="../../../net/minecraft/enchantment/EnchantmentProtection.html" title="class in net.minecraft.enchantment">EnchantmentProtection</a>, <a href="../../../net/minecraft/enchantment/EnchantmentThorns.html" title="class in net.minecraft.enchantment">EnchantmentThorns</a>, <a href="../../../net/minecraft/enchantment/EnchantmentUntouching.html" title="class in net.minecraft.enchantment">EnchantmentUntouching</a>, <a href="../../../net/minecraft/enchantment/EnchantmentWaterWorker.html" title="class in net.minecraft.enchantment">EnchantmentWaterWorker</a></dd> +</dl> +<hr> +<br> +<pre>public abstract class <span class="strong">Enchantment</span> +extends java.lang.Object</pre> +</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 <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#aquaAffinity">aquaAffinity</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#baneOfArthropods">baneOfArthropods</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#blastProtection">blastProtection</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#effectId">effectId</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#efficiency">efficiency</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a>[]</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#enchantmentsBookList">enchantmentsBookList</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a>[]</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#enchantmentsList">enchantmentsList</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#featherFalling">featherFalling</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#field_151369_A">field_151369_A</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#field_151370_z">field_151370_z</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#fireAspect">fireAspect</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#fireProtection">fireProtection</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#flame">flame</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#fortune">fortune</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#infinity">infinity</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#knockback">knockback</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#looting">looting</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#name">name</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#power">power</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#projectileProtection">projectileProtection</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#protection">protection</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#punch">punch</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#respiration">respiration</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#sharpness">sharpness</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#silkTouch">silkTouch</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#smite">smite</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#thorns">thorns</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/enchantment/EnumEnchantmentType.html" title="enum in net.minecraft.enchantment">EnumEnchantmentType</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#type">type</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#unbreaking">unbreaking</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="colFirst" scope="col">Modifier</th> +<th class="colLast" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected </code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#Enchantment(int,%20int,%20net.minecraft.enchantment.EnumEnchantmentType)">Enchantment</a></strong>(int p_i1926_1_, + int p_i1926_2_, + <a href="../../../net/minecraft/enchantment/EnumEnchantmentType.html" title="enum in net.minecraft.enchantment">EnumEnchantmentType</a> p_i1926_3_)</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="../../../net/minecraft/enchantment/Enchantment.html#addToBookList(net.minecraft.enchantment.Enchantment)">addToBookList</a></strong>(<a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> enchantment)</code> +<div class="block">Add to the list of enchantments applicable by the anvil from a book</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#calcModifierDamage(int,%20net.minecraft.util.DamageSource)">calcModifierDamage</a></strong>(int p_77318_1_, + <a href="../../../net/minecraft/util/DamageSource.html" title="class in net.minecraft.util">DamageSource</a> p_77318_2_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#canApply(net.minecraft.item.ItemStack)">canApply</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_92089_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#canApplyAtEnchantingTable(net.minecraft.item.ItemStack)">canApplyAtEnchantingTable</a></strong>(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</code> +<div class="block">This applies specifically to applying at the enchanting table.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#canApplyTogether(net.minecraft.enchantment.Enchantment)">canApplyTogether</a></strong>(<a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> p_77326_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#func_151367_b(net.minecraft.entity.EntityLivingBase,%20net.minecraft.entity.Entity,%20int)">func_151367_b</a></strong>(<a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_151367_1_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_151367_2_, + int p_151367_3_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#func_151368_a(net.minecraft.entity.EntityLivingBase,%20net.minecraft.entity.Entity,%20int)">func_151368_a</a></strong>(<a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_151368_1_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_151368_2_, + int p_151368_3_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#func_152376_a(int,%20net.minecraft.entity.EnumCreatureAttribute)">func_152376_a</a></strong>(int p_152376_1_, + <a href="../../../net/minecraft/entity/EnumCreatureAttribute.html" title="enum in net.minecraft.entity">EnumCreatureAttribute</a> p_152376_2_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#getMaxEnchantability(int)">getMaxEnchantability</a></strong>(int p_77317_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#getMaxLevel()">getMaxLevel</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#getMinEnchantability(int)">getMinEnchantability</a></strong>(int p_77321_1_)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#getMinLevel()">getMinLevel</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#getName()">getName</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#getTranslatedName(int)">getTranslatedName</a></strong>(int p_77316_1_)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#getWeight()">getWeight</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#isAllowedOnBooks()">isAllowedOnBooks</a></strong>()</code> +<div class="block">Is this enchantment allowed to be enchanted on books via Enchantment Table</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a></code></td> +<td class="colLast"><code><strong><a href="../../../net/minecraft/enchantment/Enchantment.html#setName(java.lang.String)">setName</a></strong>(java.lang.String p_77322_1_)</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="enchantmentsList"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>enchantmentsList</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a>[] enchantmentsList</pre> +</li> +</ul> +<a name="enchantmentsBookList"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>enchantmentsBookList</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a>[] enchantmentsBookList</pre> +</li> +</ul> +<a name="protection"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>protection</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> protection</pre> +</li> +</ul> +<a name="fireProtection"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fireProtection</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> fireProtection</pre> +</li> +</ul> +<a name="featherFalling"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>featherFalling</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> featherFalling</pre> +</li> +</ul> +<a name="blastProtection"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>blastProtection</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> blastProtection</pre> +</li> +</ul> +<a name="projectileProtection"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>projectileProtection</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> projectileProtection</pre> +</li> +</ul> +<a name="respiration"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>respiration</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> respiration</pre> +</li> +</ul> +<a name="aquaAffinity"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>aquaAffinity</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> aquaAffinity</pre> +</li> +</ul> +<a name="thorns"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>thorns</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> thorns</pre> +</li> +</ul> +<a name="sharpness"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>sharpness</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> sharpness</pre> +</li> +</ul> +<a name="smite"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>smite</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> smite</pre> +</li> +</ul> +<a name="baneOfArthropods"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>baneOfArthropods</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> baneOfArthropods</pre> +</li> +</ul> +<a name="knockback"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>knockback</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> knockback</pre> +</li> +</ul> +<a name="fireAspect"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fireAspect</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> fireAspect</pre> +</li> +</ul> +<a name="looting"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>looting</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> looting</pre> +</li> +</ul> +<a name="efficiency"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>efficiency</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> efficiency</pre> +</li> +</ul> +<a name="silkTouch"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>silkTouch</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> silkTouch</pre> +</li> +</ul> +<a name="unbreaking"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>unbreaking</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> unbreaking</pre> +</li> +</ul> +<a name="fortune"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fortune</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> fortune</pre> +</li> +</ul> +<a name="power"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>power</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> power</pre> +</li> +</ul> +<a name="punch"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>punch</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> punch</pre> +</li> +</ul> +<a name="flame"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>flame</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> flame</pre> +</li> +</ul> +<a name="infinity"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>infinity</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> infinity</pre> +</li> +</ul> +<a name="field_151370_z"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>field_151370_z</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> field_151370_z</pre> +</li> +</ul> +<a name="field_151369_A"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>field_151369_A</h4> +<pre>public static final <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> field_151369_A</pre> +</li> +</ul> +<a name="effectId"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>effectId</h4> +<pre>public final int effectId</pre> +</li> +</ul> +<a name="type"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>type</h4> +<pre>public <a href="../../../net/minecraft/enchantment/EnumEnchantmentType.html" title="enum in net.minecraft.enchantment">EnumEnchantmentType</a> type</pre> +</li> +</ul> +<a name="name"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>name</h4> +<pre>protected java.lang.String name</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="Enchantment(int, int, net.minecraft.enchantment.EnumEnchantmentType)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Enchantment</h4> +<pre>protected Enchantment(int p_i1926_1_, + int p_i1926_2_, + <a href="../../../net/minecraft/enchantment/EnumEnchantmentType.html" title="enum in net.minecraft.enchantment">EnumEnchantmentType</a> p_i1926_3_)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getWeight()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getWeight</h4> +<pre>public int getWeight()</pre> +</li> +</ul> +<a name="getMinLevel()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMinLevel</h4> +<pre>public int getMinLevel()</pre> +</li> +</ul> +<a name="getMaxLevel()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxLevel</h4> +<pre>public int getMaxLevel()</pre> +</li> +</ul> +<a name="getMinEnchantability(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMinEnchantability</h4> +<pre>public int getMinEnchantability(int p_77321_1_)</pre> +</li> +</ul> +<a name="getMaxEnchantability(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxEnchantability</h4> +<pre>public int getMaxEnchantability(int p_77317_1_)</pre> +</li> +</ul> +<a name="calcModifierDamage(int, net.minecraft.util.DamageSource)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>calcModifierDamage</h4> +<pre>public int calcModifierDamage(int p_77318_1_, + <a href="../../../net/minecraft/util/DamageSource.html" title="class in net.minecraft.util">DamageSource</a> p_77318_2_)</pre> +</li> +</ul> +<a name="func_152376_a(int, net.minecraft.entity.EnumCreatureAttribute)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>func_152376_a</h4> +<pre>public float func_152376_a(int p_152376_1_, + <a href="../../../net/minecraft/entity/EnumCreatureAttribute.html" title="enum in net.minecraft.entity">EnumCreatureAttribute</a> p_152376_2_)</pre> +</li> +</ul> +<a name="canApplyTogether(net.minecraft.enchantment.Enchantment)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canApplyTogether</h4> +<pre>public boolean canApplyTogether(<a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> p_77326_1_)</pre> +</li> +</ul> +<a name="setName(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setName</h4> +<pre>public <a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> setName(java.lang.String p_77322_1_)</pre> +</li> +</ul> +<a name="getName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getName</h4> +<pre>public java.lang.String getName()</pre> +</li> +</ul> +<a name="getTranslatedName(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTranslatedName</h4> +<pre>public java.lang.String getTranslatedName(int p_77316_1_)</pre> +</li> +</ul> +<a name="canApply(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canApply</h4> +<pre>public boolean canApply(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> p_92089_1_)</pre> +</li> +</ul> +<a name="func_151368_a(net.minecraft.entity.EntityLivingBase, net.minecraft.entity.Entity, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>func_151368_a</h4> +<pre>public void func_151368_a(<a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_151368_1_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_151368_2_, + int p_151368_3_)</pre> +</li> +</ul> +<a name="func_151367_b(net.minecraft.entity.EntityLivingBase, net.minecraft.entity.Entity, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>func_151367_b</h4> +<pre>public void func_151367_b(<a href="../../../net/minecraft/entity/EntityLivingBase.html" title="class in net.minecraft.entity">EntityLivingBase</a> p_151367_1_, + <a href="../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> p_151367_2_, + int p_151367_3_)</pre> +</li> +</ul> +<a name="canApplyAtEnchantingTable(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>canApplyAtEnchantingTable</h4> +<pre>public boolean canApplyAtEnchantingTable(<a href="../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> stack)</pre> +<div class="block">This applies specifically to applying at the enchanting table. The other method <a href="../../../net/minecraft/enchantment/Enchantment.html#canApply(net.minecraft.item.ItemStack)"><code>canApply(ItemStack)</code></a> + applies for <i>all possible</i> enchantments.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stack</code> - </dd> +<dt><span class="strong">Returns:</span></dt><dd></dd></dl> +</li> +</ul> +<a name="addToBookList(net.minecraft.enchantment.Enchantment)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addToBookList</h4> +<pre>public static void addToBookList(<a href="../../../net/minecraft/enchantment/Enchantment.html" title="class in net.minecraft.enchantment">Enchantment</a> enchantment)</pre> +<div class="block">Add to the list of enchantments applicable by the anvil from a book</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>enchantment</code> - </dd></dl> +</li> +</ul> +<a name="isAllowedOnBooks()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>isAllowedOnBooks</h4> +<pre>public boolean isAllowedOnBooks()</pre> +<div class="block">Is this enchantment allowed to be enchanted on books via Enchantment Table</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>false to disable the vanilla feature</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-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../net/minecraft/enchantment/EnchantmentArrowDamage.html" title="class in net.minecraft.enchantment"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?net/minecraft/enchantment/Enchantment.html" target="_top">Frames</a></li> +<li><a href="Enchantment.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> |
