com.mojang.datafixers.schemas

public class Schema

com.mojang.datafixers.schemas.Schema

Field summary

Modifier and TypeField
protected final it.unimi.dsi.fastutil.objects.Object2IntMap<String>
RECURSIVE_TYPES
private final Map<String, Supplier<TypeTemplate>>
TYPE_TEMPLATES
private final Map<String, Type<?>>
TYPES
private final int
versionKey
private final String
name
protected final Schema
parent

Constructor summary

ModifierConstructor
public (int arg0, Schema arg1)

Method summary

Modifier and TypeMethod
protected Map<String, Type<?>>
buildTypes()
public Set<String>
types()
public Type<?>
getTypeRaw(DSL$TypeReference arg0)
public Type<?>
getType(DSL$TypeReference arg0)
public TypeTemplate
resolveTemplate(String arg0)
public TypeTemplate
id(String arg0)
protected TypeTemplate
getTemplate(String arg0)
public Type<?>
getChoiceType(DSL$TypeReference arg0, String arg1)
public TaggedChoice$TaggedChoiceType<?>
findChoiceType(DSL$TypeReference arg0)
public void
registerTypes(Schema arg0, Map<String, Supplier<TypeTemplate>> arg1, Map<String, Supplier<TypeTemplate>> arg2)
public Map<String, Supplier<TypeTemplate>>
registerEntities(Schema arg0)
public Map<String, Supplier<TypeTemplate>>
registerBlockEntities(Schema arg0)
public void
registerSimple(Map<String, Supplier<TypeTemplate>> arg0, String arg1)
public void
register(Map<String, Supplier<TypeTemplate>> arg0, String arg1, Function<String, TypeTemplate> arg2)
public void
register(Map<String, Supplier<TypeTemplate>> arg0, String arg1, Supplier<TypeTemplate> arg2)
public void
registerType(boolean arg0, DSL$TypeReference arg1, Supplier<TypeTemplate> arg2)
public int
getVersionKey()
public Schema
getParent()