mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-25 22:34:35 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
6b208b98bc
commit
a309488cdf
214 files changed
+9283
-9265
No files matched your search
@@ -5,14 +5,14 @@ import minetweaker.api.player.IPlayer;
|
||||
import stanhebben.zenscript.annotations.*;
|
||||
|
||||
/**
|
||||
* Crafting inventory interface. The crafting inventory is the 2x2 grid in the
|
||||
* player inventory or the 3x3 grid in the crafting bench.
|
||||
* Crafting inventory interface. The crafting inventory is the 2x2 grid in the player inventory or the 3x3 grid in the
|
||||
* crafting bench.
|
||||
*
|
||||
* @author Stan Hebben
|
||||
*/
|
||||
@ZenClass("minetweaker.recipes.ICraftingInventory")
|
||||
public interface ICraftingInventory {
|
||||
|
||||
|
||||
/**
|
||||
* Gets the player owning this inventory.
|
||||
*
|
||||
@@ -20,7 +20,7 @@ public interface ICraftingInventory {
|
||||
*/
|
||||
@ZenGetter("player")
|
||||
IPlayer getPlayer();
|
||||
|
||||
|
||||
/**
|
||||
* Gets the size of this inventory.
|
||||
*
|
||||
@@ -28,7 +28,7 @@ public interface ICraftingInventory {
|
||||
*/
|
||||
@ZenGetter("size")
|
||||
int getSize();
|
||||
|
||||
|
||||
/**
|
||||
* Gets the width of this inventory.
|
||||
*
|
||||
@@ -36,7 +36,7 @@ public interface ICraftingInventory {
|
||||
*/
|
||||
@ZenGetter("width")
|
||||
int getWidth();
|
||||
|
||||
|
||||
/**
|
||||
* Gets the height of this inventory.
|
||||
*
|
||||
@@ -44,7 +44,7 @@ public interface ICraftingInventory {
|
||||
*/
|
||||
@ZenGetter("height")
|
||||
int getHeight();
|
||||
|
||||
|
||||
/**
|
||||
* Gets the number of stacks that are actually filled in.
|
||||
*
|
||||
@@ -52,7 +52,7 @@ public interface ICraftingInventory {
|
||||
*/
|
||||
@ZenGetter("stackCount")
|
||||
int getStackCount();
|
||||
|
||||
|
||||
/**
|
||||
* Gets the stack at the given location.
|
||||
*
|
||||
@@ -62,10 +62,9 @@ public interface ICraftingInventory {
|
||||
*/
|
||||
@ZenMethod
|
||||
IItemStack getStack(int i);
|
||||
|
||||
|
||||
/**
|
||||
* Gets the stack at the given position. The top left stack is position (0,
|
||||
* 0).
|
||||
* Gets the stack at the given position. The top left stack is position (0, 0).
|
||||
*
|
||||
* @param x stack x position
|
||||
* @param y stack y position
|
||||
@@ -74,25 +73,22 @@ public interface ICraftingInventory {
|
||||
*/
|
||||
@ZenMethod
|
||||
IItemStack getStack(int x, int y);
|
||||
|
||||
|
||||
/**
|
||||
* Sets the stack at the given position. The top left stack is position (0,
|
||||
* 0).
|
||||
* Sets the stack at the given position. The top left stack is position (0, 0).
|
||||
*
|
||||
* @param x stack x position
|
||||
* @param y stack y position
|
||||
* @param stack item stack to be set, or null to clear the stack at that
|
||||
* position
|
||||
* @param stack item stack to be set, or null to clear the stack at that position
|
||||
*/
|
||||
@ZenMethod
|
||||
void setStack(int x, int y, IItemStack stack);
|
||||
|
||||
|
||||
/**
|
||||
* Sets the stack at the given index.
|
||||
*
|
||||
* @param i stack index
|
||||
* @param stack item stack to be set, or null to clear the stack at that
|
||||
* index
|
||||
* @param stack item stack to be set, or null to clear the stack at that index
|
||||
*/
|
||||
@ZenMethod
|
||||
void setStack(int i, IItemStack stack);
|
||||
|
||||
Reference in new issue
Block a user