Files
Chisel/src/main/java/com/cricketcraft/chisel/api/carving/IChiselMode.java
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
703 B
Java
Raw Normal View History

package com.cricketcraft.chisel.api.carving;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
public interface IChiselMode {
2015-05-29 15:52:03 -04:00
/**
* NOTE: This method is responsible for increasing the "Blocks Chiseled" statistic found in the Statistics class.
*/
void chiselAll(EntityPlayer player, World world, int x, int y, int z, ForgeDirection side,
ICarvingVariation variation);
/**
2015-05-29 15:52:03 -04:00
* Implemented implicitly by enums. If your IChiselMode is not an enum constant, this needs to be implemented
* explicitly.
*
* @return The name of the mode.
*/
String name();
}