net.minecraft.core

public class DefaultedRegistry<T>

extends MappedRegistry<T>

All mapped superinterfaces:

IdMap

fa
net.minecraft.core.DefaultedRegistry
net.minecraft.class_2348
net.minecraft.util.registry.DefaultedRegistry
net.minecraft.util.registry.DefaultedRegistry
net.minecraft.server.v1_14_R1.RegistryBlocks

Field summary

Modifier and TypeField
private final ResourceLocation
R
defaultKey
field_11014
defaultId
field_148760_d
private T
S
defaultValue
field_11015
defaultValue
field_148761_e

Constructor summary

ModifierConstructor
public (String defaultId)

Method summary

Modifier and TypeMethod
public <V extends T> V
a(int arg0, qv arg1, V arg2)
registerMapping(int arg0, ResourceLocation arg1, V arg2)
method_10273(int arg0, class_2960 arg1, V arg2)
set(int arg0, Identifier arg1, V arg2)
func_218382_a(int arg0, ResourceLocation arg1, V arg2)
public int
a(T arg0)
getId(T arg0)
method_10249(T arg0)
getRawId(T arg0)
func_148757_b(T arg0)
public ResourceLocation
b(T arg0)
getKey(T arg0)
method_10221(T arg0)
getId(T arg0)
func_177774_c(T arg0)
getKey(T arg0)
public T
a(qv arg0)
get(ResourceLocation arg0)
method_10223(class_2960 arg0)
get(Identifier arg0)
func_82594_a(ResourceLocation arg0)
get(MinecraftKey arg0)
public T
a(int arg0)
byId(int arg0)
method_10200(int arg0)
get(int arg0)
func_148745_a(int arg0)
fromId(int arg0)
public T
a(Random arg0)
getRandom(Random arg0)
method_10240(Random arg0)
getRandom(Random arg0)
func_186801_a(Random arg0)
public ResourceLocation
a()
getDefaultKey()
method_10137()
getDefaultId()
func_212609_b()