mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-11 15:57:31 +00:00
39 lines
911 B
Java
39 lines
911 B
Java
package com.cricketcraft.chisel.api.carving;
|
|
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.item.Item;
|
|
|
|
/**
|
|
* Represents a variation of a chiselable block.
|
|
*/
|
|
public interface ICarvingVariation {
|
|
|
|
/**
|
|
* The base block of this variation.
|
|
*
|
|
* @return A {@link Block} that is the base of this variation
|
|
*/
|
|
Block getBlock();
|
|
|
|
/**
|
|
* The metadata of this variation
|
|
*
|
|
* @return An int representing the metadata of this variation's {@link Block} in the world.
|
|
*/
|
|
int getBlockMeta();
|
|
|
|
/**
|
|
* The item metadata of this variation
|
|
*
|
|
* @return An int representing the metadata of this variations's {@link Item}.
|
|
*/
|
|
int getItemMeta();
|
|
|
|
/**
|
|
* The "order" of this variation. Represents its position in the list of variations held by a group.
|
|
*
|
|
* @return An integer to represent the position of this variation in the list of all variations in the group
|
|
*/
|
|
int getOrder();
|
|
}
|