diff --git a/src/main/java/dev/dubhe/anvilcraft/api/itemhandler/FilteredItemStackHandler.java b/src/main/java/dev/dubhe/anvilcraft/api/itemhandler/FilteredItemStackHandler.java index c0757e6e1..191a07a1c 100644 --- a/src/main/java/dev/dubhe/anvilcraft/api/itemhandler/FilteredItemStackHandler.java +++ b/src/main/java/dev/dubhe/anvilcraft/api/itemhandler/FilteredItemStackHandler.java @@ -141,11 +141,11 @@ public boolean cycleDisabled(int slot) { } /** - * 判断指定槽位是否允许放入指定物品堆栈 + * 判断指定槽位是否允许放入指定物品堆叠 * * @param slot 槽位 - * @param stack 物品堆栈 - * @return 指定槽位是否允许放入指定物品堆栈 + * @param stack 物品堆叠 + * @return 指定槽位是否允许放入指定物品堆叠 */ public boolean isFiltered(int slot, ItemStack stack) { ItemStack filter = this.filteredItems.get(slot); @@ -156,7 +156,7 @@ public boolean isFiltered(int slot, ItemStack stack) { * 设置指定槽位的过滤 * * @param slot 槽位 - * @param stack 过滤物品堆栈(不检查NBT) + * @param stack 过滤物品堆叠(不检查NBT) */ public boolean setFilter(int slot, @NotNull ItemStack stack) { if (slot < 0 || slot >= this.filteredItems.size()) return false; diff --git a/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/IFilterScreen.java b/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/IFilterScreen.java index 949522be1..0ebbf32ad 100644 --- a/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/IFilterScreen.java +++ b/src/main/java/dev/dubhe/anvilcraft/client/gui/screen/IFilterScreen.java @@ -143,7 +143,7 @@ default void renderDisabledSlot(@NotNull GuiGraphics guiGraphics, @NotNull Slot * * @param guiGraphics 画布 * @param slot 槽位 - * @param stack 物品堆栈 + * @param stack 物品堆叠 */ default void renderFilterItem(@NotNull GuiGraphics guiGraphics, @NotNull Slot slot, @NotNull ItemStack stack) { int i = slot.x;