Add docs to IWrenchable

This commit is contained in:
Raoul Van den Berge
2016-11-01 20:48:04 +01:00
parent 99ddd24f8a
commit e0a0f61606

View File

@@ -2,8 +2,22 @@ package com.raoulvdberge.refinedstorage.api.util;
import net.minecraft.nbt.NBTTagCompound;
/**
* Implement this on a tile that is wrenchable.
*/
public interface IWrenchable {
/**
* Writes the configuration of this tile to the wrench.
*
* @param tag the tag to write to
* @return the written tag
*/
NBTTagCompound writeConfiguration(NBTTagCompound tag);
/**
* Reads the configurration of this tile from the wrench.
*
* @param tag the tag to read
*/
void readConfiguration(NBTTagCompound tag);
}