2015-01-21 14:02:47 -05:00
|
|
|
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.
|
|
|
|
|
*/
|
2015-01-21 14:02:47 -05:00
|
|
|
void chiselAll(EntityPlayer player, World world, int x, int y, int z, ForgeDirection side,
|
2023-08-18 03:10:44 -05:00
|
|
|
ICarvingVariation variation);
|
2015-01-21 14:02:47 -05:00
|
|
|
|
|
|
|
|
/**
|
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.
|
2015-01-21 14:02:47 -05:00
|
|
|
*
|
|
|
|
|
* @return The name of the mode.
|
|
|
|
|
*/
|
|
|
|
|
String name();
|
|
|
|
|
}
|