-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
489 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package mezz.jei.api.gui; | ||
|
||
import javax.annotation.Nonnull; | ||
|
||
import net.minecraftforge.fluids.FluidStack; | ||
|
||
/** | ||
* IGuiFluidTanks displays FluidStack Tanks in a gui. | ||
* | ||
* If multiple FluidStacks are set, they will be displayed in rotation. | ||
*/ | ||
public interface IGuiFluidTanks { | ||
|
||
/** | ||
* Fluid tanks must be initialized once, and then can be set many times. | ||
*/ | ||
void init(int index, int xPosition, int yPosition, int capacityMb); | ||
|
||
void set(int index, @Nonnull Iterable<FluidStack> fluidStacks); | ||
|
||
void set(int index, @Nonnull FluidStack fluidStacks); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
package mezz.jei.api.gui; | ||
|
||
import javax.annotation.Nonnull; | ||
import java.util.Collection; | ||
|
||
import net.minecraft.item.ItemStack; | ||
|
||
/** | ||
* IGuiItemStacks displays ItemStacks in a gui. | ||
* | ||
* Multiple ItemStacks will be displayed in rotation. | ||
* If multiple ItemStacks are set, they will be displayed in rotation. | ||
* ItemStacks with subtypes and wildcard metadata will be displayed as multiple ItemStacks. | ||
*/ | ||
public interface IGuiItemStacks { | ||
|
||
/** | ||
* ItemStacks must be initialized once, and then can be set many times. | ||
*/ | ||
void initItemStack(int index, int xPosition, int yPosition); | ||
void init(int index, int xPosition, int yPosition); | ||
|
||
void setItemStack(int index, @Nonnull Iterable<ItemStack> itemStacks); | ||
void set(int index, @Nonnull Collection<ItemStack> itemStacks); | ||
|
||
void setItemStack(int index, @Nonnull ItemStack itemStack); | ||
void set(int index, @Nonnull ItemStack itemStack); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@API(apiVersion = "21.1.0", owner = "JEI", provides = "JustEnoughItemsAPI") | ||
@API(apiVersion = "22.0.0", owner = "JEI", provides = "JustEnoughItemsAPI") | ||
package mezz.jei.api; | ||
|
||
import net.minecraftforge.fml.common.API; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.