net.minecraft.core

public abstract class WritableRegistry<T>

extends Registry<T>

All mapped superinterfaces:

IdMap

gs
net.minecraft.core.WritableRegistry
net.minecraft.class_2385
net.minecraft.unmapped.C_eexxncvi
net.minecraft.util.registry.MutableRegistry
net.minecraft.util.registry.MutableRegistry
net.minecraft.server.v1_16_R2.IRegistryWritable

Constructor summary

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

Method summary

Modifier and TypeMethod
public abstract <V extends T> V
a(int arg0, vj<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 arg3)
func_218382_a(int arg0, RegistryKey<T> arg1, V arg2, com.mojang.serialization.Lifecycle arg3)
public abstract <V extends T> V
a(vj<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)
func_218381_a(RegistryKey<T> arg0, V arg1, com.mojang.serialization.Lifecycle arg2)
public abstract <V extends T> V
a(OptionalInt arg0, vj<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 arg3)
func_241874_a(OptionalInt arg0, RegistryKey<T> arg1, V arg2, com.mojang.serialization.Lifecycle arg3)