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/FMLControlledNamespacedRegistry.html | |
| parent | 1da8dcd58647e34c9af94ceeecaeaf3b0d08c48c (diff) | |
full project files
Diffstat (limited to 'javadoc/cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html')
| -rw-r--r-- | javadoc/cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.html | 605 |
1 files changed, 605 insertions, 0 deletions
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> |
