net.minecraft.core

public abstract class WritableRegistry<T>

extends Registry<T>

All mapped superinterfaces:

IdMap

hc
net.minecraft.core.WritableRegistry
net.minecraft.class_2385
net.minecraft.unmapped.C_eexxncvi
net.minecraft.util.registry.MutableRegistry
net.minecraft.src.C_4714_
net.minecraft.core.IRegistryWritable

Constructor summary

ModifierConstructor
public (ResourceKey<? extends Registry<T>> p_123347_, com.mojang.serialization.Lifecycle arg1)

Method summary

Modifier and TypeMethod
public abstract <V extends T> V
a(int arg0, wv<T> arg1, V arg2, com.mojang.serialization.Lifecycle arg3)
registerMapping(int arg0, ResourceKey<T> arg1, V arg2, com.mojang.serialization.Lifecycle arg3)
method_10273(int arg0, class_5321<T> arg1, V arg2, com.mojang.serialization.Lifecycle arg3)
m_klxbakqc(int arg0, C_xhhleach<T> arg1, V arg2, com.mojang.serialization.Lifecycle arg3)
set(int rawId, RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle)
m_5748_(int p_123349_, C_5264_<T> p_123350_, V p_123351_, com.mojang.serialization.Lifecycle arg3)
public abstract <V extends T> V
a(wv<T> arg0, V arg1, com.mojang.serialization.Lifecycle arg2)
register(ResourceKey<T> arg0, V arg1, com.mojang.serialization.Lifecycle arg2)
method_10272(class_5321<T> arg0, V arg1, com.mojang.serialization.Lifecycle arg2)
m_yomgwjob(C_xhhleach<T> arg0, V arg1, com.mojang.serialization.Lifecycle arg2)
add(RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle)
m_7135_(C_5264_<T> p_123357_, V p_123358_, com.mojang.serialization.Lifecycle arg2)
public abstract <V extends T> V
a(OptionalInt arg0, wv<T> arg1, V arg2, com.mojang.serialization.Lifecycle arg3)
registerOrOverride(OptionalInt arg0, ResourceKey<T> arg1, V arg2, com.mojang.serialization.Lifecycle arg3)
method_31062(OptionalInt arg0, class_5321<T> arg1, V arg2, com.mojang.serialization.Lifecycle arg3)
m_gppyulpm(OptionalInt arg0, C_xhhleach<T> arg1, V arg2, com.mojang.serialization.Lifecycle arg3)
replace(OptionalInt rawId, RegistryKey<T> key, V newEntry, com.mojang.serialization.Lifecycle lifecycle)
m_7794_(OptionalInt p_123353_, C_5264_<T> p_123354_, V p_123355_, com.mojang.serialization.Lifecycle arg3)
public abstract boolean
e()
isEmpty()
method_35863()
m_uapzeinx()
isEmpty()
m_142427_()