mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-25 06:34:35 +00:00
21 lines
654 B
Java
21 lines
654 B
Java
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 {
|
|
|
|
/**
|
|
* 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);
|
|
|
|
/**
|
|
* 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();
|
|
}
|