public class DataFixerFactory
extends java.lang.Object
implements net.minecraft.util.datafix.IFixableData
| Constructor and Description |
|---|
DataFixerFactory(int version,
java.util.function.Function<net.minecraft.nbt.NBTTagCompound,net.minecraft.nbt.NBTTagCompound> function) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.nbt.NBTTagCompound |
fixTagCompound(net.minecraft.nbt.NBTTagCompound compound) |
int |
getFixVersion() |
public DataFixerFactory(int version,
java.util.function.Function<net.minecraft.nbt.NBTTagCompound,net.minecraft.nbt.NBTTagCompound> function)
public int getFixVersion()
getFixVersion in interface net.minecraft.util.datafix.IFixableDatapublic net.minecraft.nbt.NBTTagCompound fixTagCompound(net.minecraft.nbt.NBTTagCompound compound)
fixTagCompound in interface net.minecraft.util.datafix.IFixableData