Skip to content

Determine smeltable items dynamically (for pipes inputting items into furnaces) #1349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ANRAR4
Copy link
Contributor

@ANRAR4 ANRAR4 commented Mar 30, 2025

As previously suggested in #1344 the changes replace the switch case statements for determining items smeltable and cookable inside a furnace, which are used to check if an item can be put inside a furnace, with comparisons to lists of the available smelting/cooking/blastsmelting recipes, as the hardcoded lists tend to be outdated.

@me4502
Copy link
Member

me4502 commented Apr 26, 2025

This PR currently deadlocks my test server during startup. That would need to be fixed before this can be considered.

@ANRAR4
Copy link
Contributor Author

ANRAR4 commented Apr 26, 2025

During my testing I didn't encounter any problems
What configuration etc. does your server use?

@me4502
Copy link
Member

me4502 commented Apr 26, 2025

Firstly, I rebased this on top of current master. Then I ran it on a default-settings Paper server with the 1.21.5 build number 36. The only plugins installed were WorldEdit, WorldGuard, LuckPerms, Vault, and this built PR of CraftBook.

What specifically happens is the server stops responding, and starts consuming all available memory (32GB, in this case). It then ends up stalled in GC threads, preventing even the watchdog from killing the server due to the stall.

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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy