aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/tileentity/IDebugableTileEntity.java
blob: 5208944d66004be12160465c1b505fa8d91df270 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package gregtech.api.interfaces.tileentity;

import java.util.ArrayList;

import net.minecraft.entity.player.EntityPlayer;

public interface IDebugableTileEntity {

    /**
     * Returns a Debug Message, for a generic DebugItem
     *
     * @param aPlayer   the Player, who rightclicked with his Debug Item
     * @param aLogLevel the Log Level of the Debug Item. 0 = Obvious 1 = Visible for the regular Scanner 2 = Only
     *                  visible to more advanced Scanners 3 = Debug ONLY
     * @return a String-Array containing the DebugInfo, every Index is a separate line (0 = first Line)
     */
    ArrayList<String> getDebugInfo(EntityPlayer aPlayer, int aLogLevel);
}