Class DirectRegistryEntry<T>
java.lang.Object
io.github.thecsdev.tcdcommons.client.world.registry.DirectRegistryEntry<T>
- All Implemented Interfaces:
net.minecraft.registry.entry.RegistryEntry<T>
@Beta
public final class DirectRegistryEntry<T>
extends Object
implements net.minecraft.registry.entry.RegistryEntry<T>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
net.minecraft.registry.entry.RegistryEntry.Type
getType()
boolean
boolean
boolean
boolean
boolean
matchesId
(net.minecraft.util.Identifier id) boolean
matchesKey
(net.minecraft.registry.RegistryKey<T> key) boolean
ownerEquals
(net.minecraft.registry.entry.RegistryEntryOwner<T> owner) toString()
value()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.registry.entry.RegistryEntry
getIdAsString
-
Field Details
-
key
-
value
-
-
Constructor Details
-
DirectRegistryEntry
-
-
Method Details
-
value
- Specified by:
value
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-
hasKeyAndValue
public boolean hasKeyAndValue()- Specified by:
hasKeyAndValue
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-
matchesKey
- Specified by:
matchesKey
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-
isIn
- Specified by:
isIn
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-
matches
- Specified by:
matches
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-
getKeyOrValue
- Specified by:
getKeyOrValue
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-
getType
public net.minecraft.registry.entry.RegistryEntry.Type getType()- Specified by:
getType
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-
toString
-
ownerEquals
- Specified by:
ownerEquals
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-
streamTags
- Specified by:
streamTags
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-
getKey
- Specified by:
getKey
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-
matchesId
public boolean matchesId(net.minecraft.util.Identifier id) - Specified by:
matchesId
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-
matches
- Specified by:
matches
in interfacenet.minecraft.registry.entry.RegistryEntry<T>
-