net.minecraft.registry.entry

public interface RegistryEntry<T>

net.minecraft.core.Holder
net.minecraft.class_6880
net.minecraft.registry.entry.RegistryEntry

Method summary

Modifier and TypeMethod
T
value()
comp_349()
value()
boolean
isBound()
method_40227()
hasKeyAndValue()
boolean
areComponentsBound()
method_1_816()
areComponentsBound()
boolean
is(Identifier key)
method_40226(class_2960 arg0)
matchesId(Identifier id)
boolean
is(ResourceKey<T> key)
method_40225(class_5321<T> arg0)
matchesKey(RegistryKey<T> key)
boolean
is(Predicate<ResourceKey<T>> predicate)
method_40224(Predicate<class_5321<T>> arg0)
matches(Predicate<RegistryKey<T>> predicate)
boolean
is(TagKey<T> tag)
method_40220(class_6862<T> arg0)
isIn(TagKey<T> tag)
boolean
is(Holder<T> holder)
method_55838(class_6880<T> arg0)
matches(RegistryEntry<T> entry)
Stream<TagKey<T>>
tags()
method_40228()
streamTags()
ComponentMap
components()
comp_1_64()
components()
com.mojang.datafixers.util.Either<RegistryKey<T>, T>
unwrap()
method_40229()
getKeyOrValue()
Optional<RegistryKey<T>>
unwrapKey()
method_40230()
getKey()
RegistryEntry$Type
kind()
method_40231()
getType()
boolean
canSerializeIn(HolderOwner<T> registry)
method_46745(class_7876<T> arg0)
ownerEquals(RegistryEntryOwner<T> owner)
default Optional<String>
getRegisteredNameIfPresent()
method_1_6425()
getIdAsStringOptional()
default String
getRegisteredName()
method_55840()
getIdAsString()
static <T> RegistryEntry<T>
direct(T value)
method_40223(T arg0)
of(T value)
static <T> RegistryEntry<T>
direct(T value, DataComponentMap components)
method_1_817(T arg0, class_9323 arg1)
of(T value, ComponentMap components)
private static String
lambda$getRegisteredNameIfPresent$0(ResourceKey arg0)
method_55839(class_5321 arg0)
method_55839(RegistryKey key)