net.minecraft.core

public abstract class WritableRegistry<T>

extends Registry<T>

All mapped superinterfaces:

IdMap

ht
net.minecraft.core.WritableRegistry
net.minecraft.class_2385
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 Holder<T>
a(int arg0, aai<T> arg1, T arg2, com.mojang.serialization.Lifecycle arg3)
registerMapping(int arg0, ResourceKey<T> arg1, T arg2, com.mojang.serialization.Lifecycle arg3)
method_10273(int arg0, class_5321<T> arg1, T arg2, com.mojang.serialization.Lifecycle arg3)
set(int rawId, RegistryKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle)
m_203704_(int p_206369_, C_5264_<T> p_206370_, T p_206371_, com.mojang.serialization.Lifecycle arg3)
public abstract Holder<T>
a(aai<T> arg0, T arg1, com.mojang.serialization.Lifecycle arg2)
register(ResourceKey<T> arg0, T arg1, com.mojang.serialization.Lifecycle arg2)
method_10272(class_5321<T> arg0, T arg1, com.mojang.serialization.Lifecycle arg2)
add(RegistryKey<T> key, T entry, com.mojang.serialization.Lifecycle lifecycle)
m_203505_(C_5264_<T> p_206377_, T p_206378_, com.mojang.serialization.Lifecycle arg2)
public abstract Holder<T>
a(OptionalInt arg0, aai<T> arg1, T arg2, com.mojang.serialization.Lifecycle arg3)
registerOrOverride(OptionalInt arg0, ResourceKey<T> arg1, T arg2, com.mojang.serialization.Lifecycle arg3)
method_31062(OptionalInt arg0, class_5321<T> arg1, T arg2, com.mojang.serialization.Lifecycle arg3)
replace(OptionalInt rawId, RegistryKey<T> key, T newEntry, com.mojang.serialization.Lifecycle lifecycle)
m_203384_(OptionalInt p_206373_, C_5264_<T> p_206374_, T p_206375_, com.mojang.serialization.Lifecycle arg3)
public abstract boolean
j()
isEmpty()
method_35863()
isEmpty()
m_142427_()