public class CompoundDataFixer extends DataFixer
| Constructor and Description |
|---|
CompoundDataFixer(DataFixer vanilla) |
| Modifier and Type | Method and Description |
|---|---|
ModFixs |
init(java.lang.String modid,
int version)
Initialize your mod specific data fixer.
|
NBTTagCompound |
process(IFixType type,
NBTTagCompound nbt) |
NBTTagCompound |
process(IFixType type,
NBTTagCompound nbt,
int mcversion)
Deprecated.
|
void |
registerFix(IFixType type,
IFixableData fixable)
Deprecated.
|
void |
registerVanillaWalker(IFixType type,
IDataWalker walker)
Do not invoke this method, use registerWalker instead.
|
void |
registerWalker(FixTypes type,
IDataWalker walker)
Deprecated.
|
void |
writeVersionData(NBTTagCompound nbt) |
public CompoundDataFixer(DataFixer vanilla)
public NBTTagCompound process(IFixType type, NBTTagCompound nbt)
@Deprecated public NBTTagCompound process(IFixType type, NBTTagCompound nbt, int mcversion)
process in interface IDataFixerprocess in class DataFixer@Deprecated public void registerFix(IFixType type, IFixableData fixable)
registerFix in class DataFixer@Deprecated public void registerWalker(FixTypes type, IDataWalker walker)
registerWalker in class DataFixerpublic void registerVanillaWalker(IFixType type, IDataWalker walker)
registerVanillaWalker in class DataFixerpublic ModFixs init(java.lang.String modid, int version)
modid - You mod id, must be lower case.version - The current data version of your modpublic void writeVersionData(NBTTagCompound nbt)