@@ -620,7 +620,44 @@ default void setGui(char key, Gui gui, int offsetX, int offsetY) {
620620
621621 /**
622622 * Notifies all {@link Window Windows} that display the slots associated with
623- * the given key(s) through a {@link Structure} to update their
623+ * the given key through a {@link Structure} to update their
624+ * representative {@link ItemStack ItemStacks}.
625+ * <p>
626+ * Note that this does not notify the ingredient that was initially associated with the
627+ * given key through the structure (if any), but instead just notifies the {@link Window Windows}
628+ * displaying the affected slots of this {@link Gui}.
629+ * <p>
630+ * Can be called asynchronously.
631+ *
632+ * @param key The key of the slot elements to notify.
633+ * @see #applyStructure(Structure)
634+ */
635+ default void notifyWindows (char key ) {
636+ notifyWindows (key , new char [0 ]);
637+ }
638+
639+ /**
640+ * Notifies all {@link Window Windows} that display the slots associated with
641+ * the given keys through a {@link Structure} to update their
642+ * representative {@link ItemStack ItemStacks}.
643+ * <p>
644+ * Note that this does not notify the ingredient that was initially associated with the
645+ * given key through the structure (if any), but instead just notifies the {@link Window Windows}
646+ * displaying the affected slots of this {@link Gui}.
647+ * <p>
648+ * Can be called asynchronously.
649+ *
650+ * @param key1 The first key of the slot elements to notify.
651+ * @param key2 The second key of the slot elements to notify.
652+ * @see #applyStructure(Structure)
653+ */
654+ default void notifyWindows (char key1 , char key2 ) {
655+ notifyWindows (key1 , new char [] {key2 });
656+ }
657+
658+ /**
659+ * Notifies all {@link Window Windows} that display the slots associated with
660+ * the given keys through a {@link Structure} to update their
624661 * representative {@link ItemStack ItemStacks}.
625662 * <p>
626663 * Note that this does not notify the ingredient that was initially associated with the
0 commit comments