Skip to content

add features and fix item warning#62

Open
eygwi wants to merge 3 commits intoNCBPFluffyBear:1.21.x-supportfrom
eygwi:1.21.x-support
Open

add features and fix item warning#62
eygwi wants to merge 3 commits intoNCBPFluffyBear:1.21.x-supportfrom
eygwi:1.21.x-support

Conversation

@eygwi
Copy link

@eygwi eygwi commented Dec 22, 2025

Summary

This PR refactors the Generator and Machine system to support Tiers and dynamic Lore. Additionally, it fixes the "Illegal Stack Size" console warnings caused by custom items in SlimeCustomizer.

Changes

2025-12-22_20 48 56 2025-12-22_20 48 52

1. Generator System

  • Added: Tier system and dynamic Lore generation based on config.

2. Machine System

  • Added: Tier system, speed sytem and dynamic Lore generation based on config.

3. Bug Fixes (SlimeCustomizer)

  • Fixed: "Illegal Stack Size" warning in console (e.g., for BAMBOO_STRING).
  • Technical Detail: Modified NPCustomSCItem.java and CustomSCItem.java to force the base item stack size to 1 during registration, while preserving the original amount in the recipe output via cloning.

4. Fix category GUI crash and implement pagination

  • Fixed IndexOutOfBoundsException when opening /slimecustomizer categories with many Slimefun addons installed.
  • Replaced the static single-page GUI with a paginated system to support unlimited categories.

Related Issues

Testing

  • Verified that Generators and Machine now correctly display Tiers and Lore.
  • Verified that console warnings for custom items with amount > 1 are gone.
  • Confirmed that crafting recipes still output the correct amount (e.g., 6 items).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant