public class RegistryEntry
extends java.lang.Object
Registry.| Constructor and Description |
|---|
RegistryEntry(Registry registry,
net.lenni0451.mcstructs.core.Identifier id) |
RegistryEntry(Registry registry,
int networkId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
net.lenni0451.mcstructs.core.Identifier |
getId()
Get the id of this entry.
If the id has not been resolved yet, it will be resolved using the registry. |
int |
getNetworkId()
Get the network id of this entry.
If the network id has not been resolved yet, it will be resolved using the registry. |
Registry |
getRegistry() |
int |
hashCode() |
java.lang.String |
toString() |
public RegistryEntry(@Nonnull
Registry registry,
net.lenni0451.mcstructs.core.Identifier id)
public RegistryEntry(Registry registry, int networkId)
public Registry getRegistry()
public net.lenni0451.mcstructs.core.Identifier getId()
public int getNetworkId()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object