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/cpw/mods/fml/common/registry | |
| parent | 1da8dcd58647e34c9af94ceeecaeaf3b0d08c48c (diff) | |
full project files
Diffstat (limited to 'javadoc/cpw/mods/fml/common/registry')
23 files changed, 7877 insertions, 0 deletions
diff --git a/javadoc/cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html b/javadoc/cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html new file mode 100644 index 0000000..bfa6541 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html @@ -0,0 +1,405 @@ +<!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:18 EST 2015 --> +<title>EntityRegistry.EntityRegistration (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="EntityRegistry.EntityRegistration (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><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/ExistingSubstitutionException.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" target="_top">Frames</a></li> +<li><a href="EntityRegistry.EntityRegistration.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>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 name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">cpw.mods.fml.common.registry</div> +<h2 title="Class EntityRegistry.EntityRegistration" class="title">Class EntityRegistry.EntityRegistration</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html" title="class in cpw.mods.fml.common.registry">EntityRegistry</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">EntityRegistry.EntityRegistration</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#EntityRegistry.EntityRegistration(cpw.mods.fml.common.ModContainer,%20java.lang.Class,%20java.lang.String,%20int,%20int,%20int,%20boolean)">EntityRegistry.EntityRegistration</a></strong>(<a href="../../../../../cpw/mods/fml/common/ModContainer.html" title="interface in cpw.mods.fml.common">ModContainer</a> mc, + java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> entityClass, + java.lang.String entityName, + int id, + int trackingRange, + int updateFrequency, + boolean sendsVelocityUpdates)</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><a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#doCustomSpawning(cpw.mods.fml.common.network.internal.FMLMessage.EntitySpawnMessage)">doCustomSpawning</a></strong>(<a href="../../../../../cpw/mods/fml/common/network/internal/FMLMessage.EntitySpawnMessage.html" title="class in cpw.mods.fml.common.network.internal">FMLMessage.EntitySpawnMessage</a> spawnMsg)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/ModContainer.html" title="interface in cpw.mods.fml.common">ModContainer</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#getContainer()">getContainer</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#getEntityClass()">getEntityClass</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#getEntityName()">getEntityName</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#getModEntityId()">getModEntityId</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#getTrackingRange()">getTrackingRange</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#getUpdateFrequency()">getUpdateFrequency</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#hasCustomSpawning()">hasCustomSpawning</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#sendsVelocityUpdates()">sendsVelocityUpdates</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#setCustomSpawning(com.google.common.base.Function,%20boolean)">setCustomSpawning</a></strong>(com.google.common.base.Function<<a href="../../../../../cpw/mods/fml/common/network/internal/FMLMessage.EntitySpawnMessage.html" title="class in cpw.mods.fml.common.network.internal">FMLMessage.EntitySpawnMessage</a>,<a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> callable, + boolean usesVanillaSpawning)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html#usesVanillaSpawning()">usesVanillaSpawning</a></strong>()</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"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="EntityRegistry.EntityRegistration(cpw.mods.fml.common.ModContainer, java.lang.Class, java.lang.String, int, int, int, boolean)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>EntityRegistry.EntityRegistration</h4> +<pre>public EntityRegistry.EntityRegistration(<a href="../../../../../cpw/mods/fml/common/ModContainer.html" title="interface in cpw.mods.fml.common">ModContainer</a> mc, + java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> entityClass, + java.lang.String entityName, + int id, + int trackingRange, + int updateFrequency, + boolean sendsVelocityUpdates)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getEntityClass()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getEntityClass</h4> +<pre>public java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> getEntityClass()</pre> +</li> +</ul> +<a name="getContainer()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getContainer</h4> +<pre>public <a href="../../../../../cpw/mods/fml/common/ModContainer.html" title="interface in cpw.mods.fml.common">ModContainer</a> getContainer()</pre> +</li> +</ul> +<a name="getEntityName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getEntityName</h4> +<pre>public java.lang.String getEntityName()</pre> +</li> +</ul> +<a name="getModEntityId()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getModEntityId</h4> +<pre>public int getModEntityId()</pre> +</li> +</ul> +<a name="getTrackingRange()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTrackingRange</h4> +<pre>public int getTrackingRange()</pre> +</li> +</ul> +<a name="getUpdateFrequency()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getUpdateFrequency</h4> +<pre>public int getUpdateFrequency()</pre> +</li> +</ul> +<a name="sendsVelocityUpdates()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>sendsVelocityUpdates</h4> +<pre>public boolean sendsVelocityUpdates()</pre> +</li> +</ul> +<a name="usesVanillaSpawning()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>usesVanillaSpawning</h4> +<pre>public boolean usesVanillaSpawning()</pre> +</li> +</ul> +<a name="hasCustomSpawning()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hasCustomSpawning</h4> +<pre>public boolean hasCustomSpawning()</pre> +</li> +</ul> +<a name="doCustomSpawning(cpw.mods.fml.common.network.internal.FMLMessage.EntitySpawnMessage)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>doCustomSpawning</h4> +<pre>public <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> doCustomSpawning(<a href="../../../../../cpw/mods/fml/common/network/internal/FMLMessage.EntitySpawnMessage.html" title="class in cpw.mods.fml.common.network.internal">FMLMessage.EntitySpawnMessage</a> spawnMsg) + throws java.lang.Exception</pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.Exception</code></dd></dl> +</li> +</ul> +<a name="setCustomSpawning(com.google.common.base.Function, boolean)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>setCustomSpawning</h4> +<pre>public void setCustomSpawning(com.google.common.base.Function<<a href="../../../../../cpw/mods/fml/common/network/internal/FMLMessage.EntitySpawnMessage.html" title="class in cpw.mods.fml.common.network.internal">FMLMessage.EntitySpawnMessage</a>,<a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> callable, + boolean usesVanillaSpawning)</pre> +</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><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/ExistingSubstitutionException.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" target="_top">Frames</a></li> +<li><a href="EntityRegistry.EntityRegistration.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>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 name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/EntityRegistry.html b/javadoc/cpw/mods/fml/common/registry/EntityRegistry.html new file mode 100644 index 0000000..a179e9d --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/EntityRegistry.html @@ -0,0 +1,444 @@ +<!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:18 EST 2015 --> +<title>EntityRegistry (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="EntityRegistry (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="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/EntityRegistry.html" target="_top">Frames</a></li> +<li><a href="EntityRegistry.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><a href="#nested_class_summary">Nested</a> | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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">cpw.mods.fml.common.registry</div> +<h2 title="Class EntityRegistry" class="title">Class EntityRegistry</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.EntityRegistry</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">EntityRegistry</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested_class_summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>class </code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" title="class in cpw.mods.fml.common.registry">EntityRegistry.EntityRegistration</a></strong></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="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#addSpawn(java.lang.Class,%20int,%20int,%20int,%20net.minecraft.entity.EnumCreatureType,%20net.minecraft.world.biome.BiomeGenBase...)">addSpawn</a></strong>(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/EntityLiving.html" title="class in net.minecraft.entity">EntityLiving</a>> entityClass, + int weightedProb, + int min, + int max, + <a href="../../../../../net/minecraft/entity/EnumCreatureType.html" title="enum in net.minecraft.entity">EnumCreatureType</a> typeOfCreature, + <a href="../../../../../net/minecraft/world/biome/BiomeGenBase.html" title="class in net.minecraft.world.biome">BiomeGenBase</a>... biomes)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#addSpawn(java.lang.String,%20int,%20int,%20int,%20net.minecraft.entity.EnumCreatureType,%20net.minecraft.world.biome.BiomeGenBase...)">addSpawn</a></strong>(java.lang.String entityName, + int weightedProb, + int min, + int max, + <a href="../../../../../net/minecraft/entity/EnumCreatureType.html" title="enum in net.minecraft.entity">EnumCreatureType</a> spawnList, + <a href="../../../../../net/minecraft/world/biome/BiomeGenBase.html" title="class in net.minecraft.world.biome">BiomeGenBase</a>... biomes)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#findGlobalUniqueEntityId()">findGlobalUniqueEntityId</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html" title="class in cpw.mods.fml.common.registry">EntityRegistry</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#instance()">instance</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" title="class in cpw.mods.fml.common.registry">EntityRegistry.EntityRegistration</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#lookupModSpawn(java.lang.Class,%20boolean)">lookupModSpawn</a></strong>(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> clazz, + boolean keepLooking)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" title="class in cpw.mods.fml.common.registry">EntityRegistry.EntityRegistration</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#lookupModSpawn(cpw.mods.fml.common.ModContainer,%20int)">lookupModSpawn</a></strong>(<a href="../../../../../cpw/mods/fml/common/ModContainer.html" title="interface in cpw.mods.fml.common">ModContainer</a> mc, + int modEntityId)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#registerGlobalEntityID(java.lang.Class,%20java.lang.String,%20int)">registerGlobalEntityID</a></strong>(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> entityClass, + java.lang.String entityName, + int id)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#registerGlobalEntityID(java.lang.Class,%20java.lang.String,%20int,%20int,%20int)">registerGlobalEntityID</a></strong>(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> entityClass, + java.lang.String entityName, + int id, + int backgroundEggColour, + int foregroundEggColour)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#registerModEntity(java.lang.Class,%20java.lang.String,%20int,%20java.lang.Object,%20int,%20int,%20boolean)">registerModEntity</a></strong>(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> entityClass, + java.lang.String entityName, + int id, + java.lang.Object mod, + int trackingRange, + int updateFrequency, + boolean sendsVelocityUpdates)</code> +<div class="block">Register the mod entity type with FML</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#removeSpawn(java.lang.Class,%20net.minecraft.entity.EnumCreatureType,%20net.minecraft.world.biome.BiomeGenBase...)">removeSpawn</a></strong>(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/EntityLiving.html" title="class in net.minecraft.entity">EntityLiving</a>> entityClass, + <a href="../../../../../net/minecraft/entity/EnumCreatureType.html" title="enum in net.minecraft.entity">EnumCreatureType</a> typeOfCreature, + <a href="../../../../../net/minecraft/world/biome/BiomeGenBase.html" title="class in net.minecraft.world.biome">BiomeGenBase</a>... biomes)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#removeSpawn(java.lang.String,%20net.minecraft.entity.EnumCreatureType,%20net.minecraft.world.biome.BiomeGenBase...)">removeSpawn</a></strong>(java.lang.String entityName, + <a href="../../../../../net/minecraft/entity/EnumCreatureType.html" title="enum in net.minecraft.entity">EnumCreatureType</a> spawnList, + <a href="../../../../../net/minecraft/world/biome/BiomeGenBase.html" title="class in net.minecraft.world.biome">BiomeGenBase</a>... biomes)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html#tryTrackingEntity(net.minecraft.entity.EntityTracker,%20net.minecraft.entity.Entity)">tryTrackingEntity</a></strong>(<a href="../../../../../net/minecraft/entity/EntityTracker.html" title="class in net.minecraft.entity">EntityTracker</a> entityTracker, + <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity)</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"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="instance()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>instance</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html" title="class in cpw.mods.fml.common.registry">EntityRegistry</a> instance()</pre> +</li> +</ul> +<a name="registerModEntity(java.lang.Class, java.lang.String, int, java.lang.Object, int, int, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerModEntity</h4> +<pre>public static void registerModEntity(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> entityClass, + java.lang.String entityName, + int id, + java.lang.Object mod, + int trackingRange, + int updateFrequency, + boolean sendsVelocityUpdates)</pre> +<div class="block">Register the mod entity type with FML</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entityClass</code> - The entity class</dd><dd><code>entityName</code> - A unique name for the entity</dd><dd><code>id</code> - A mod specific ID for the entity</dd><dd><code>mod</code> - The mod</dd><dd><code>trackingRange</code> - The range at which MC will send tracking updates</dd><dd><code>updateFrequency</code> - The frequency of tracking updates</dd><dd><code>sendsVelocityUpdates</code> - Whether to send velocity information packets as well</dd></dl> +</li> +</ul> +<a name="registerGlobalEntityID(java.lang.Class, java.lang.String, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerGlobalEntityID</h4> +<pre>public static void registerGlobalEntityID(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> entityClass, + java.lang.String entityName, + int id)</pre> +</li> +</ul> +<a name="registerGlobalEntityID(java.lang.Class, java.lang.String, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerGlobalEntityID</h4> +<pre>public static void registerGlobalEntityID(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> entityClass, + java.lang.String entityName, + int id, + int backgroundEggColour, + int foregroundEggColour)</pre> +</li> +</ul> +<a name="addSpawn(java.lang.Class, int, int, int, net.minecraft.entity.EnumCreatureType, net.minecraft.world.biome.BiomeGenBase...)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addSpawn</h4> +<pre>public static void addSpawn(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/EntityLiving.html" title="class in net.minecraft.entity">EntityLiving</a>> entityClass, + int weightedProb, + int min, + int max, + <a href="../../../../../net/minecraft/entity/EnumCreatureType.html" title="enum in net.minecraft.entity">EnumCreatureType</a> typeOfCreature, + <a href="../../../../../net/minecraft/world/biome/BiomeGenBase.html" title="class in net.minecraft.world.biome">BiomeGenBase</a>... biomes)</pre> +</li> +</ul> +<a name="addSpawn(java.lang.String, int, int, int, net.minecraft.entity.EnumCreatureType, net.minecraft.world.biome.BiomeGenBase...)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addSpawn</h4> +<pre>public static void addSpawn(java.lang.String entityName, + int weightedProb, + int min, + int max, + <a href="../../../../../net/minecraft/entity/EnumCreatureType.html" title="enum in net.minecraft.entity">EnumCreatureType</a> spawnList, + <a href="../../../../../net/minecraft/world/biome/BiomeGenBase.html" title="class in net.minecraft.world.biome">BiomeGenBase</a>... biomes)</pre> +</li> +</ul> +<a name="removeSpawn(java.lang.Class, net.minecraft.entity.EnumCreatureType, net.minecraft.world.biome.BiomeGenBase...)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>removeSpawn</h4> +<pre>public static void removeSpawn(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/EntityLiving.html" title="class in net.minecraft.entity">EntityLiving</a>> entityClass, + <a href="../../../../../net/minecraft/entity/EnumCreatureType.html" title="enum in net.minecraft.entity">EnumCreatureType</a> typeOfCreature, + <a href="../../../../../net/minecraft/world/biome/BiomeGenBase.html" title="class in net.minecraft.world.biome">BiomeGenBase</a>... biomes)</pre> +</li> +</ul> +<a name="removeSpawn(java.lang.String, net.minecraft.entity.EnumCreatureType, net.minecraft.world.biome.BiomeGenBase...)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>removeSpawn</h4> +<pre>public static void removeSpawn(java.lang.String entityName, + <a href="../../../../../net/minecraft/entity/EnumCreatureType.html" title="enum in net.minecraft.entity">EnumCreatureType</a> spawnList, + <a href="../../../../../net/minecraft/world/biome/BiomeGenBase.html" title="class in net.minecraft.world.biome">BiomeGenBase</a>... biomes)</pre> +</li> +</ul> +<a name="findGlobalUniqueEntityId()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findGlobalUniqueEntityId</h4> +<pre>public static int findGlobalUniqueEntityId()</pre> +</li> +</ul> +<a name="lookupModSpawn(java.lang.Class, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>lookupModSpawn</h4> +<pre>public <a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" title="class in cpw.mods.fml.common.registry">EntityRegistry.EntityRegistration</a> lookupModSpawn(java.lang.Class<? extends <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a>> clazz, + boolean keepLooking)</pre> +</li> +</ul> +<a name="lookupModSpawn(cpw.mods.fml.common.ModContainer, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>lookupModSpawn</h4> +<pre>public <a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" title="class in cpw.mods.fml.common.registry">EntityRegistry.EntityRegistration</a> lookupModSpawn(<a href="../../../../../cpw/mods/fml/common/ModContainer.html" title="interface in cpw.mods.fml.common">ModContainer</a> mc, + int modEntityId)</pre> +</li> +</ul> +<a name="tryTrackingEntity(net.minecraft.entity.EntityTracker, net.minecraft.entity.Entity)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>tryTrackingEntity</h4> +<pre>public boolean tryTrackingEntity(<a href="../../../../../net/minecraft/entity/EntityTracker.html" title="class in net.minecraft.entity">EntityTracker</a> entityTracker, + <a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity)</pre> +</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="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/EntityRegistry.html" target="_top">Frames</a></li> +<li><a href="EntityRegistry.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><a href="#nested_class_summary">Nested</a> | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/ExistingSubstitutionException.html b/javadoc/cpw/mods/fml/common/registry/ExistingSubstitutionException.html new file mode 100644 index 0000000..a34ce23 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/ExistingSubstitutionException.html @@ -0,0 +1,250 @@ +<!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:18 EST 2015 --> +<title>ExistingSubstitutionException (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="ExistingSubstitutionException (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><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/ExistingSubstitutionException.html" target="_top">Frames</a></li> +<li><a href="ExistingSubstitutionException.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>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_java.lang.Throwable">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> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">cpw.mods.fml.common.registry</div> +<h2 title="Class ExistingSubstitutionException" class="title">Class ExistingSubstitutionException</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>java.lang.Throwable</li> +<li> +<ul class="inheritance"> +<li>java.lang.Exception</li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.ExistingSubstitutionException</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>java.io.Serializable</dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">ExistingSubstitutionException</span> +extends java.lang.Exception</pre> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#cpw.mods.fml.common.registry.ExistingSubstitutionException">Serialized Form</a></dd></dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/ExistingSubstitutionException.html#ExistingSubstitutionException(java.lang.String,%20java.lang.Object)">ExistingSubstitutionException</a></strong>(java.lang.String fromName, + java.lang.Object toReplace)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Throwable"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Throwable</h3> +<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li> +</ul> +<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, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="ExistingSubstitutionException(java.lang.String, java.lang.Object)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>ExistingSubstitutionException</h4> +<pre>public ExistingSubstitutionException(java.lang.String fromName, + java.lang.Object toReplace)</pre> +</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><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/ExistingSubstitutionException.html" target="_top">Frames</a></li> +<li><a href="ExistingSubstitutionException.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>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_java.lang.Throwable">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> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html b/javadoc/cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html new file mode 100644 index 0000000..a8fb1e4 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html @@ -0,0 +1,605 @@ +<!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:18 EST 2015 --> +<title>FMLControlledNamespacedRegistry (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="FMLControlledNamespacedRegistry (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><a href="../../../../../cpw/mods/fml/common/registry/ExistingSubstitutionException.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameData.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" target="_top">Frames</a></li> +<li><a href="FMLControlledNamespacedRegistry.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="#fields_inherited_from_class_net.minecraft.util.RegistryNamespaced">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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">cpw.mods.fml.common.registry</div> +<h2 title="Class FMLControlledNamespacedRegistry" class="title">Class FMLControlledNamespacedRegistry<I></h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../../../net/minecraft/util/RegistrySimple.html" title="class in net.minecraft.util">net.minecraft.util.RegistrySimple</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">net.minecraft.util.RegistryNamespaced</a></li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry<I></li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>java.lang.Iterable, <a href="../../../../../net/minecraft/util/IObjectIntIterable.html" title="interface in net.minecraft.util">IObjectIntIterable</a>, <a href="../../../../../net/minecraft/util/IRegistry.html" title="interface in net.minecraft.util">IRegistry</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">FMLControlledNamespacedRegistry<I></span> +extends <a href="../../../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">RegistryNamespaced</a></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> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraft.util.RegistryNamespaced"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraft.util.<a href="../../../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">RegistryNamespaced</a></h3> +<code><a href="../../../../../net/minecraft/util/RegistryNamespaced.html#field_148758_b">field_148758_b</a>, <a href="../../../../../net/minecraft/util/RegistryNamespaced.html#underlyingIntegerMap">underlyingIntegerMap</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_net.minecraft.util.RegistrySimple"> +<!-- --> +</a> +<h3>Fields inherited from class net.minecraft.util.<a href="../../../../../net/minecraft/util/RegistrySimple.html" title="class in net.minecraft.util">RegistrySimple</a></h3> +<code><a href="../../../../../net/minecraft/util/RegistrySimple.html#registryObjects">registryObjects</a></code></li> +</ul> +</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>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#addObject(int,%20java.lang.String,%20java.lang.Object)">addObject</a></strong>(int id, + java.lang.String name, + java.lang.Object thing)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>register through <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry"><code>GameRegistry</code></a> instead.</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#contains(java.lang.String)">contains</a></strong>(java.lang.String itemName)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>use containsKey instead</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#containsKey(java.lang.String)">containsKey</a></strong>(java.lang.String name)</code> +<div class="block">Determine if the registry has an entry for the specified name.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#get(int)">get</a></strong>(int id)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>use getObjectById instead</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#get(java.lang.String)">get</a></strong>(java.lang.String name)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>use getObject instead</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.util.Map<java.lang.String,java.lang.String></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#getAliases()">getAliases</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#getDefaultValue()">getDefaultValue</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#getDelegate(I,%20java.lang.Class)">getDelegate</a></strong>(<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a> thing, + java.lang.Class<<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a>> clazz)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#getId(I)">getId</a></strong>(<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a> thing)</code> +<div class="block">Get the id for the specified object.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#getId(java.lang.String)">getId</a></strong>(java.lang.String itemName)</code> +<div class="block">Get the id for the specified object.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#getObject(java.lang.String)">getObject</a></strong>(java.lang.String name)</code> +<div class="block">Fetch the object identified by the specified name or the default object.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#getObjectById(int)">getObjectById</a></strong>(int id)</code> +<div class="block">Fetch the object identified by the specified id or the default object.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#getRaw(int)">getRaw</a></strong>(int id)</code> +<div class="block">Get the object identified by the specified id.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#getRaw(java.lang.String)">getRaw</a></strong>(java.lang.String name)</code> +<div class="block">Get the object identified by the specified name.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#putObject(java.lang.Object,%20java.lang.Object)">putObject</a></strong>(java.lang.Object objName, + java.lang.Object obj)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>register through <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry"><code>GameRegistry</code></a> instead.</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#serializeInto(java.util.Map)">serializeInto</a></strong>(java.util.Map<java.lang.String,java.lang.Integer> idMapping)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#serializeSubstitutions(java.util.Set)">serializeSubstitutions</a></strong>(java.util.Set<java.lang.String> blockSubs)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.Iterable<<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html#typeSafeIterable()">typeSafeIterable</a></strong>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraft.util.RegistryNamespaced"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraft.util.<a href="../../../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">RegistryNamespaced</a></h3> +<code><a href="../../../../../net/minecraft/util/RegistryNamespaced.html#containsId(int)">containsId</a>, <a href="../../../../../net/minecraft/util/RegistryNamespaced.html#containsKey(java.lang.Object)">containsKey</a>, <a href="../../../../../net/minecraft/util/RegistryNamespaced.html#createUnderlyingMap()">createUnderlyingMap</a>, <a href="../../../../../net/minecraft/util/RegistryNamespaced.html#ensureNamespaced(java.lang.String)">ensureNamespaced</a>, <a href="../../../../../net/minecraft/util/RegistryNamespaced.html#getIDForObject(java.lang.Object)">getIDForObject</a>, <a href="../../../../../net/minecraft/util/RegistryNamespaced.html#getNameForObject(java.lang.Object)">getNameForObject</a>, <a href="../../../../../net/minecraft/util/RegistryNamespaced.html#getObject(java.lang.Object)">getObject</a>, <a href="../../../../../net/minecraft/util/RegistryNamespaced.html#iterator()">iterator</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_net.minecraft.util.RegistrySimple"> +<!-- --> +</a> +<h3>Methods inherited from class net.minecraft.util.<a href="../../../../../net/minecraft/util/RegistrySimple.html" title="class in net.minecraft.util">RegistrySimple</a></h3> +<code><a href="../../../../../net/minecraft/util/RegistrySimple.html#getKeys()">getKeys</a></code></li> +</ul> +<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"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="addObject(int, java.lang.String, java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addObject</h4> +<pre>@Deprecated +public void addObject(int id, + java.lang.String name, + java.lang.Object thing)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>register through <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry"><code>GameRegistry</code></a> instead.</i></div> +<div class="block">Add an object to the registry, trying to use the specified id.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../net/minecraft/util/RegistryNamespaced.html#addObject(int,%20java.lang.String,%20java.lang.Object)">addObject</a></code> in class <code><a href="../../../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">RegistryNamespaced</a></code></dd> +</dl> +</li> +</ul> +<a name="putObject(java.lang.Object, java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>putObject</h4> +<pre>@Deprecated +public void putObject(java.lang.Object objName, + java.lang.Object obj)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>register through <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry"><code>GameRegistry</code></a> instead.</i></div> +<div class="block">DANGEROUS! EVIL! DO NOT USE!</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../net/minecraft/util/IRegistry.html#putObject(java.lang.Object,%20java.lang.Object)">putObject</a></code> in interface <code><a href="../../../../../net/minecraft/util/IRegistry.html" title="interface in net.minecraft.util">IRegistry</a></code></dd> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../net/minecraft/util/RegistrySimple.html#putObject(java.lang.Object,%20java.lang.Object)">putObject</a></code> in class <code><a href="../../../../../net/minecraft/util/RegistrySimple.html" title="class in net.minecraft.util">RegistrySimple</a></code></dd> +</dl> +</li> +</ul> +<a name="getObject(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getObject</h4> +<pre>public <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a> getObject(java.lang.String name)</pre> +<div class="block">Fetch the object identified by the specified name or the default object. + + For blocks the default object is the air block, for items it's null.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../net/minecraft/util/RegistryNamespaced.html#getObject(java.lang.String)">getObject</a></code> in class <code><a href="../../../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">RegistryNamespaced</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Unique name identifying the object.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Registered object of the default object if it wasn't found-</dd></dl> +</li> +</ul> +<a name="getObjectById(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getObjectById</h4> +<pre>public <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a> getObjectById(int id)</pre> +<div class="block">Fetch the object identified by the specified id or the default object. + + For blocks the default object is the air block, for items it's null.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../net/minecraft/util/RegistryNamespaced.html#getObjectById(int)">getObjectById</a></code> in class <code><a href="../../../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">RegistryNamespaced</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - ID identifying the object.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Registered object of the default object if it wasn't found-</dd></dl> +</li> +</ul> +<a name="get(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre>@Deprecated +public <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a> get(int id)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>use getObjectById instead</i></div> +</li> +</ul> +<a name="get(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre>@Deprecated +public <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a> get(java.lang.String name)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>use getObject instead</i></div> +</li> +</ul> +<a name="getId(java.lang.Object)"> +<!-- --> +</a><a name="getId(I)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getId</h4> +<pre>public int getId(<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a> thing)</pre> +<div class="block">Get the id for the specified object. + + Don't hold onto the id across the world, it's being dynamically re-mapped as needed. + + Usually the name should be used instead of the id, if using the Block/Item object itself is + not suitable for the task.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>thing</code> - Block/Item object.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Block/Item id or -1 if it wasn't found.</dd></dl> +</li> +</ul> +<a name="getRaw(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRaw</h4> +<pre>public <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a> getRaw(int id)</pre> +<div class="block">Get the object identified by the specified id.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - Block/Item id.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Block/Item object or null if it wasn't found.</dd></dl> +</li> +</ul> +<a name="getRaw(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRaw</h4> +<pre>public <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a> getRaw(java.lang.String name)</pre> +<div class="block">Get the object identified by the specified name.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Block/Item name.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Block/Item object or null if it wasn't found.</dd></dl> +</li> +</ul> +<a name="containsKey(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>containsKey</h4> +<pre>public boolean containsKey(java.lang.String name)</pre> +<div class="block">Determine if the registry has an entry for the specified name. + + Aliased names will be resolved as well.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="../../../../../net/minecraft/util/RegistryNamespaced.html#containsKey(java.lang.String)">containsKey</a></code> in class <code><a href="../../../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util">RegistryNamespaced</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Object name to check.</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if a matching entry was found.</dd></dl> +</li> +</ul> +<a name="getId(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getId</h4> +<pre>public int getId(java.lang.String itemName)</pre> +<div class="block">Get the id for the specified object. + + Don't hold onto the id across the world, it's being dynamically re-mapped as needed. + + Usually the name should be used instead of the id, if using the Block/Item object itself is + not suitable for the task.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemName</code> - Block/Item registry name.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Block/Item id or -1 if it wasn't found.</dd></dl> +</li> +</ul> +<a name="contains(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>contains</h4> +<pre>@Deprecated +public boolean contains(java.lang.String itemName)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>use containsKey instead</i></div> +</li> +</ul> +<a name="typeSafeIterable()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>typeSafeIterable</h4> +<pre>public java.lang.Iterable<<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a>> typeSafeIterable()</pre> +</li> +</ul> +<a name="serializeInto(java.util.Map)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>serializeInto</h4> +<pre>public void serializeInto(java.util.Map<java.lang.String,java.lang.Integer> idMapping)</pre> +</li> +</ul> +<a name="getAliases()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAliases</h4> +<pre>public java.util.Map<java.lang.String,java.lang.String> getAliases()</pre> +</li> +</ul> +<a name="getDefaultValue()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDefaultValue</h4> +<pre>public <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a> getDefaultValue()</pre> +</li> +</ul> +<a name="getDelegate(java.lang.Object,java.lang.Class)"> +<!-- --> +</a><a name="getDelegate(I, java.lang.Class)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDelegate</h4> +<pre>public <a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a>> getDelegate(<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a> thing, + java.lang.Class<<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="type parameter in FMLControlledNamespacedRegistry">I</a>> clazz)</pre> +</li> +</ul> +<a name="serializeSubstitutions(java.util.Set)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>serializeSubstitutions</h4> +<pre>public void serializeSubstitutions(java.util.Set<java.lang.String> blockSubs)</pre> +</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><a href="../../../../../cpw/mods/fml/common/registry/ExistingSubstitutionException.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameData.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" target="_top">Frames</a></li> +<li><a href="FMLControlledNamespacedRegistry.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="#fields_inherited_from_class_net.minecraft.util.RegistryNamespaced">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html b/javadoc/cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html new file mode 100644 index 0000000..3a63025 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html @@ -0,0 +1,296 @@ +<!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:18 EST 2015 --> +<title>GameData.GameDataSnapshot (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="GameData.GameDataSnapshot (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><a href="../../../../../cpw/mods/fml/common/registry/GameData.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html" target="_top">Frames</a></li> +<li><a href="GameData.GameDataSnapshot.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="#methods_inherited_from_class_java.lang.Object">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>Method</li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">cpw.mods.fml.common.registry</div> +<h2 title="Class GameData.GameDataSnapshot" class="title">Class GameData.GameDataSnapshot</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.GameData.GameDataSnapshot</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../../../cpw/mods/fml/common/registry/GameData.html" title="class in cpw.mods.fml.common.registry">GameData</a></dd> +</dl> +<hr> +<br> +<pre>public static class <span class="strong">GameData.GameDataSnapshot</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>java.util.Set<java.lang.String></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html#blockSubstitutions">blockSubstitutions</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.util.Map<java.lang.String,java.lang.Integer></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html#idMap">idMap</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.util.Set<java.lang.String></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html#itemSubstitutions">itemSubstitutions</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="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html#GameData.GameDataSnapshot(java.util.Map,%20java.util.Set,%20java.util.Set)">GameData.GameDataSnapshot</a></strong>(java.util.Map<java.lang.String,java.lang.Integer> idMap, + java.util.Set<java.lang.String> blockSubstitutions, + java.util.Set<java.lang.String> itemSubstitutions)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<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="idMap"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>idMap</h4> +<pre>public final java.util.Map<java.lang.String,java.lang.Integer> idMap</pre> +</li> +</ul> +<a name="blockSubstitutions"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>blockSubstitutions</h4> +<pre>public final java.util.Set<java.lang.String> blockSubstitutions</pre> +</li> +</ul> +<a name="itemSubstitutions"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>itemSubstitutions</h4> +<pre>public final java.util.Set<java.lang.String> itemSubstitutions</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="GameData.GameDataSnapshot(java.util.Map, java.util.Set, java.util.Set)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>GameData.GameDataSnapshot</h4> +<pre>public GameData.GameDataSnapshot(java.util.Map<java.lang.String,java.lang.Integer> idMap, + java.util.Set<java.lang.String> blockSubstitutions, + java.util.Set<java.lang.String> itemSubstitutions)</pre> +</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><a href="../../../../../cpw/mods/fml/common/registry/GameData.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html" target="_top">Frames</a></li> +<li><a href="GameData.GameDataSnapshot.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="#methods_inherited_from_class_java.lang.Object">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>Method</li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/GameData.html b/javadoc/cpw/mods/fml/common/registry/GameData.html new file mode 100644 index 0000000..3e0dd75 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/GameData.html @@ -0,0 +1,520 @@ +<!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:18 EST 2015 --> +<title>GameData (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="GameData (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><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameData.html" target="_top">Frames</a></li> +<li><a href="GameData.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><a href="#nested_class_summary">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li>Constr | </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>Constr | </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">cpw.mods.fml.common.registry</div> +<h2 title="Class GameData" class="title">Class GameData</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.GameData</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">GameData</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested_class_summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html" title="class in cpw.mods.fml.common.registry">GameData.GameDataSnapshot</a></strong></code> </td> +</tr> +</table> +</li> +</ul> +<!-- =========== 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="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#blockRegistry">blockRegistry</a></strong></code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>use <a href="../../../../../cpw/mods/fml/common/registry/GameData.html#getBlockRegistry()"><code>getBlockRegistry()</code></a> instead.</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#itemRegistry">itemRegistry</a></strong></code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>use <a href="../../../../../cpw/mods/fml/common/registry/GameData.html#getItemRegistry()"><code>getItemRegistry()</code></a> instead.</i></div> +</div> +</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 <a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html" title="class in cpw.mods.fml.common.registry">GameData.GameDataSnapshot</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#buildItemDataList()">buildItemDataList</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#dumpRegistry(java.io.File)">dumpRegistry</a></strong>(java.io.File minecraftDir)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/ModContainer.html" title="interface in cpw.mods.fml.common">ModContainer</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#findModOwner(java.lang.String)">findModOwner</a></strong>(java.lang.String string)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>no replacement planned</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#fixBrokenIds(java.util.Map,%20java.util.Set)">fixBrokenIds</a></strong>(java.util.Map<java.lang.String,java.lang.Integer> dataList, + java.util.Set<java.lang.Integer> blockedIds)</code> +<div class="block">Fix IDs improperly allocated by early versions of the registry, best-effort.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#freezeData()">freezeData</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int[]</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#getBlockedIds()">getBlockedIds</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#getBlockRegistry()">getBlockRegistry</a></strong>()</code> +<div class="block">Get the currently active block registry.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#getItemRegistry()">getItemRegistry</a></strong>()</code> +<div class="block">Get the currently active item registry.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static <a href="../../../../../cpw/mods/fml/common/registry/GameData.html" title="class in cpw.mods.fml.common.registry">GameData</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#getMain()">getMain</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.util.List<java.lang.String></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#injectWorldIDMap(java.util.Map,%20java.util.Set,%20java.util.Map,%20java.util.Map,%20java.util.Set,%20java.util.Set,%20boolean,%20boolean)">injectWorldIDMap</a></strong>(java.util.Map<java.lang.String,java.lang.Integer> dataList, + java.util.Set<java.lang.Integer> blockedIds, + java.util.Map<java.lang.String,java.lang.String> blockAliases, + java.util.Map<java.lang.String,java.lang.String> itemAliases, + java.util.Set<java.lang.String> blockSubstitutions, + java.util.Set<java.lang.String> itemSubstitutions, + boolean injectFrozenData, + boolean isLocalWorld)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.util.List<java.lang.String></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#injectWorldIDMap(java.util.Map,%20java.util.Set,%20java.util.Set,%20boolean,%20boolean)">injectWorldIDMap</a></strong>(java.util.Map<java.lang.String,java.lang.Integer> dataList, + java.util.Set<java.lang.String> blockSubstitutions, + java.util.Set<java.lang.String> itemSubstitutions, + boolean injectFrozenData, + boolean isLocalWorld)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#isFrozen(cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry)">isFrozen</a></strong>(<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><?> registry)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.util.List<java.lang.String></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#processIdRematches(java.lang.Iterable,%20boolean,%20cpw.mods.fml.common.registry.GameData,%20java.util.Map)">processIdRematches</a></strong>(java.lang.Iterable<<a href="../../../../../cpw/mods/fml/common/event/FMLMissingMappingsEvent.MissingMapping.html" title="class in cpw.mods.fml.common.event">FMLMissingMappingsEvent.MissingMapping</a>> missedMappings, + boolean isLocalWorld, + <a href="../../../../../cpw/mods/fml/common/registry/GameData.html" title="class in cpw.mods.fml.common.registry">GameData</a> gameData, + java.util.Map<java.lang.String,java.lang.Integer[]> remaps)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameData.html#revertToFrozen()">revertToFrozen</a></strong>()</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="blockRegistry"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>blockRegistry</h4> +<pre>@Deprecated +public static final <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a>> blockRegistry</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>use <a href="../../../../../cpw/mods/fml/common/registry/GameData.html#getBlockRegistry()"><code>getBlockRegistry()</code></a> instead.</i></div> +</li> +</ul> +<a name="itemRegistry"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>itemRegistry</h4> +<pre>@Deprecated +public static final <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a>> itemRegistry</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>use <a href="../../../../../cpw/mods/fml/common/registry/GameData.html#getItemRegistry()"><code>getItemRegistry()</code></a> instead.</i></div> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getBlockRegistry()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockRegistry</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a>> getBlockRegistry()</pre> +<div class="block">Get the currently active block registry.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>Block Registry.</dd></dl> +</li> +</ul> +<a name="getItemRegistry()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getItemRegistry</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a>> getItemRegistry()</pre> +<div class="block">Get the currently active item registry.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>Item Registry.</dd></dl> +</li> +</ul> +<a name="findModOwner(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findModOwner</h4> +<pre>@Deprecated +public static <a href="../../../../../cpw/mods/fml/common/ModContainer.html" title="interface in cpw.mods.fml.common">ModContainer</a> findModOwner(java.lang.String string)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>no replacement planned</i></div> +</li> +</ul> +<a name="buildItemDataList()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>buildItemDataList</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html" title="class in cpw.mods.fml.common.registry">GameData.GameDataSnapshot</a> buildItemDataList()</pre> +</li> +</ul> +<a name="getBlockedIds()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlockedIds</h4> +<pre>public static int[] getBlockedIds()</pre> +</li> +</ul> +<a name="dumpRegistry(java.io.File)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>dumpRegistry</h4> +<pre>public static void dumpRegistry(java.io.File minecraftDir)</pre> +</li> +</ul> +<a name="fixBrokenIds(java.util.Map, java.util.Set)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fixBrokenIds</h4> +<pre>public static void fixBrokenIds(java.util.Map<java.lang.String,java.lang.Integer> dataList, + java.util.Set<java.lang.Integer> blockedIds)</pre> +<div class="block">Fix IDs improperly allocated by early versions of the registry, best-effort. + + Items sharing the same ID with a block, but not sharing the same registry name will be + mapped to an unused id. Losing items instead of blocks should minimize the damage.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dataList</code> - List containing the IDs to fix</dd></dl> +</li> +</ul> +<a name="injectWorldIDMap(java.util.Map, java.util.Set, java.util.Set, boolean, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>injectWorldIDMap</h4> +<pre>public static java.util.List<java.lang.String> injectWorldIDMap(java.util.Map<java.lang.String,java.lang.Integer> dataList, + java.util.Set<java.lang.String> blockSubstitutions, + java.util.Set<java.lang.String> itemSubstitutions, + boolean injectFrozenData, + boolean isLocalWorld)</pre> +</li> +</ul> +<a name="injectWorldIDMap(java.util.Map, java.util.Set, java.util.Map, java.util.Map, java.util.Set, java.util.Set, boolean, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>injectWorldIDMap</h4> +<pre>public static java.util.List<java.lang.String> injectWorldIDMap(java.util.Map<java.lang.String,java.lang.Integer> dataList, + java.util.Set<java.lang.Integer> blockedIds, + java.util.Map<java.lang.String,java.lang.String> blockAliases, + java.util.Map<java.lang.String,java.lang.String> itemAliases, + java.util.Set<java.lang.String> blockSubstitutions, + java.util.Set<java.lang.String> itemSubstitutions, + boolean injectFrozenData, + boolean isLocalWorld)</pre> +</li> +</ul> +<a name="processIdRematches(java.lang.Iterable, boolean, cpw.mods.fml.common.registry.GameData, java.util.Map)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>processIdRematches</h4> +<pre>public static java.util.List<java.lang.String> processIdRematches(java.lang.Iterable<<a href="../../../../../cpw/mods/fml/common/event/FMLMissingMappingsEvent.MissingMapping.html" title="class in cpw.mods.fml.common.event">FMLMissingMappingsEvent.MissingMapping</a>> missedMappings, + boolean isLocalWorld, + <a href="../../../../../cpw/mods/fml/common/registry/GameData.html" title="class in cpw.mods.fml.common.registry">GameData</a> gameData, + java.util.Map<java.lang.String,java.lang.Integer[]> remaps)</pre> +</li> +</ul> +<a name="freezeData()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>freezeData</h4> +<pre>public static void freezeData()</pre> +</li> +</ul> +<a name="revertToFrozen()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>revertToFrozen</h4> +<pre>public static void revertToFrozen()</pre> +</li> +</ul> +<a name="isFrozen(cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isFrozen</h4> +<pre>protected static boolean isFrozen(<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><?> registry)</pre> +</li> +</ul> +<a name="getMain()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getMain</h4> +<pre>protected static <a href="../../../../../cpw/mods/fml/common/registry/GameData.html" title="class in cpw.mods.fml.common.registry">GameData</a> getMain()</pre> +</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><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameData.html" target="_top">Frames</a></li> +<li><a href="GameData.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><a href="#nested_class_summary">Nested</a> | </li> +<li><a href="#field_summary">Field</a> | </li> +<li>Constr | </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>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html b/javadoc/cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html new file mode 100644 index 0000000..cdbe8bb --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html @@ -0,0 +1,207 @@ +<!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:18 EST 2015 --> +<title>GameRegistry.ObjectHolder (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="GameRegistry.ObjectHolder (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><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html" target="_top">Frames</a></li> +<li><a href="GameRegistry.ObjectHolder.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><a href="#annotation_type_required_element_summary">Required</a> | </li> +<li>Optional</li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#annotation_type_element_detail">Element</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">cpw.mods.fml.common.registry</div> +<h2 title="Annotation Type GameRegistry.ObjectHolder" class="title">Annotation Type GameRegistry.ObjectHolder</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>@Retention(value=RUNTIME) +@Target(value={TYPE,FIELD}) +public static @interface <span class="strong">GameRegistry.ObjectHolder</span></pre> +<div class="block">This will cause runtime injection of public static final fields to occur at various points + where mod blocks and items <em>could</em> be subject to change. This allows for dynamic + substitution to occur.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="annotation_type_required_element_summary"> +<!-- --> +</a> +<h3>Required Element Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Required Element Summary table, listing required elements, and an explanation"> +<caption><span>Required Elements</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Required Element and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html#value()">value</a></strong></code> +<div class="block">If used on a class, this represents a modid only.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="annotation_type_element_detail"> +<!-- --> +</a> +<h3>Element Detail</h3> +<a name="value()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>value</h4> +<pre>public abstract java.lang.String value</pre> +<div class="block">If used on a class, this represents a modid only. + If used on a field, it represents a name, which can be abbreviated or complete. + Abbreviated names derive their modid from an enclosing ObjectHolder at the class level.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>either a modid or a name based on the rules above</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><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html" target="_top">Frames</a></li> +<li><a href="GameRegistry.ObjectHolder.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><a href="#annotation_type_required_element_summary">Required</a> | </li> +<li>Optional</li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#annotation_type_element_detail">Element</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/GameRegistry.Type.html b/javadoc/cpw/mods/fml/common/registry/GameRegistry.Type.html new file mode 100644 index 0000000..8e20eb0 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/GameRegistry.Type.html @@ -0,0 +1,334 @@ +<!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:18 EST 2015 --> +<title>GameRegistry.Type (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="GameRegistry.Type (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><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html" title="annotation in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameRegistry.Type.html" target="_top">Frames</a></li> +<li><a href="GameRegistry.Type.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="#enum_constant_summary">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum_constant_detail">Enum Constants</a> | </li> +<li>Field | </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">cpw.mods.fml.common.registry</div> +<h2 title="Enum GameRegistry.Type" class="title">Enum GameRegistry.Type</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>java.lang.Enum<<a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a>></li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.GameRegistry.Type</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>java.io.Serializable, java.lang.Comparable<<a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a>></dd> +</dl> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry">GameRegistry</a></dd> +</dl> +<hr> +<br> +<pre>public static enum <span class="strong">GameRegistry.Type</span> +extends java.lang.Enum<<a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a>></pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum_constant_summary"> +<!-- --> +</a> +<h3>Enum Constant Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> +<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Enum Constant and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html#BLOCK">BLOCK</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html#ITEM">ITEM</a></strong></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>abstract <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><?></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html#getRegistry()">getRegistry</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html#valueOf(java.lang.String)">valueOf</a></strong>(java.lang.String name)</code> +<div class="block">Returns the enum constant of this type with the specified name.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a>[]</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html#values()">values</a></strong>()</code> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Enum</h3> +<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li> +</ul> +<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>getClass, notify, notifyAll, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ ENUM CONSTANT DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum_constant_detail"> +<!-- --> +</a> +<h3>Enum Constant Detail</h3> +<a name="BLOCK"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>BLOCK</h4> +<pre>public static final <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a> BLOCK</pre> +</li> +</ul> +<a name="ITEM"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>ITEM</h4> +<pre>public static final <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a> ITEM</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="values()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>values</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a>[] values()</pre> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +<pre> +for (GameRegistry.Type c : GameRegistry.Type.values()) + System.out.println(c); +</pre></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in the order they are declared</dd></dl> +</li> +</ul> +<a name="valueOf(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>valueOf</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a> valueOf(java.lang.String name)</pre> +<div class="block">Returns the enum constant of this type with the specified name. +The string must match <i>exactly</i> an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> +<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd> +<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd></dl> +</li> +</ul> +<a name="getRegistry()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getRegistry</h4> +<pre>public abstract <a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><?> getRegistry()</pre> +</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><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html" title="annotation in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameRegistry.Type.html" target="_top">Frames</a></li> +<li><a href="GameRegistry.Type.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="#enum_constant_summary">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum_constant_detail">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html b/javadoc/cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html new file mode 100644 index 0000000..7650b6e --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html @@ -0,0 +1,345 @@ +<!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:18 EST 2015 --> +<title>GameRegistry.UniqueIdentifier (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="GameRegistry.UniqueIdentifier (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><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" target="_top">Frames</a></li> +<li><a href="GameRegistry.UniqueIdentifier.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">cpw.mods.fml.common.registry</div> +<h2 title="Class GameRegistry.UniqueIdentifier" class="title">Class GameRegistry.UniqueIdentifier</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.GameRegistry.UniqueIdentifier</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry">GameRegistry</a></dd> +</dl> +<hr> +<br> +<pre>public static final class <span class="strong">GameRegistry.UniqueIdentifier</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>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html#modId">modId</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html#name">name</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="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html#GameRegistry.UniqueIdentifier(java.lang.String)">GameRegistry.UniqueIdentifier</a></strong>(java.lang.String string)</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>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html#equals(java.lang.Object)">equals</a></strong>(java.lang.Object obj)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html#hashCode()">hashCode</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html#toString()">toString</a></strong>()</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, finalize, getClass, notify, notifyAll, 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="modId"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>modId</h4> +<pre>public final java.lang.String modId</pre> +</li> +</ul> +<a name="name"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>name</h4> +<pre>public final 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="GameRegistry.UniqueIdentifier(java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>GameRegistry.UniqueIdentifier</h4> +<pre>public GameRegistry.UniqueIdentifier(java.lang.String string)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="equals(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>equals</h4> +<pre>public boolean equals(java.lang.Object obj)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code>equals</code> in class <code>java.lang.Object</code></dd> +</dl> +</li> +</ul> +<a name="hashCode()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hashCode</h4> +<pre>public int hashCode()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd> +</dl> +</li> +</ul> +<a name="toString()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public java.lang.String toString()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code>toString</code> in class <code>java.lang.Object</code></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><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" target="_top">Frames</a></li> +<li><a href="GameRegistry.UniqueIdentifier.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> diff --git a/javadoc/cpw/mods/fml/common/registry/GameRegistry.html b/javadoc/cpw/mods/fml/common/registry/GameRegistry.html new file mode 100644 index 0000000..03e8e8a --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/GameRegistry.html @@ -0,0 +1,781 @@ +<!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:18 EST 2015 --> +<title>GameRegistry (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="GameRegistry (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><a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html" title="annotation in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameRegistry.html" target="_top">Frames</a></li> +<li><a href="GameRegistry.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><a href="#nested_class_summary">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 name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">cpw.mods.fml.common.registry</div> +<h2 title="Class GameRegistry" class="title">Class GameRegistry</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.GameRegistry</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">GameRegistry</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested_class_summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static interface </code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html" title="annotation in cpw.mods.fml.common.registry">GameRegistry.ObjectHolder</a></strong></code> +<div class="block">This will cause runtime injection of public static final fields to occur at various points + where mod blocks and items <em>could</em> be subject to change.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry">GameRegistry.UniqueIdentifier</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="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#GameRegistry()">GameRegistry</a></strong>()</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="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#addRecipe(net.minecraft.item.crafting.IRecipe)">addRecipe</a></strong>(<a href="../../../../../net/minecraft/item/crafting/IRecipe.html" title="interface in net.minecraft.item.crafting">IRecipe</a> recipe)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#addRecipe(net.minecraft.item.ItemStack,%20java.lang.Object...)">addRecipe</a></strong>(<a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + java.lang.Object... params)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../net/minecraft/item/crafting/IRecipe.html" title="interface in net.minecraft.item.crafting">IRecipe</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#addShapedRecipe(net.minecraft.item.ItemStack,%20java.lang.Object...)">addShapedRecipe</a></strong>(<a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + java.lang.Object... params)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#addShapelessRecipe(net.minecraft.item.ItemStack,%20java.lang.Object...)">addShapelessRecipe</a></strong>(<a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + java.lang.Object... params)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#addSmelting(net.minecraft.block.Block,%20net.minecraft.item.ItemStack,%20float)">addSmelting</a></strong>(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> input, + <a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + float xp)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#addSmelting(net.minecraft.item.Item,%20net.minecraft.item.ItemStack,%20float)">addSmelting</a></strong>(<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> input, + <a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + float xp)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#addSmelting(net.minecraft.item.ItemStack,%20net.minecraft.item.ItemStack,%20float)">addSmelting</a></strong>(<a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> input, + <a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + float xp)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#addSubstitutionAlias(java.lang.String,%20cpw.mods.fml.common.registry.GameRegistry.Type,%20java.lang.Object)">addSubstitutionAlias</a></strong>(java.lang.String nameToSubstitute, + <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a> type, + java.lang.Object object)</code> +<div class="block">Add a forced persistent substitution alias for the block or item to another block or item.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#findBlock(java.lang.String,%20java.lang.String)">findBlock</a></strong>(java.lang.String modId, + java.lang.String name)</code> +<div class="block">Look up a mod block in the global "named item list"</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#findItem(java.lang.String,%20java.lang.String)">findItem</a></strong>(java.lang.String modId, + java.lang.String name)</code> +<div class="block">Look up a mod item in the global "named item list"</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#findItemStack(java.lang.String,%20java.lang.String,%20int)">findItemStack</a></strong>(java.lang.String modId, + java.lang.String name, + int stackSize)</code> +<div class="block">Lookup an itemstack based on mod and name.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry">GameRegistry.UniqueIdentifier</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#findUniqueIdentifierFor(net.minecraft.block.Block)">findUniqueIdentifierFor</a></strong>(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block)</code> +<div class="block">Look up the mod identifier data for a block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry">GameRegistry.UniqueIdentifier</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#findUniqueIdentifierFor(net.minecraft.item.Item)">findUniqueIdentifierFor</a></strong>(<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> item)</code> +<div class="block">Look up the mod identifier data for an item.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#generateWorld(int,%20int,%20net.minecraft.world.World,%20net.minecraft.world.chunk.IChunkProvider,%20net.minecraft.world.chunk.IChunkProvider)">generateWorld</a></strong>(int chunkX, + int chunkZ, + <a href="../../../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + <a href="../../../../../net/minecraft/world/chunk/IChunkProvider.html" title="interface in net.minecraft.world.chunk">IChunkProvider</a> chunkGenerator, + <a href="../../../../../net/minecraft/world/chunk/IChunkProvider.html" title="interface in net.minecraft.world.chunk">IChunkProvider</a> chunkProvider)</code> +<div class="block">Callback hook for world gen - if your mod wishes to add extra mod related generation to the world + call this</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#getFuelValue(net.minecraft.item.ItemStack)">getFuelValue</a></strong>(<a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerBlock(net.minecraft.block.Block,%20java.lang.Class,%20java.lang.String)">registerBlock</a></strong>(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + java.lang.Class<? extends <a href="../../../../../net/minecraft/item/ItemBlock.html" title="class in net.minecraft.item">ItemBlock</a>> itemclass, + java.lang.String name)</code> +<div class="block">Register a block with the world, with the specified item class and block name</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerBlock(net.minecraft.block.Block,%20java.lang.Class,%20java.lang.String,%20java.lang.Object...)">registerBlock</a></strong>(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + java.lang.Class<? extends <a href="../../../../../net/minecraft/item/ItemBlock.html" title="class in net.minecraft.item">ItemBlock</a>> itemclass, + java.lang.String name, + java.lang.Object... itemCtorArgs)</code> +<div class="block">Register a block with the world, with the specified item class, block name and owning modId</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerBlock(net.minecraft.block.Block,%20java.lang.Class,%20java.lang.String,%20java.lang.String,%20java.lang.Object...)">registerBlock</a></strong>(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + java.lang.Class<? extends <a href="../../../../../net/minecraft/item/ItemBlock.html" title="class in net.minecraft.item">ItemBlock</a>> itemclass, + java.lang.String name, + java.lang.String modId, + java.lang.Object... itemCtorArgs)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>Use the registerBlock version without the modId parameter instead.</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerBlock(net.minecraft.block.Block,%20java.lang.String)">registerBlock</a></strong>(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + java.lang.String name)</code> +<div class="block">Register a block with the specified mod specific name</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerCustomItemStack(java.lang.String,%20net.minecraft.item.ItemStack)">registerCustomItemStack</a></strong>(java.lang.String name, + <a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack)</code> +<div class="block">Manually register a custom item stack with FML for later tracking.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerFuelHandler(cpw.mods.fml.common.IFuelHandler)">registerFuelHandler</a></strong>(<a href="../../../../../cpw/mods/fml/common/IFuelHandler.html" title="interface in cpw.mods.fml.common">IFuelHandler</a> handler)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerItem(net.minecraft.item.Item,%20java.lang.String)">registerItem</a></strong>(<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> item, + java.lang.String name)</code> +<div class="block">Register an item with the item registry with a custom name : this allows for easier server->client resolution</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerItem(net.minecraft.item.Item,%20java.lang.String,%20java.lang.String)">registerItem</a></strong>(<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> item, + java.lang.String name, + java.lang.String modId)</code> +<div class="block">Register the specified Item with a mod specific name : overrides the standard type based name</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerTileEntity(java.lang.Class,%20java.lang.String)">registerTileEntity</a></strong>(java.lang.Class<? extends <a href="../../../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a>> tileEntityClass, + java.lang.String id)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerTileEntityWithAlternatives(java.lang.Class,%20java.lang.String,%20java.lang.String...)">registerTileEntityWithAlternatives</a></strong>(java.lang.Class<? extends <a href="../../../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a>> tileEntityClass, + java.lang.String id, + java.lang.String... alternatives)</code> +<div class="block">Register a tile entity, with alternative TileEntity identifiers.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerWorldGenerator(cpw.mods.fml.common.IWorldGenerator,%20int)">registerWorldGenerator</a></strong>(<a href="../../../../../cpw/mods/fml/common/IWorldGenerator.html" title="interface in cpw.mods.fml.common">IWorldGenerator</a> generator, + int modGenerationWeight)</code> +<div class="block">Register a world generator - something that inserts new block types into the world</div> +</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"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="GameRegistry()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>GameRegistry</h4> +<pre>public GameRegistry()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="registerWorldGenerator(cpw.mods.fml.common.IWorldGenerator, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerWorldGenerator</h4> +<pre>public static void registerWorldGenerator(<a href="../../../../../cpw/mods/fml/common/IWorldGenerator.html" title="interface in cpw.mods.fml.common">IWorldGenerator</a> generator, + int modGenerationWeight)</pre> +<div class="block">Register a world generator - something that inserts new block types into the world</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>generator</code> - the generator</dd><dd><code>modGenerationWeight</code> - a weight to assign to this generator. Heavy weights tend to sink to the bottom of + list of world generators (i.e. they run later)</dd></dl> +</li> +</ul> +<a name="generateWorld(int, int, net.minecraft.world.World, net.minecraft.world.chunk.IChunkProvider, net.minecraft.world.chunk.IChunkProvider)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>generateWorld</h4> +<pre>public static void generateWorld(int chunkX, + int chunkZ, + <a href="../../../../../net/minecraft/world/World.html" title="class in net.minecraft.world">World</a> world, + <a href="../../../../../net/minecraft/world/chunk/IChunkProvider.html" title="interface in net.minecraft.world.chunk">IChunkProvider</a> chunkGenerator, + <a href="../../../../../net/minecraft/world/chunk/IChunkProvider.html" title="interface in net.minecraft.world.chunk">IChunkProvider</a> chunkProvider)</pre> +<div class="block">Callback hook for world gen - if your mod wishes to add extra mod related generation to the world + call this</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>chunkX</code> - </dd><dd><code>chunkZ</code> - </dd><dd><code>world</code> - </dd><dd><code>chunkGenerator</code> - </dd><dd><code>chunkProvider</code> - </dd></dl> +</li> +</ul> +<a name="registerItem(net.minecraft.item.Item, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerItem</h4> +<pre>public static void registerItem(<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> item, + java.lang.String name)</pre> +<div class="block">Register an item with the item registry with a custom name : this allows for easier server->client resolution</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>item</code> - The item to register</dd><dd><code>name</code> - The mod-unique name of the item</dd></dl> +</li> +</ul> +<a name="registerItem(net.minecraft.item.Item, java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerItem</h4> +<pre>public static <a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> registerItem(<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> item, + java.lang.String name, + java.lang.String modId)</pre> +<div class="block">Register the specified Item with a mod specific name : overrides the standard type based name</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>item</code> - The item to register</dd><dd><code>name</code> - The mod-unique name to register it as - null will remove a custom name</dd><dd><code>modId</code> - deprecated, unused + where one mod should "own" all the blocks of all the mods, null defaults to the active mod</dd></dl> +</li> +</ul> +<a name="addSubstitutionAlias(java.lang.String, cpw.mods.fml.common.registry.GameRegistry.Type, java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addSubstitutionAlias</h4> +<pre>public static void addSubstitutionAlias(java.lang.String nameToSubstitute, + <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a> type, + java.lang.Object object) + throws <a href="../../../../../cpw/mods/fml/common/registry/ExistingSubstitutionException.html" title="class in cpw.mods.fml.common.registry">ExistingSubstitutionException</a></pre> +<div class="block">Add a forced persistent substitution alias for the block or item to another block or item. This will have + the effect of using the substituted block or item instead of the original, where ever it is + referenced.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nameToSubstitute</code> - The name to link to (this is the NEW block or item)</dd><dd><code>type</code> - The type (Block or Item)</dd><dd><code>object</code> - a NEW instance that is type compatible with the existing instance</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../cpw/mods/fml/common/registry/ExistingSubstitutionException.html" title="class in cpw.mods.fml.common.registry">ExistingSubstitutionException</a></code> - if someone else has already registered an alias either from or to one of the names</dd> +<dd><code><a href="../../../../../cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html" title="class in cpw.mods.fml.common.registry">IncompatibleSubstitutionException</a></code> - if the substitution is incompatible</dd></dl> +</li> +</ul> +<a name="registerBlock(net.minecraft.block.Block, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerBlock</h4> +<pre>public static <a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> registerBlock(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + java.lang.String name)</pre> +<div class="block">Register a block with the specified mod specific name</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>block</code> - The block to register</dd><dd><code>name</code> - The mod-unique name to register it as, will get prefixed by your modid.</dd></dl> +</li> +</ul> +<a name="registerBlock(net.minecraft.block.Block, java.lang.Class, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerBlock</h4> +<pre>public static <a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> registerBlock(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + java.lang.Class<? extends <a href="../../../../../net/minecraft/item/ItemBlock.html" title="class in net.minecraft.item">ItemBlock</a>> itemclass, + java.lang.String name)</pre> +<div class="block">Register a block with the world, with the specified item class and block name</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>block</code> - The block to register</dd><dd><code>itemclass</code> - The item type to register with it : null registers a block without associated item.</dd><dd><code>name</code> - The mod-unique name to register it as, will get prefixed by your modid.</dd></dl> +</li> +</ul> +<a name="registerBlock(net.minecraft.block.Block, java.lang.Class, java.lang.String, java.lang.String, java.lang.Object...)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerBlock</h4> +<pre>@Deprecated +public static <a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> registerBlock(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + java.lang.Class<? extends <a href="../../../../../net/minecraft/item/ItemBlock.html" title="class in net.minecraft.item">ItemBlock</a>> itemclass, + java.lang.String name, + java.lang.String modId, + java.lang.Object... itemCtorArgs)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>Use the registerBlock version without the modId parameter instead.</i></div> +</li> +</ul> +<a name="registerBlock(net.minecraft.block.Block, java.lang.Class, java.lang.String, java.lang.Object...)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerBlock</h4> +<pre>public static <a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> registerBlock(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block, + java.lang.Class<? extends <a href="../../../../../net/minecraft/item/ItemBlock.html" title="class in net.minecraft.item">ItemBlock</a>> itemclass, + java.lang.String name, + java.lang.Object... itemCtorArgs)</pre> +<div class="block">Register a block with the world, with the specified item class, block name and owning modId</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>block</code> - The block to register</dd><dd><code>itemclass</code> - The item type to register with it : null registers a block without associated item.</dd><dd><code>name</code> - The mod-unique name to register it as, will get prefixed by your modid.</dd><dd><code>itemCtorArgs</code> - Arguments to pass to the ItemBlock constructor (optional).</dd></dl> +</li> +</ul> +<a name="addRecipe(net.minecraft.item.ItemStack, java.lang.Object...)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addRecipe</h4> +<pre>public static void addRecipe(<a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + java.lang.Object... params)</pre> +</li> +</ul> +<a name="addShapedRecipe(net.minecraft.item.ItemStack, java.lang.Object...)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addShapedRecipe</h4> +<pre>public static <a href="../../../../../net/minecraft/item/crafting/IRecipe.html" title="interface in net.minecraft.item.crafting">IRecipe</a> addShapedRecipe(<a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + java.lang.Object... params)</pre> +</li> +</ul> +<a name="addShapelessRecipe(net.minecraft.item.ItemStack, java.lang.Object...)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addShapelessRecipe</h4> +<pre>public static void addShapelessRecipe(<a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + java.lang.Object... params)</pre> +</li> +</ul> +<a name="addRecipe(net.minecraft.item.crafting.IRecipe)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addRecipe</h4> +<pre>public static void addRecipe(<a href="../../../../../net/minecraft/item/crafting/IRecipe.html" title="interface in net.minecraft.item.crafting">IRecipe</a> recipe)</pre> +</li> +</ul> +<a name="addSmelting(net.minecraft.block.Block, net.minecraft.item.ItemStack, float)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addSmelting</h4> +<pre>public static void addSmelting(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> input, + <a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + float xp)</pre> +</li> +</ul> +<a name="addSmelting(net.minecraft.item.Item, net.minecraft.item.ItemStack, float)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addSmelting</h4> +<pre>public static void addSmelting(<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> input, + <a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + float xp)</pre> +</li> +</ul> +<a name="addSmelting(net.minecraft.item.ItemStack, net.minecraft.item.ItemStack, float)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addSmelting</h4> +<pre>public static void addSmelting(<a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> input, + <a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> output, + float xp)</pre> +</li> +</ul> +<a name="registerTileEntity(java.lang.Class, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerTileEntity</h4> +<pre>public static void registerTileEntity(java.lang.Class<? extends <a href="../../../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a>> tileEntityClass, + java.lang.String id)</pre> +</li> +</ul> +<a name="registerTileEntityWithAlternatives(java.lang.Class, java.lang.String, java.lang.String...)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerTileEntityWithAlternatives</h4> +<pre>public static void registerTileEntityWithAlternatives(java.lang.Class<? extends <a href="../../../../../net/minecraft/tileentity/TileEntity.html" title="class in net.minecraft.tileentity">TileEntity</a>> tileEntityClass, + java.lang.String id, + java.lang.String... alternatives)</pre> +<div class="block">Register a tile entity, with alternative TileEntity identifiers. Use with caution! + This method allows for you to "rename" the 'id' of the tile entity.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tileEntityClass</code> - The tileEntity class to register</dd><dd><code>id</code> - The primary ID, this will be the ID that the tileentity saves as</dd><dd><code>alternatives</code> - A list of alternative IDs that will also map to this class. These will never save, but they will load</dd></dl> +</li> +</ul> +<a name="registerFuelHandler(cpw.mods.fml.common.IFuelHandler)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerFuelHandler</h4> +<pre>public static void registerFuelHandler(<a href="../../../../../cpw/mods/fml/common/IFuelHandler.html" title="interface in cpw.mods.fml.common">IFuelHandler</a> handler)</pre> +</li> +</ul> +<a name="getFuelValue(net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFuelValue</h4> +<pre>public static int getFuelValue(<a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack)</pre> +</li> +</ul> +<a name="findBlock(java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findBlock</h4> +<pre>public static <a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> findBlock(java.lang.String modId, + java.lang.String name)</pre> +<div class="block">Look up a mod block in the global "named item list"</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>modId</code> - The modid owning the block</dd><dd><code>name</code> - The name of the block itself</dd> +<dt><span class="strong">Returns:</span></dt><dd>The block or null if not found</dd></dl> +</li> +</ul> +<a name="findItem(java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findItem</h4> +<pre>public static <a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> findItem(java.lang.String modId, + java.lang.String name)</pre> +<div class="block">Look up a mod item in the global "named item list"</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>modId</code> - The modid owning the item</dd><dd><code>name</code> - The name of the item itself</dd> +<dt><span class="strong">Returns:</span></dt><dd>The item or null if not found</dd></dl> +</li> +</ul> +<a name="registerCustomItemStack(java.lang.String, net.minecraft.item.ItemStack)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerCustomItemStack</h4> +<pre>public static void registerCustomItemStack(java.lang.String name, + <a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> itemStack)</pre> +<div class="block">Manually register a custom item stack with FML for later tracking. It is automatically scoped with the active modid</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name to register it under</dd><dd><code>itemStack</code> - The itemstack to register</dd></dl> +</li> +</ul> +<a name="findItemStack(java.lang.String, java.lang.String, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findItemStack</h4> +<pre>public static <a href="../../../../../net/minecraft/item/ItemStack.html" title="class in net.minecraft.item">ItemStack</a> findItemStack(java.lang.String modId, + java.lang.String name, + int stackSize)</pre> +<div class="block">Lookup an itemstack based on mod and name. It will create "default" itemstacks from blocks and items if no + explicit itemstack is found. + + If it is built from a block, the metadata is by default the "wildcard" value. + + Custom itemstacks can be dumped from minecraft by setting the system property fml.dumpRegistry to true + (-Dfml.dumpRegistry=true on the command line will work)</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>modId</code> - The modid of the stack owner</dd><dd><code>name</code> - The name of the stack</dd><dd><code>stackSize</code> - The size of the stack returned</dd> +<dt><span class="strong">Returns:</span></dt><dd>The custom itemstack or null if no such itemstack was found</dd></dl> +</li> +</ul> +<a name="findUniqueIdentifierFor(net.minecraft.block.Block)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findUniqueIdentifierFor</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry">GameRegistry.UniqueIdentifier</a> findUniqueIdentifierFor(<a href="../../../../../net/minecraft/block/Block.html" title="class in net.minecraft.block">Block</a> block)</pre> +<div class="block">Look up the mod identifier data for a block. + Returns null if there is no mod specified mod identifier data, or it is part of a + custom itemstack definition <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerCustomItemStack(java.lang.String,%20net.minecraft.item.ItemStack)"><code>registerCustomItemStack(java.lang.String, net.minecraft.item.ItemStack)</code></a> + + Note: uniqueness and persistence is only guaranteed by mods using the game registry + correctly.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>block</code> - to lookup</dd> +<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry"><code>GameRegistry.UniqueIdentifier</code></a> for the block or null</dd></dl> +</li> +</ul> +<a name="findUniqueIdentifierFor(net.minecraft.item.Item)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>findUniqueIdentifierFor</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry">GameRegistry.UniqueIdentifier</a> findUniqueIdentifierFor(<a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> item)</pre> +<div class="block">Look up the mod identifier data for an item. + Returns null if there is no mod specified mod identifier data, or it is part of a + custom itemstack definition <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html#registerCustomItemStack(java.lang.String,%20net.minecraft.item.ItemStack)"><code>registerCustomItemStack(java.lang.String, net.minecraft.item.ItemStack)</code></a> + + Note: uniqueness and persistence is only guaranteed by mods using the game registry + correctly.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>item</code> - to lookup</dd> +<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry"><code>GameRegistry.UniqueIdentifier</code></a> for the item or null</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><a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html" title="annotation in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/GameRegistry.html" target="_top">Frames</a></li> +<li><a href="GameRegistry.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><a href="#nested_class_summary">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 name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html b/javadoc/cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html new file mode 100644 index 0000000..5c947c2 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html @@ -0,0 +1,229 @@ +<!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:18 EST 2015 --> +<title>IEntityAdditionalSpawnData (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="IEntityAdditionalSpawnData (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><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html" target="_top">Frames</a></li> +<li><a href="IEntityAdditionalSpawnData.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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">cpw.mods.fml.common.registry</div> +<h2 title="Interface IEntityAdditionalSpawnData" class="title">Interface IEntityAdditionalSpawnData</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public interface <span class="strong">IEntityAdditionalSpawnData</span></pre> +<div class="block">A interface for Entities that need extra information to be communicated + between the server and client when they are spawned.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html#readSpawnData(io.netty.buffer.ByteBuf)">readSpawnData</a></strong>(io.netty.buffer.ByteBuf additionalData)</code> +<div class="block">Called by the client when it receives a Entity spawn packet.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html#writeSpawnData(io.netty.buffer.ByteBuf)">writeSpawnData</a></strong>(io.netty.buffer.ByteBuf buffer)</code> +<div class="block">Called by the server when constructing the spawn packet.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="writeSpawnData(io.netty.buffer.ByteBuf)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>writeSpawnData</h4> +<pre>void writeSpawnData(io.netty.buffer.ByteBuf buffer)</pre> +<div class="block">Called by the server when constructing the spawn packet. + Data should be added to the provided stream.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>buffer</code> - The packet data stream</dd></dl> +</li> +</ul> +<a name="readSpawnData(io.netty.buffer.ByteBuf)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>readSpawnData</h4> +<pre>void readSpawnData(io.netty.buffer.ByteBuf additionalData)</pre> +<div class="block">Called by the client when it receives a Entity spawn packet. + Data should be read out of the stream in the same way as it was written.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - The packet data stream</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><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html" target="_top">Frames</a></li> +<li><a href="IEntityAdditionalSpawnData.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/IThrowableEntity.html b/javadoc/cpw/mods/fml/common/registry/IThrowableEntity.html new file mode 100644 index 0000000..f7a191f --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/IThrowableEntity.html @@ -0,0 +1,227 @@ +<!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:18 EST 2015 --> +<title>IThrowableEntity (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="IThrowableEntity (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><a href="../../../../../cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/IThrowableEntity.html" target="_top">Frames</a></li> +<li><a href="IThrowableEntity.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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">cpw.mods.fml.common.registry</div> +<h2 title="Interface IThrowableEntity" class="title">Interface IThrowableEntity</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public interface <span class="strong">IThrowableEntity</span></pre> +<div class="block">This interface should be implemented by an Entity that can be 'thrown', like snowballs. + This was created to mimic ModLoaderMP's 'owner' functionality.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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><a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/IThrowableEntity.html#getThrower()">getThrower</a></strong>()</code> +<div class="block">Gets the entity that threw/created this entity.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/IThrowableEntity.html#setThrower(net.minecraft.entity.Entity)">setThrower</a></strong>(<a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity)</code> +<div class="block">Sets the entity that threw/created this entity.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getThrower()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getThrower</h4> +<pre><a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> getThrower()</pre> +<div class="block">Gets the entity that threw/created this entity.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The owner instance, Null if none.</dd></dl> +</li> +</ul> +<a name="setThrower(net.minecraft.entity.Entity)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>setThrower</h4> +<pre>void setThrower(<a href="../../../../../net/minecraft/entity/Entity.html" title="class in net.minecraft.entity">Entity</a> entity)</pre> +<div class="block">Sets the entity that threw/created this entity.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entity</code> - The new thrower/creator.</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><a href="../../../../../cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/IThrowableEntity.html" target="_top">Frames</a></li> +<li><a href="IThrowableEntity.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html b/javadoc/cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html new file mode 100644 index 0000000..af182e0 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html @@ -0,0 +1,257 @@ +<!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:18 EST 2015 --> +<title>IncompatibleSubstitutionException (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="IncompatibleSubstitutionException (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><a href="../../../../../cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/IThrowableEntity.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html" target="_top">Frames</a></li> +<li><a href="IncompatibleSubstitutionException.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>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_java.lang.Throwable">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> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">cpw.mods.fml.common.registry</div> +<h2 title="Class IncompatibleSubstitutionException" class="title">Class IncompatibleSubstitutionException</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>java.lang.Throwable</li> +<li> +<ul class="inheritance"> +<li>java.lang.Exception</li> +<li> +<ul class="inheritance"> +<li>java.lang.RuntimeException</li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.IncompatibleSubstitutionException</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>java.io.Serializable</dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">IncompatibleSubstitutionException</span> +extends java.lang.RuntimeException</pre> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#cpw.mods.fml.common.registry.IncompatibleSubstitutionException">Serialized Form</a></dd></dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html#IncompatibleSubstitutionException(java.lang.String,%20java.lang.Object,%20java.lang.Object)">IncompatibleSubstitutionException</a></strong>(java.lang.String fromName, + java.lang.Object replacement, + java.lang.Object original)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Throwable"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Throwable</h3> +<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li> +</ul> +<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, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="IncompatibleSubstitutionException(java.lang.String, java.lang.Object, java.lang.Object)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>IncompatibleSubstitutionException</h4> +<pre>public IncompatibleSubstitutionException(java.lang.String fromName, + java.lang.Object replacement, + java.lang.Object original)</pre> +</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><a href="../../../../../cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/IThrowableEntity.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html" target="_top">Frames</a></li> +<li><a href="IncompatibleSubstitutionException.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>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#methods_inherited_from_class_java.lang.Throwable">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> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/LanguageRegistry.html b/javadoc/cpw/mods/fml/common/registry/LanguageRegistry.html new file mode 100644 index 0000000..ab631ff --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/LanguageRegistry.html @@ -0,0 +1,498 @@ +<!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:18 EST 2015 --> +<title>LanguageRegistry (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="LanguageRegistry (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><a href="../../../../../cpw/mods/fml/common/registry/IThrowableEntity.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/LanguageRegistry.html" target="_top">Frames</a></li> +<li><a href="LanguageRegistry.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>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 name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">cpw.mods.fml.common.registry</div> +<h2 title="Class LanguageRegistry" class="title">Class LanguageRegistry</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.LanguageRegistry</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">LanguageRegistry</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#LanguageRegistry()">LanguageRegistry</a></strong>()</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="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#addName(java.lang.Object,%20java.lang.String)">addName</a></strong>(java.lang.Object objectToName, + java.lang.String name)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#addNameForObject(java.lang.Object,%20java.lang.String,%20java.lang.String)">addNameForObject</a></strong>(java.lang.Object objectToName, + java.lang.String lang, + java.lang.String name)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#addStringLocalization(java.util.Properties)">addStringLocalization</a></strong>(java.util.Properties langPackAdditions)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#addStringLocalization(java.util.Properties,%20java.lang.String)">addStringLocalization</a></strong>(java.util.Properties langPackAdditions, + java.lang.String lang)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#addStringLocalization(java.lang.String,%20java.lang.String)">addStringLocalization</a></strong>(java.lang.String key, + java.lang.String value)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#addStringLocalization(java.lang.String,%20java.lang.String,%20java.lang.String)">addStringLocalization</a></strong>(java.lang.String key, + java.lang.String lang, + java.lang.String value)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#getStringLocalization(java.lang.String)">getStringLocalization</a></strong>(java.lang.String key)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#getStringLocalization(java.lang.String,%20java.lang.String)">getStringLocalization</a></strong>(java.lang.String key, + java.lang.String lang)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#injectLanguage(java.lang.String,%20java.util.HashMap)">injectLanguage</a></strong>(java.lang.String language, + java.util.HashMap<java.lang.String,java.lang.String> parsedLangFile)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html" title="class in cpw.mods.fml.common.registry">LanguageRegistry</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#instance()">instance</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#loadLanguagesFor(cpw.mods.fml.common.ModContainer,%20cpw.mods.fml.relauncher.Side)">loadLanguagesFor</a></strong>(<a href="../../../../../cpw/mods/fml/common/ModContainer.html" title="interface in cpw.mods.fml.common">ModContainer</a> container, + <a href="../../../../../cpw/mods/fml/relauncher/Side.html" title="enum in cpw.mods.fml.relauncher">Side</a> side)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#loadLocalization(java.lang.String,%20java.lang.String,%20boolean)">loadLocalization</a></strong>(java.lang.String localizationFile, + java.lang.String lang, + boolean isXML)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#loadLocalization(java.net.URL,%20java.lang.String,%20boolean)">loadLocalization</a></strong>(java.net.URL localizationFile, + java.lang.String lang, + boolean isXML)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html#mergeLanguageTable(java.util.Map,%20java.lang.String)">mergeLanguageTable</a></strong>(java.util.Map field_135032_a, + java.lang.String lang)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</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"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="LanguageRegistry()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>LanguageRegistry</h4> +<pre>public LanguageRegistry()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="instance()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>instance</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html" title="class in cpw.mods.fml.common.registry">LanguageRegistry</a> instance()</pre> +</li> +</ul> +<a name="getStringLocalization(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getStringLocalization</h4> +<pre>public java.lang.String getStringLocalization(java.lang.String key)</pre> +</li> +</ul> +<a name="getStringLocalization(java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getStringLocalization</h4> +<pre>public java.lang.String getStringLocalization(java.lang.String key, + java.lang.String lang)</pre> +</li> +</ul> +<a name="addStringLocalization(java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addStringLocalization</h4> +<pre>@Deprecated +public void addStringLocalization(java.lang.String key, + java.lang.String value)</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +<div class="block">Deprecated for removal in 1.8. Use the assets lang system</div> +</li> +</ul> +<a name="addStringLocalization(java.lang.String, java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addStringLocalization</h4> +<pre>@Deprecated +public void addStringLocalization(java.lang.String key, + java.lang.String lang, + java.lang.String value)</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +<div class="block">Deprecated for removal in 1.8. Use the assets lang system</div> +</li> +</ul> +<a name="addStringLocalization(java.util.Properties)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addStringLocalization</h4> +<pre>@Deprecated +public void addStringLocalization(java.util.Properties langPackAdditions)</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +<div class="block">Deprecated for removal in 1.8. Use the assets lang system</div> +</li> +</ul> +<a name="addStringLocalization(java.util.Properties, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addStringLocalization</h4> +<pre>@Deprecated +public void addStringLocalization(java.util.Properties langPackAdditions, + java.lang.String lang)</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +<div class="block">Deprecated for removal in 1.8. Use the assets lang system</div> +</li> +</ul> +<a name="addNameForObject(java.lang.Object, java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addNameForObject</h4> +<pre>@Deprecated +public void addNameForObject(java.lang.Object objectToName, + java.lang.String lang, + java.lang.String name)</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +<div class="block">Deprecated for removal in 1.8. Use the assets lang system</div> +</li> +</ul> +<a name="addName(java.lang.Object, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addName</h4> +<pre>@Deprecated +public static void addName(java.lang.Object objectToName, + java.lang.String name)</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +<div class="block">Deprecated for removal in 1.8. Use the assets lang system</div> +</li> +</ul> +<a name="mergeLanguageTable(java.util.Map, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mergeLanguageTable</h4> +<pre>@Deprecated +public void mergeLanguageTable(java.util.Map field_135032_a, + java.lang.String lang)</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +<div class="block">Deprecated for removal in 1.8. Use the assets lang system</div> +</li> +</ul> +<a name="loadLocalization(java.lang.String, java.lang.String, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>loadLocalization</h4> +<pre>@Deprecated +public void loadLocalization(java.lang.String localizationFile, + java.lang.String lang, + boolean isXML)</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +<div class="block">Deprecated for removal in 1.8. Use the assets lang system</div> +</li> +</ul> +<a name="loadLocalization(java.net.URL, java.lang.String, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>loadLocalization</h4> +<pre>@Deprecated +public void loadLocalization(java.net.URL localizationFile, + java.lang.String lang, + boolean isXML)</pre> +<div class="block"><span class="strong">Deprecated.</span> </div> +<div class="block">Deprecated for removal in 1.8. Use the assets lang system</div> +</li> +</ul> +<a name="injectLanguage(java.lang.String, java.util.HashMap)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>injectLanguage</h4> +<pre>public void injectLanguage(java.lang.String language, + java.util.HashMap<java.lang.String,java.lang.String> parsedLangFile)</pre> +</li> +</ul> +<a name="loadLanguagesFor(cpw.mods.fml.common.ModContainer, cpw.mods.fml.relauncher.Side)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>loadLanguagesFor</h4> +<pre>public void loadLanguagesFor(<a href="../../../../../cpw/mods/fml/common/ModContainer.html" title="interface in cpw.mods.fml.common">ModContainer</a> container, + <a href="../../../../../cpw/mods/fml/relauncher/Side.html" title="enum in cpw.mods.fml.relauncher">Side</a> side)</pre> +</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><a href="../../../../../cpw/mods/fml/common/registry/IThrowableEntity.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/LanguageRegistry.html" target="_top">Frames</a></li> +<li><a href="LanguageRegistry.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>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 name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/ObjectHolderRegistry.html b/javadoc/cpw/mods/fml/common/registry/ObjectHolderRegistry.html new file mode 100644 index 0000000..32131ac --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/ObjectHolderRegistry.html @@ -0,0 +1,332 @@ +<!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:18 EST 2015 --> +<title>ObjectHolderRegistry (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="ObjectHolderRegistry (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><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/ObjectHolderRegistry.html" target="_top">Frames</a></li> +<li><a href="ObjectHolderRegistry.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="#enum_constant_summary">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum_constant_detail">Enum Constants</a> | </li> +<li>Field | </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">cpw.mods.fml.common.registry</div> +<h2 title="Enum ObjectHolderRegistry" class="title">Enum ObjectHolderRegistry</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>java.lang.Enum<<a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry">ObjectHolderRegistry</a>></li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.ObjectHolderRegistry</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>java.io.Serializable, java.lang.Comparable<<a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry">ObjectHolderRegistry</a>></dd> +</dl> +<hr> +<br> +<pre>public enum <span class="strong">ObjectHolderRegistry</span> +extends java.lang.Enum<<a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry">ObjectHolderRegistry</a>></pre> +<div class="block">Internal registry for tracking <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html" title="annotation in cpw.mods.fml.common.registry"><code>GameRegistry.ObjectHolder</code></a> references</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum_constant_summary"> +<!-- --> +</a> +<h3>Enum Constant Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> +<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Enum Constant and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html#INSTANCE">INSTANCE</a></strong></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>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html#applyObjectHolders()">applyObjectHolders</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html#findObjectHolders(cpw.mods.fml.common.discovery.ASMDataTable)">findObjectHolders</a></strong>(<a href="../../../../../cpw/mods/fml/common/discovery/ASMDataTable.html" title="class in cpw.mods.fml.common.discovery">ASMDataTable</a> table)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry">ObjectHolderRegistry</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html#valueOf(java.lang.String)">valueOf</a></strong>(java.lang.String name)</code> +<div class="block">Returns the enum constant of this type with the specified name.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry">ObjectHolderRegistry</a>[]</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html#values()">values</a></strong>()</code> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Enum</h3> +<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li> +</ul> +<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>getClass, notify, notifyAll, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ ENUM CONSTANT DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum_constant_detail"> +<!-- --> +</a> +<h3>Enum Constant Detail</h3> +<a name="INSTANCE"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>INSTANCE</h4> +<pre>public static final <a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry">ObjectHolderRegistry</a> INSTANCE</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="values()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>values</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry">ObjectHolderRegistry</a>[] values()</pre> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +<pre> +for (ObjectHolderRegistry c : ObjectHolderRegistry.values()) + System.out.println(c); +</pre></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in the order they are declared</dd></dl> +</li> +</ul> +<a name="valueOf(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>valueOf</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry">ObjectHolderRegistry</a> valueOf(java.lang.String name)</pre> +<div class="block">Returns the enum constant of this type with the specified name. +The string must match <i>exactly</i> an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> +<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd> +<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd></dl> +</li> +</ul> +<a name="findObjectHolders(cpw.mods.fml.common.discovery.ASMDataTable)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findObjectHolders</h4> +<pre>public void findObjectHolders(<a href="../../../../../cpw/mods/fml/common/discovery/ASMDataTable.html" title="class in cpw.mods.fml.common.discovery">ASMDataTable</a> table)</pre> +</li> +</ul> +<a name="applyObjectHolders()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>applyObjectHolders</h4> +<pre>public void applyObjectHolders()</pre> +</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><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/ObjectHolderRegistry.html" target="_top">Frames</a></li> +<li><a href="ObjectHolderRegistry.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="#enum_constant_summary">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum_constant_detail">Enum Constants</a> | </li> +<li>Field | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html b/javadoc/cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html new file mode 100644 index 0000000..1a34fab --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html @@ -0,0 +1,368 @@ +<!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:18 EST 2015 --> +<title>RegistryDelegate.Delegate (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="RegistryDelegate.Delegate (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><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" target="_top">Frames</a></li> +<li><a href="RegistryDelegate.Delegate.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>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 name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">cpw.mods.fml.common.registry</div> +<h2 title="Class RegistryDelegate.Delegate" class="title">Class RegistryDelegate.Delegate<T></h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.RegistryDelegate.Delegate<T></li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><T></dd> +</dl> +<dl> +<dt>Enclosing interface:</dt> +<dd><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="type parameter in RegistryDelegate">T</a>></dd> +</dl> +<hr> +<br> +<pre>public static final class <span class="strong">RegistryDelegate.Delegate<T></span> +extends java.lang.Object +implements <a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><T></pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested_class_summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_cpw.mods.fml.common.registry.RegistryDelegate"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from interface cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a></h3> +<code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="class in cpw.mods.fml.common.registry">RegistryDelegate.Delegate</a><<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a>></code></li> +</ul> +</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="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html#RegistryDelegate.Delegate(T,%20java.lang.Class)">RegistryDelegate.Delegate</a></strong>(<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a> referant, + java.lang.Class<<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a>> type)</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>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html#equals(java.lang.Object)">equals</a></strong>(java.lang.Object obj)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html#get()">get</a></strong>()</code> +<div class="block">Get the referent pointed at by this delegate.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html#hashCode()">hashCode</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html#name()">name</a></strong>()</code> +<div class="block">Get the name of this delegate.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.Class<<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html#type()">type</a></strong>()</code> +<div class="block">Get the delegate type.</div> +</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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="RegistryDelegate.Delegate(java.lang.Object,java.lang.Class)"> +<!-- --> +</a><a name="RegistryDelegate.Delegate(T, java.lang.Class)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>RegistryDelegate.Delegate</h4> +<pre>public RegistryDelegate.Delegate(<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a> referant, + java.lang.Class<<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a>> type)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="get()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre>public <a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a> get()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html#get()">RegistryDelegate</a></code></strong></div> +<div class="block">Get the referent pointed at by this delegate. This will be the currently active item or block, and will change + as world saves come and go. Note that item.delegate.get() may NOT be the same object as item, due to item and + block substitution.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html#get()">get</a></code> in interface <code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a>></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>The referred object</dd></dl> +</li> +</ul> +<a name="name()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>name</h4> +<pre>public java.lang.String name()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html#name()">RegistryDelegate</a></code></strong></div> +<div class="block">Get the name of this delegate. This is completely static after registration has completed and will never change.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html#name()">name</a></code> in interface <code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a>></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>The name</dd></dl> +</li> +</ul> +<a name="type()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>type</h4> +<pre>public java.lang.Class<<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a>> type()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html#type()">RegistryDelegate</a></code></strong></div> +<div class="block">Get the delegate type. It will be Item or Block.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html#type()">type</a></code> in interface <code><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a>></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>The type of delegate</dd></dl> +</li> +</ul> +<a name="equals(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>equals</h4> +<pre>public boolean equals(java.lang.Object obj)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code>equals</code> in class <code>java.lang.Object</code></dd> +</dl> +</li> +</ul> +<a name="hashCode()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>hashCode</h4> +<pre>public int hashCode()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code>hashCode</code> in class <code>java.lang.Object</code></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><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" target="_top">Frames</a></li> +<li><a href="RegistryDelegate.Delegate.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>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 name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/RegistryDelegate.html b/javadoc/cpw/mods/fml/common/registry/RegistryDelegate.html new file mode 100644 index 0000000..0ca12ec --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/RegistryDelegate.html @@ -0,0 +1,271 @@ +<!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:18 EST 2015 --> +<title>RegistryDelegate (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="RegistryDelegate (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><a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/RegistryDelegate.html" target="_top">Frames</a></li> +<li><a href="RegistryDelegate.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><a href="#nested_class_summary">Nested</a> | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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">cpw.mods.fml.common.registry</div> +<h2 title="Interface RegistryDelegate" class="title">Interface RegistryDelegate<T></h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the type of thing we're holding onto</dd></dl> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="class in cpw.mods.fml.common.registry">RegistryDelegate.Delegate</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="strong">RegistryDelegate<T></span></pre> +<div class="block">A registry delegate for holding references to items or blocks + These should be safe to use in things like lists though aliased items and blocks will not + have object identity with respect to their delegate.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested_class_summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Interface and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="class in cpw.mods.fml.common.registry">RegistryDelegate.Delegate</a><<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="type parameter in RegistryDelegate.Delegate">T</a>></strong></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><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="type parameter in RegistryDelegate">T</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html#get()">get</a></strong>()</code> +<div class="block">Get the referent pointed at by this delegate.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html#name()">name</a></strong>()</code> +<div class="block">Get the name of this delegate.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.Class<<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="type parameter in RegistryDelegate">T</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html#type()">type</a></strong>()</code> +<div class="block">Get the delegate type.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="get()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="type parameter in RegistryDelegate">T</a> get()</pre> +<div class="block">Get the referent pointed at by this delegate. This will be the currently active item or block, and will change + as world saves come and go. Note that item.delegate.get() may NOT be the same object as item, due to item and + block substitution.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The referred object</dd></dl> +</li> +</ul> +<a name="name()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>name</h4> +<pre>java.lang.String name()</pre> +<div class="block">Get the name of this delegate. This is completely static after registration has completed and will never change.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The name</dd></dl> +</li> +</ul> +<a name="type()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>type</h4> +<pre>java.lang.Class<<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="type parameter in RegistryDelegate">T</a>> type()</pre> +<div class="block">Get the delegate type. It will be Item or Block.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The type of delegate</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><a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/RegistryDelegate.html" target="_top">Frames</a></li> +<li><a href="RegistryDelegate.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><a href="#nested_class_summary">Nested</a> | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html b/javadoc/cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html new file mode 100644 index 0000000..02d3bbe --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html @@ -0,0 +1,265 @@ +<!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:18 EST 2015 --> +<title>VillagerRegistry.IVillageCreationHandler (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="VillagerRegistry.IVillageCreationHandler (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><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html" target="_top">Frames</a></li> +<li><a href="VillagerRegistry.IVillageCreationHandler.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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">cpw.mods.fml.common.registry</div> +<h2 title="Interface VillagerRegistry.IVillageCreationHandler" class="title">Interface VillagerRegistry.IVillageCreationHandler</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html" title="class in cpw.mods.fml.common.registry">VillagerRegistry</a></dd> +</dl> +<hr> +<br> +<pre>public static interface <span class="strong">VillagerRegistry.IVillageCreationHandler</span></pre> +<div class="block">Allow access to the <a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.html" title="class in net.minecraft.world.gen.structure"><code>StructureVillagePieces</code></a> array controlling new village + creation so you can insert your own new village pieces</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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>java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html#buildComponent(net.minecraft.world.gen.structure.StructureVillagePieces.PieceWeight,%20net.minecraft.world.gen.structure.StructureVillagePieces.Start,%20java.util.List,%20java.util.Random,%20int,%20int,%20int,%20int,%20int)">buildComponent</a></strong>(<a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.PieceWeight.html" title="class in net.minecraft.world.gen.structure">StructureVillagePieces.PieceWeight</a> villagePiece, + <a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.Start.html" title="class in net.minecraft.world.gen.structure">StructureVillagePieces.Start</a> startPiece, + java.util.List pieces, + java.util.Random random, + int p1, + int p2, + int p3, + int p4, + int p5)</code> +<div class="block">Build an instance of the village component <a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.html" title="class in net.minecraft.world.gen.structure"><code>StructureVillagePieces</code></a></div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.Class<?></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html#getComponentClass()">getComponentClass</a></strong>()</code> +<div class="block">The class of the root structure component to add to the village</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.PieceWeight.html" title="class in net.minecraft.world.gen.structure">StructureVillagePieces.PieceWeight</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html#getVillagePieceWeight(java.util.Random,%20int)">getVillagePieceWeight</a></strong>(java.util.Random random, + int i)</code> +<div class="block">Called when <a href="../../../../../net/minecraft/world/gen/structure/MapGenVillage.html" title="class in net.minecraft.world.gen.structure"><code>MapGenVillage</code></a> is creating a new village</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getVillagePieceWeight(java.util.Random, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getVillagePieceWeight</h4> +<pre><a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.PieceWeight.html" title="class in net.minecraft.world.gen.structure">StructureVillagePieces.PieceWeight</a> getVillagePieceWeight(java.util.Random random, + int i)</pre> +<div class="block">Called when <a href="../../../../../net/minecraft/world/gen/structure/MapGenVillage.html" title="class in net.minecraft.world.gen.structure"><code>MapGenVillage</code></a> is creating a new village</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>random</code> - </dd><dd><code>i</code> - </dd></dl> +</li> +</ul> +<a name="getComponentClass()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getComponentClass</h4> +<pre>java.lang.Class<?> getComponentClass()</pre> +<div class="block">The class of the root structure component to add to the village</div> +</li> +</ul> +<a name="buildComponent(net.minecraft.world.gen.structure.StructureVillagePieces.PieceWeight, net.minecraft.world.gen.structure.StructureVillagePieces.Start, java.util.List, java.util.Random, int, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>buildComponent</h4> +<pre>java.lang.Object buildComponent(<a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.PieceWeight.html" title="class in net.minecraft.world.gen.structure">StructureVillagePieces.PieceWeight</a> villagePiece, + <a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.Start.html" title="class in net.minecraft.world.gen.structure">StructureVillagePieces.Start</a> startPiece, + java.util.List pieces, + java.util.Random random, + int p1, + int p2, + int p3, + int p4, + int p5)</pre> +<div class="block">Build an instance of the village component <a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.html" title="class in net.minecraft.world.gen.structure"><code>StructureVillagePieces</code></a></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>villagePiece</code> - </dd><dd><code>startPiece</code> - </dd><dd><code>pieces</code> - </dd><dd><code>random</code> - </dd><dd><code>p1</code> - </dd><dd><code>p2</code> - </dd><dd><code>p3</code> - </dd><dd><code>p4</code> - </dd><dd><code>p5</code> - </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><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html" target="_top">Frames</a></li> +<li><a href="VillagerRegistry.IVillageCreationHandler.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html b/javadoc/cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html new file mode 100644 index 0000000..7df54e0 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html @@ -0,0 +1,219 @@ +<!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:18 EST 2015 --> +<title>VillagerRegistry.IVillageTradeHandler (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="VillagerRegistry.IVillageTradeHandler (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><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html" target="_top">Frames</a></li> +<li><a href="VillagerRegistry.IVillageTradeHandler.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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">cpw.mods.fml.common.registry</div> +<h2 title="Interface VillagerRegistry.IVillageTradeHandler" class="title">Interface VillagerRegistry.IVillageTradeHandler</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html" title="class in cpw.mods.fml.common.registry">VillagerRegistry</a></dd> +</dl> +<hr> +<br> +<pre>public static interface <span class="strong">VillagerRegistry.IVillageTradeHandler</span></pre> +<div class="block">Allow access to the <a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village"><code>MerchantRecipeList</code></a> for a villager type for manipulation</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html#manipulateTradesForVillager(net.minecraft.entity.passive.EntityVillager,%20net.minecraft.village.MerchantRecipeList,%20java.util.Random)">manipulateTradesForVillager</a></strong>(<a href="../../../../../net/minecraft/entity/passive/EntityVillager.html" title="class in net.minecraft.entity.passive">EntityVillager</a> villager, + <a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village">MerchantRecipeList</a> recipeList, + java.util.Random random)</code> +<div class="block">Called to allow changing the content of the <a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village"><code>MerchantRecipeList</code></a> for the villager + supplied during creation</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="manipulateTradesForVillager(net.minecraft.entity.passive.EntityVillager, net.minecraft.village.MerchantRecipeList, java.util.Random)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>manipulateTradesForVillager</h4> +<pre>void manipulateTradesForVillager(<a href="../../../../../net/minecraft/entity/passive/EntityVillager.html" title="class in net.minecraft.entity.passive">EntityVillager</a> villager, + <a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village">MerchantRecipeList</a> recipeList, + java.util.Random random)</pre> +<div class="block">Called to allow changing the content of the <a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village"><code>MerchantRecipeList</code></a> for the villager + supplied during creation</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>villager</code> - </dd><dd><code>recipeList</code> - </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><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html" target="_top">Frames</a></li> +<li><a href="VillagerRegistry.IVillageTradeHandler.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>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/VillagerRegistry.html b/javadoc/cpw/mods/fml/common/registry/VillagerRegistry.html new file mode 100644 index 0000000..2ae95e0 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/VillagerRegistry.html @@ -0,0 +1,525 @@ +<!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:18 EST 2015 --> +<title>VillagerRegistry (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="VillagerRegistry (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><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/VillagerRegistry.html" target="_top">Frames</a></li> +<li><a href="VillagerRegistry.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><a href="#nested_class_summary">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 name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">cpw.mods.fml.common.registry</div> +<h2 title="Class VillagerRegistry" class="title">Class VillagerRegistry</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>cpw.mods.fml.common.registry.VillagerRegistry</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">VillagerRegistry</span> +extends java.lang.Object</pre> +<div class="block">Registry for villager trading control</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested_class_summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static interface </code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html" title="interface in cpw.mods.fml.common.registry">VillagerRegistry.IVillageCreationHandler</a></strong></code> +<div class="block">Allow access to the <a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.html" title="class in net.minecraft.world.gen.structure"><code>StructureVillagePieces</code></a> array controlling new village + creation so you can insert your own new village pieces</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static interface </code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html" title="interface in cpw.mods.fml.common.registry">VillagerRegistry.IVillageTradeHandler</a></strong></code> +<div class="block">Allow access to the <a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village"><code>MerchantRecipeList</code></a> for a villager type for manipulation</div> +</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="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#VillagerRegistry()">VillagerRegistry</a></strong>()</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="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#addEmeraldBuyRecipe(net.minecraft.entity.passive.EntityVillager,%20net.minecraft.village.MerchantRecipeList,%20java.util.Random,%20net.minecraft.item.Item,%20float,%20int,%20int)">addEmeraldBuyRecipe</a></strong>(<a href="../../../../../net/minecraft/entity/passive/EntityVillager.html" title="class in net.minecraft.entity.passive">EntityVillager</a> villager, + <a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village">MerchantRecipeList</a> list, + java.util.Random random, + <a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> item, + float chance, + int min, + int max)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#addEmeraldSellRecipe(net.minecraft.entity.passive.EntityVillager,%20net.minecraft.village.MerchantRecipeList,%20java.util.Random,%20net.minecraft.item.Item,%20float,%20int,%20int)">addEmeraldSellRecipe</a></strong>(<a href="../../../../../net/minecraft/entity/passive/EntityVillager.html" title="class in net.minecraft.entity.passive">EntityVillager</a> villager, + <a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village">MerchantRecipeList</a> list, + java.util.Random random, + <a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> item, + float chance, + int min, + int max)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#addExtraVillageComponents(java.util.ArrayList,%20java.util.Random,%20int)">addExtraVillageComponents</a></strong>(java.util.ArrayList components, + java.util.Random random, + int i)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#applyRandomTrade(net.minecraft.entity.passive.EntityVillager,%20java.util.Random)">applyRandomTrade</a></strong>(<a href="../../../../../net/minecraft/entity/passive/EntityVillager.html" title="class in net.minecraft.entity.passive">EntityVillager</a> villager, + java.util.Random rand)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.util.Collection<java.lang.Integer></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#getRegisteredVillagers()">getRegisteredVillagers</a></strong>()</code> +<div class="block">Returns a list of all added villager types</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#getVillageComponent(net.minecraft.world.gen.structure.StructureVillagePieces.PieceWeight,%20net.minecraft.world.gen.structure.StructureVillagePieces.Start,%20java.util.List,%20java.util.Random,%20int,%20int,%20int,%20int,%20int)">getVillageComponent</a></strong>(<a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.PieceWeight.html" title="class in net.minecraft.world.gen.structure">StructureVillagePieces.PieceWeight</a> villagePiece, + <a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.Start.html" title="class in net.minecraft.world.gen.structure">StructureVillagePieces.Start</a> startPiece, + java.util.List pieces, + java.util.Random random, + int p1, + int p2, + int p3, + int p4, + int p5)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#getVillagerSkin(int,%20net.minecraft.util.ResourceLocation)">getVillagerSkin</a></strong>(int villagerType, + <a href="../../../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a> defaultSkin)</code> +<div class="block">Callback to setup new villager types</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html" title="class in cpw.mods.fml.common.registry">VillagerRegistry</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#instance()">instance</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#manageVillagerTrades(net.minecraft.village.MerchantRecipeList,%20net.minecraft.entity.passive.EntityVillager,%20int,%20java.util.Random)">manageVillagerTrades</a></strong>(<a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village">MerchantRecipeList</a> recipeList, + <a href="../../../../../net/minecraft/entity/passive/EntityVillager.html" title="class in net.minecraft.entity.passive">EntityVillager</a> villager, + int villagerType, + java.util.Random random)</code> +<div class="block">Callback to handle trade setup for villagers</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#registerVillageCreationHandler(cpw.mods.fml.common.registry.VillagerRegistry.IVillageCreationHandler)">registerVillageCreationHandler</a></strong>(<a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html" title="interface in cpw.mods.fml.common.registry">VillagerRegistry.IVillageCreationHandler</a> handler)</code> +<div class="block">Register a new village creation handler</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#registerVillagerId(int)">registerVillagerId</a></strong>(int id)</code> +<div class="block">Register your villager id</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#registerVillagerSkin(int,%20net.minecraft.util.ResourceLocation)">registerVillagerSkin</a></strong>(int villagerId, + <a href="../../../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a> villagerSkin)</code> +<div class="block">Register a new skin for a villager type</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html#registerVillageTradeHandler(int,%20cpw.mods.fml.common.registry.VillagerRegistry.IVillageTradeHandler)">registerVillageTradeHandler</a></strong>(int villagerId, + <a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html" title="interface in cpw.mods.fml.common.registry">VillagerRegistry.IVillageTradeHandler</a> handler)</code> +<div class="block">Register a new villager trading handler for the specified villager type</div> +</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"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="VillagerRegistry()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>VillagerRegistry</h4> +<pre>public VillagerRegistry()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="instance()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>instance</h4> +<pre>public static <a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html" title="class in cpw.mods.fml.common.registry">VillagerRegistry</a> instance()</pre> +</li> +</ul> +<a name="registerVillagerId(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerVillagerId</h4> +<pre>public void registerVillagerId(int id)</pre> +<div class="block">Register your villager id</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - </dd></dl> +</li> +</ul> +<a name="registerVillagerSkin(int, net.minecraft.util.ResourceLocation)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerVillagerSkin</h4> +<pre>public void registerVillagerSkin(int villagerId, + <a href="../../../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a> villagerSkin)</pre> +<div class="block">Register a new skin for a villager type</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>villagerId</code> - </dd><dd><code>villagerSkin</code> - </dd></dl> +</li> +</ul> +<a name="registerVillageCreationHandler(cpw.mods.fml.common.registry.VillagerRegistry.IVillageCreationHandler)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerVillageCreationHandler</h4> +<pre>public void registerVillageCreationHandler(<a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html" title="interface in cpw.mods.fml.common.registry">VillagerRegistry.IVillageCreationHandler</a> handler)</pre> +<div class="block">Register a new village creation handler</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>handler</code> - </dd></dl> +</li> +</ul> +<a name="registerVillageTradeHandler(int, cpw.mods.fml.common.registry.VillagerRegistry.IVillageTradeHandler)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>registerVillageTradeHandler</h4> +<pre>public void registerVillageTradeHandler(int villagerId, + <a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html" title="interface in cpw.mods.fml.common.registry">VillagerRegistry.IVillageTradeHandler</a> handler)</pre> +<div class="block">Register a new villager trading handler for the specified villager type</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>villagerId</code> - </dd><dd><code>handler</code> - </dd></dl> +</li> +</ul> +<a name="getVillagerSkin(int, net.minecraft.util.ResourceLocation)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getVillagerSkin</h4> +<pre>public static <a href="../../../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a> getVillagerSkin(int villagerType, + <a href="../../../../../net/minecraft/util/ResourceLocation.html" title="class in net.minecraft.util">ResourceLocation</a> defaultSkin)</pre> +<div class="block">Callback to setup new villager types</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>villagerType</code> - </dd><dd><code>defaultSkin</code> - </dd></dl> +</li> +</ul> +<a name="getRegisteredVillagers()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRegisteredVillagers</h4> +<pre>public static java.util.Collection<java.lang.Integer> getRegisteredVillagers()</pre> +<div class="block">Returns a list of all added villager types</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>newVillagerIds</dd></dl> +</li> +</ul> +<a name="manageVillagerTrades(net.minecraft.village.MerchantRecipeList, net.minecraft.entity.passive.EntityVillager, int, java.util.Random)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>manageVillagerTrades</h4> +<pre>public static void manageVillagerTrades(<a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village">MerchantRecipeList</a> recipeList, + <a href="../../../../../net/minecraft/entity/passive/EntityVillager.html" title="class in net.minecraft.entity.passive">EntityVillager</a> villager, + int villagerType, + java.util.Random random)</pre> +<div class="block">Callback to handle trade setup for villagers</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>recipeList</code> - </dd><dd><code>villager</code> - </dd><dd><code>villagerType</code> - </dd><dd><code>random</code> - </dd></dl> +</li> +</ul> +<a name="addExtraVillageComponents(java.util.ArrayList, java.util.Random, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addExtraVillageComponents</h4> +<pre>public static void addExtraVillageComponents(java.util.ArrayList components, + java.util.Random random, + int i)</pre> +</li> +</ul> +<a name="getVillageComponent(net.minecraft.world.gen.structure.StructureVillagePieces.PieceWeight, net.minecraft.world.gen.structure.StructureVillagePieces.Start, java.util.List, java.util.Random, int, int, int, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getVillageComponent</h4> +<pre>public static java.lang.Object getVillageComponent(<a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.PieceWeight.html" title="class in net.minecraft.world.gen.structure">StructureVillagePieces.PieceWeight</a> villagePiece, + <a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.Start.html" title="class in net.minecraft.world.gen.structure">StructureVillagePieces.Start</a> startPiece, + java.util.List pieces, + java.util.Random random, + int p1, + int p2, + int p3, + int p4, + int p5)</pre> +</li> +</ul> +<a name="addEmeraldBuyRecipe(net.minecraft.entity.passive.EntityVillager, net.minecraft.village.MerchantRecipeList, java.util.Random, net.minecraft.item.Item, float, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addEmeraldBuyRecipe</h4> +<pre>public static void addEmeraldBuyRecipe(<a href="../../../../../net/minecraft/entity/passive/EntityVillager.html" title="class in net.minecraft.entity.passive">EntityVillager</a> villager, + <a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village">MerchantRecipeList</a> list, + java.util.Random random, + <a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> item, + float chance, + int min, + int max)</pre> +</li> +</ul> +<a name="addEmeraldSellRecipe(net.minecraft.entity.passive.EntityVillager, net.minecraft.village.MerchantRecipeList, java.util.Random, net.minecraft.item.Item, float, int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addEmeraldSellRecipe</h4> +<pre>public static void addEmeraldSellRecipe(<a href="../../../../../net/minecraft/entity/passive/EntityVillager.html" title="class in net.minecraft.entity.passive">EntityVillager</a> villager, + <a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village">MerchantRecipeList</a> list, + java.util.Random random, + <a href="../../../../../net/minecraft/item/Item.html" title="class in net.minecraft.item">Item</a> item, + float chance, + int min, + int max)</pre> +</li> +</ul> +<a name="applyRandomTrade(net.minecraft.entity.passive.EntityVillager, java.util.Random)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>applyRandomTrade</h4> +<pre>public static void applyRandomTrade(<a href="../../../../../net/minecraft/entity/passive/EntityVillager.html" title="class in net.minecraft.entity.passive">EntityVillager</a> villager, + java.util.Random rand)</pre> +</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><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="class in cpw.mods.fml.common.registry"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/VillagerRegistry.html" target="_top">Frames</a></li> +<li><a href="VillagerRegistry.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><a href="#nested_class_summary">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 name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/package-frame.html b/javadoc/cpw/mods/fml/common/registry/package-frame.html new file mode 100644 index 0000000..21a5bc6 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/package-frame.html @@ -0,0 +1,49 @@ +<!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:23 EST 2015 --> +<title>cpw.mods.fml.common.registry (Forge API)</title> +<meta name="date" content="2015-02-05"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +</head> +<body> +<h1 class="bar"><a href="../../../../../cpw/mods/fml/common/registry/package-summary.html" target="classFrame">cpw.mods.fml.common.registry</a></h1> +<div class="indexContainer"> +<h2 title="Interfaces">Interfaces</h2> +<ul title="Interfaces"> +<li><a href="IEntityAdditionalSpawnData.html" title="interface in cpw.mods.fml.common.registry" target="classFrame"><i>IEntityAdditionalSpawnData</i></a></li> +<li><a href="IThrowableEntity.html" title="interface in cpw.mods.fml.common.registry" target="classFrame"><i>IThrowableEntity</i></a></li> +<li><a href="RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry" target="classFrame"><i>RegistryDelegate</i></a></li> +<li><a href="VillagerRegistry.IVillageCreationHandler.html" title="interface in cpw.mods.fml.common.registry" target="classFrame"><i>VillagerRegistry.IVillageCreationHandler</i></a></li> +<li><a href="VillagerRegistry.IVillageTradeHandler.html" title="interface in cpw.mods.fml.common.registry" target="classFrame"><i>VillagerRegistry.IVillageTradeHandler</i></a></li> +</ul> +<h2 title="Classes">Classes</h2> +<ul title="Classes"> +<li><a href="EntityRegistry.html" title="class in cpw.mods.fml.common.registry" target="classFrame">EntityRegistry</a></li> +<li><a href="FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry" target="classFrame">FMLControlledNamespacedRegistry</a></li> +<li><a href="GameData.html" title="class in cpw.mods.fml.common.registry" target="classFrame">GameData</a></li> +<li><a href="GameData.GameDataSnapshot.html" title="class in cpw.mods.fml.common.registry" target="classFrame">GameData.GameDataSnapshot</a></li> +<li><a href="GameRegistry.html" title="class in cpw.mods.fml.common.registry" target="classFrame">GameRegistry</a></li> +<li><a href="GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry" target="classFrame">GameRegistry.UniqueIdentifier</a></li> +<li><a href="LanguageRegistry.html" title="class in cpw.mods.fml.common.registry" target="classFrame">LanguageRegistry</a></li> +<li><a href="RegistryDelegate.Delegate.html" title="class in cpw.mods.fml.common.registry" target="classFrame">RegistryDelegate.Delegate</a></li> +<li><a href="VillagerRegistry.html" title="class in cpw.mods.fml.common.registry" target="classFrame">VillagerRegistry</a></li> +</ul> +<h2 title="Enums">Enums</h2> +<ul title="Enums"> +<li><a href="GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry" target="classFrame">GameRegistry.Type</a></li> +<li><a href="ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry" target="classFrame">ObjectHolderRegistry</a></li> +</ul> +<h2 title="Exceptions">Exceptions</h2> +<ul title="Exceptions"> +<li><a href="ExistingSubstitutionException.html" title="class in cpw.mods.fml.common.registry" target="classFrame">ExistingSubstitutionException</a></li> +<li><a href="IncompatibleSubstitutionException.html" title="class in cpw.mods.fml.common.registry" target="classFrame">IncompatibleSubstitutionException</a></li> +</ul> +<h2 title="Annotation Types">Annotation Types</h2> +<ul title="Annotation Types"> +<li><a href="GameRegistry.ObjectHolder.html" title="annotation in cpw.mods.fml.common.registry" target="classFrame">GameRegistry.ObjectHolder</a></li> +</ul> +</div> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/package-summary.html b/javadoc/cpw/mods/fml/common/registry/package-summary.html new file mode 100644 index 0000000..4b15115 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/package-summary.html @@ -0,0 +1,268 @@ +<!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:23 EST 2015 --> +<title>cpw.mods.fml.common.registry (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="cpw.mods.fml.common.registry (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 class="navBarCell1Rev">Package</li> +<li>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><a href="../../../../../cpw/mods/fml/common/patcher/package-summary.html">Prev Package</a></li> +<li><a href="../../../../../cpw/mods/fml/common/toposort/package-summary.html">Next Package</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/package-summary.html" target="_top">Frames</a></li> +<li><a href="package-summary.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> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 title="Package" class="title">Package cpw.mods.fml.common.registry</h1> +</div> +<div class="contentContainer"> +<ul class="blockList"> +<li class="blockList"> +<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation"> +<caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Interface</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html" title="interface in cpw.mods.fml.common.registry">IEntityAdditionalSpawnData</a></td> +<td class="colLast"> +<div class="block">A interface for Entities that need extra information to be communicated + between the server and client when they are spawned.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/IThrowableEntity.html" title="interface in cpw.mods.fml.common.registry">IThrowableEntity</a></td> +<td class="colLast"> +<div class="block">This interface should be implemented by an Entity that can be 'thrown', like snowballs.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><T></td> +<td class="colLast"> +<div class="block">A registry delegate for holding references to items or blocks + These should be safe to use in things like lists though aliased items and blocks will not + have object identity with respect to their delegate.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html" title="interface in cpw.mods.fml.common.registry">VillagerRegistry.IVillageCreationHandler</a></td> +<td class="colLast"> +<div class="block">Allow access to the <a href="../../../../../net/minecraft/world/gen/structure/StructureVillagePieces.html" title="class in net.minecraft.world.gen.structure"><code>StructureVillagePieces</code></a> array controlling new village + creation so you can insert your own new village pieces</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html" title="interface in cpw.mods.fml.common.registry">VillagerRegistry.IVillageTradeHandler</a></td> +<td class="colLast"> +<div class="block">Allow access to the <a href="../../../../../net/minecraft/village/MerchantRecipeList.html" title="class in net.minecraft.village"><code>MerchantRecipeList</code></a> for a villager type for manipulation</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> +<caption><span>Class Summary</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Class</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html" title="class in cpw.mods.fml.common.registry">EntityRegistry</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry">FMLControlledNamespacedRegistry</a><I></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/GameData.html" title="class in cpw.mods.fml.common.registry">GameData</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html" title="class in cpw.mods.fml.common.registry">GameData.GameDataSnapshot</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry">GameRegistry</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry">GameRegistry.UniqueIdentifier</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html" title="class in cpw.mods.fml.common.registry">LanguageRegistry</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="class in cpw.mods.fml.common.registry">RegistryDelegate.Delegate</a><T></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html" title="class in cpw.mods.fml.common.registry">VillagerRegistry</a></td> +<td class="colLast"> +<div class="block">Registry for villager trading control</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation"> +<caption><span>Enum Summary</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Enum</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry">GameRegistry.Type</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry">ObjectHolderRegistry</a></td> +<td class="colLast"> +<div class="block">Internal registry for tracking <a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html" title="annotation in cpw.mods.fml.common.registry"><code>GameRegistry.ObjectHolder</code></a> references</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation"> +<caption><span>Exception Summary</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Exception</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/ExistingSubstitutionException.html" title="class in cpw.mods.fml.common.registry">ExistingSubstitutionException</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html" title="class in cpw.mods.fml.common.registry">IncompatibleSubstitutionException</a></td> +<td class="colLast"> </td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Annotation Types Summary table, listing annotation types, and an explanation"> +<caption><span>Annotation Types Summary</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Annotation Type</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html" title="annotation in cpw.mods.fml.common.registry">GameRegistry.ObjectHolder</a></td> +<td class="colLast"> +<div class="block">This will cause runtime injection of public static final fields to occur at various points + where mod blocks and items <em>could</em> be subject to change.</div> +</td> +</tr> +</tbody> +</table> +</li> +</ul> +</div> +<!-- ======= 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 class="navBarCell1Rev">Package</li> +<li>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><a href="../../../../../cpw/mods/fml/common/patcher/package-summary.html">Prev Package</a></li> +<li><a href="../../../../../cpw/mods/fml/common/toposort/package-summary.html">Next Package</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/package-summary.html" target="_top">Frames</a></li> +<li><a href="package-summary.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> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> diff --git a/javadoc/cpw/mods/fml/common/registry/package-tree.html b/javadoc/cpw/mods/fml/common/registry/package-tree.html new file mode 100644 index 0000000..6b23ed2 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/package-tree.html @@ -0,0 +1,182 @@ +<!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:23 EST 2015 --> +<title>cpw.mods.fml.common.registry Class Hierarchy (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="cpw.mods.fml.common.registry Class Hierarchy (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</li> +<li class="navBarCell1Rev">Tree</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="../../../../../cpw/mods/fml/common/patcher/package-tree.html">Prev</a></li> +<li><a href="../../../../../cpw/mods/fml/common/toposort/package-tree.html">Next</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/package-tree.html" target="_top">Frames</a></li> +<li><a href="package-tree.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> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h1 class="title">Hierarchy For Package cpw.mods.fml.common.registry</h1> +<span class="strong">Package Hierarchies:</span> +<ul class="horizontal"> +<li><a href="../../../../../overview-tree.html">All Packages</a></li> +</ul> +</div> +<div class="contentContainer"> +<h2 title="Class Hierarchy">Class Hierarchy</h2> +<ul> +<li type="circle">java.lang.Object +<ul> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">EntityRegistry</span></a></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/EntityRegistry.EntityRegistration.html" title="class in cpw.mods.fml.common.registry"><span class="strong">EntityRegistry.EntityRegistration</span></a></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/GameData.html" title="class in cpw.mods.fml.common.registry"><span class="strong">GameData</span></a></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/GameData.GameDataSnapshot.html" title="class in cpw.mods.fml.common.registry"><span class="strong">GameData.GameDataSnapshot</span></a></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">GameRegistry</span></a></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.UniqueIdentifier.html" title="class in cpw.mods.fml.common.registry"><span class="strong">GameRegistry.UniqueIdentifier</span></a></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/LanguageRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">LanguageRegistry</span></a></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.Delegate.html" title="class in cpw.mods.fml.common.registry"><span class="strong">RegistryDelegate.Delegate</span></a><T> (implements cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry">RegistryDelegate</a><T>)</li> +<li type="circle">net.minecraft.util.<a href="../../../../../net/minecraft/util/RegistrySimple.html" title="class in net.minecraft.util"><span class="strong">RegistrySimple</span></a> (implements net.minecraft.util.<a href="../../../../../net/minecraft/util/IRegistry.html" title="interface in net.minecraft.util">IRegistry</a>) +<ul> +<li type="circle">net.minecraft.util.<a href="../../../../../net/minecraft/util/RegistryNamespaced.html" title="class in net.minecraft.util"><span class="strong">RegistryNamespaced</span></a> (implements net.minecraft.util.<a href="../../../../../net/minecraft/util/IObjectIntIterable.html" title="interface in net.minecraft.util">IObjectIntIterable</a>) +<ul> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">FMLControlledNamespacedRegistry</span></a><I></li> +</ul> +</li> +</ul> +</li> +<li type="circle">java.lang.Throwable (implements java.io.Serializable) +<ul> +<li type="circle">java.lang.Exception +<ul> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/ExistingSubstitutionException.html" title="class in cpw.mods.fml.common.registry"><span class="strong">ExistingSubstitutionException</span></a></li> +<li type="circle">java.lang.RuntimeException +<ul> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/IncompatibleSubstitutionException.html" title="class in cpw.mods.fml.common.registry"><span class="strong">IncompatibleSubstitutionException</span></a></li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.html" title="class in cpw.mods.fml.common.registry"><span class="strong">VillagerRegistry</span></a></li> +</ul> +</li> +</ul> +<h2 title="Interface Hierarchy">Interface Hierarchy</h2> +<ul> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/IEntityAdditionalSpawnData.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">IEntityAdditionalSpawnData</span></a></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/IThrowableEntity.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">IThrowableEntity</span></a></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/RegistryDelegate.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">RegistryDelegate</span></a><T></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageCreationHandler.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">VillagerRegistry.IVillageCreationHandler</span></a></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/VillagerRegistry.IVillageTradeHandler.html" title="interface in cpw.mods.fml.common.registry"><span class="strong">VillagerRegistry.IVillageTradeHandler</span></a></li> +</ul> +<h2 title="Annotation Type Hierarchy">Annotation Type Hierarchy</h2> +<ul> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.ObjectHolder.html" title="annotation in cpw.mods.fml.common.registry"><span class="strong">GameRegistry.ObjectHolder</span></a> (implements java.lang.annotation.Annotation)</li> +</ul> +<h2 title="Enum Hierarchy">Enum Hierarchy</h2> +<ul> +<li type="circle">java.lang.Object +<ul> +<li type="circle">java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) +<ul> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/ObjectHolderRegistry.html" title="enum in cpw.mods.fml.common.registry"><span class="strong">ObjectHolderRegistry</span></a></li> +<li type="circle">cpw.mods.fml.common.registry.<a href="../../../../../cpw/mods/fml/common/registry/GameRegistry.Type.html" title="enum in cpw.mods.fml.common.registry"><span class="strong">GameRegistry.Type</span></a></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<!-- ======= 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</li> +<li class="navBarCell1Rev">Tree</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="../../../../../cpw/mods/fml/common/patcher/package-tree.html">Prev</a></li> +<li><a href="../../../../../cpw/mods/fml/common/toposort/package-tree.html">Next</a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?cpw/mods/fml/common/registry/package-tree.html" target="_top">Frames</a></li> +<li><a href="package-tree.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> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</body> +</html> |
