Skip to content

Commit 80cdbb1

Browse files
committed
Reword IRecipeTransferReceiver javadoc
1 parent 79403b7 commit 80cdbb1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/main/java/gregtech/api/mui/IRecipeTransferReceiver.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ public interface IRecipeTransferReceiver {
3232
* A factory for default {@link IRecipeTransferError}s is available at {@link JustEnoughItemsModule#transferHelper}.
3333
* There are three default options for errors: <br/>
3434
* - {@link IRecipeTransferHandlerHelper#createInternalError()}: mark the recipe as invalid for transferring by
35-
* graying out the + button. If there are multiple registered recipe transfer receivers on the same panel, returning
36-
* an internal error will skip this receiver and try the others. <br/>
35+
* graying out the + button. <br/>
3736
* - {@link IRecipeTransferHandlerHelper#createUserErrorWithTooltip(String)}: the same as above, but also display a
3837
* message when hovering over the + button. <br/>
3938
* - {@link IRecipeTransferHandlerHelper#createUserErrorForSlots(String, Collection)}: the same as above, but
@@ -44,7 +43,9 @@ public interface IRecipeTransferReceiver {
4443
* @param maxTransfer if the receiver should try to move as many ingredients as possible to the crafting slots, ie
4544
* a crafting table.
4645
* @param simulate if this recipe should only simulate being transferred
47-
* @return {@code null} if the transfer should succeed or a {@link IRecipeTransferError} if not.
46+
* @return {@code null} if the transfer should succeed or an {@link IRecipeTransferError} if not. If there are
47+
* multiple registered recipe transfer receivers on the same panel, returning an error with type
48+
* {@link IRecipeTransferError.Type#INTERNAL} will skip this and attempt the next one.
4849
*/
4950
@Nullable
5051
@SideOnly(Side.CLIENT)

0 commit comments

Comments
 (0)