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) |
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 IDataFixer
process
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 DataFixer
public void registerVanillaWalker(IFixType type, IDataWalker walker)
registerVanillaWalker
in class DataFixer
public 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)