mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 06:25:12 +00:00
A lot of GOOD API DOCUMENTATION
This commit is contained in:
1 parent
a6c55ca331
commit
319e774518
131 files changed
+3363
-175
No files matched your search
@@ -5,16 +5,22 @@ import net.minecraft.item.ItemStack;
|
||||
public interface IAnvilRecipe {
|
||||
/**
|
||||
* Returns the unique name of this anvil recipe.
|
||||
*
|
||||
* @return the recipe name
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* The XP cost per repair tick (e.g., 10 levels per tick).
|
||||
*
|
||||
* @return the experience level cost
|
||||
*/
|
||||
int getXpCost();
|
||||
|
||||
/**
|
||||
* The repair percentage (e.g., 0.1f repairs 10% of max damage per tick).
|
||||
*
|
||||
* @return the repair percentage (0.0 to 1.0)
|
||||
*/
|
||||
float getRepairPercentage();
|
||||
|
||||
|
||||
Reference in new issue
Block a user