Package net.minecraft.registry
Interface Registerable<T>
public interface Registerable<T>
- Mappings:
Namespace Name official nr
intermediary net/minecraft/class_7891
named net/minecraft/registry/Registerable
-
Method Summary
Modifier and TypeMethodDescription<S> RegistryEntryLookup<S>
getRegistryLookup
(RegistryKey<? extends Registry<? extends S>> registryRef) default RegistryEntry.Reference<T>
register
(RegistryKey<T> key, T value) register
(RegistryKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle)
-
Method Details
-
register
RegistryEntry.Reference<T> register(RegistryKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) - Mappings:
Namespace Name Mixin selector official a
Lnr;a(Laev;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Lhe$c;
intermediary method_46800
Lnet/minecraft/class_7891;method_46800(Lnet/minecraft/class_5321;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Lnet/minecraft/class_6880$class_6883;
named register
Lnet/minecraft/registry/Registerable;register(Lnet/minecraft/registry/RegistryKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Lnet/minecraft/registry/entry/RegistryEntry$Reference;
-
register
- Mappings:
Namespace Name Mixin selector official a
Lnr;a(Laev;Ljava/lang/Object;)Lhe$c;
intermediary method_46838
Lnet/minecraft/class_7891;method_46838(Lnet/minecraft/class_5321;Ljava/lang/Object;)Lnet/minecraft/class_6880$class_6883;
named register
Lnet/minecraft/registry/Registerable;register(Lnet/minecraft/registry/RegistryKey;Ljava/lang/Object;)Lnet/minecraft/registry/entry/RegistryEntry$Reference;
-
getRegistryLookup
<S> RegistryEntryLookup<S> getRegistryLookup(RegistryKey<? extends Registry<? extends S>> registryRef) - Mappings:
Namespace Name Mixin selector official a
Lnr;a(Laev;)Lhf;
intermediary method_46799
Lnet/minecraft/class_7891;method_46799(Lnet/minecraft/class_5321;)Lnet/minecraft/class_7871;
named getRegistryLookup
Lnet/minecraft/registry/Registerable;getRegistryLookup(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/RegistryEntryLookup;
-