28 lines
737 B
Java
28 lines
737 B
Java
package net.minecraft.util.datafix;
|
|
|
|
import net.minecraft.util.datafix.fixes.References;
|
|
import com.mojang.datafixers.DSL;
|
|
|
|
public enum DataFixTypes {
|
|
LEVEL(References.LEVEL),
|
|
PLAYER(References.PLAYER),
|
|
CHUNK(References.CHUNK),
|
|
HOTBAR(References.HOTBAR),
|
|
OPTIONS(References.OPTIONS),
|
|
STRUCTURE(References.STRUCTURE),
|
|
STATS(References.STATS),
|
|
SAVED_DATA(References.SAVED_DATA),
|
|
ADVANCEMENTS(References.ADVANCEMENTS),
|
|
POI_CHUNK(References.POI_CHUNK);
|
|
|
|
private final DSL.TypeReference type;
|
|
|
|
private DataFixTypes(final DSL.TypeReference typeReference) {
|
|
this.type = typeReference;
|
|
}
|
|
|
|
public DSL.TypeReference getType() {
|
|
return this.type;
|
|
}
|
|
}
|