Skip to content

feat: add fuel amount setting in AutoSmelter #5383

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 5 commits into
base: master
Choose a base branch
from

Conversation

uxmlen
Copy link

@uxmlen uxmlen commented May 6, 2025

Type of change

  • Bug fix
  • New feature

Description

Added an option in AutoSmelter.java to specify the amount of fuel to be loaded at a once into each furnace.

Implemented support for moving partial stacks by using InvUtils.move(count) to transfer the precise amount

Related issues

#5295

How Has This Been Tested?

2025-05-06.23-27-22.mp4

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

uxmlen added 3 commits May 6, 2025 23:12
1. Renamed methods `fuelItemFilter` and `smeltableItemFilter` to `isFuelItem` and `isSmeltableItem` for clarity.
2. Extract repetitive logic into reusable method
@machiecodes
Copy link
Contributor

Untitled67_20250507090056

@ghost
Copy link

ghost commented May 14, 2025

0:18 18 instead of 46 xd

@uxmlen
Copy link
Author

uxmlen commented May 15, 2025

@biluqxv without modifications, the behaviour will be the same

if the slot are not full, the module will not merge them to get a full (64) one

it will take as many as there are

@ghost
Copy link

ghost commented May 15, 2025

no, i want my 46 coals in every fricking furnace no matter what 😡😡😡

yeah i know, im joking xd

uxmlen added 2 commits May 16, 2025 16:45
Added a "smart fuel usage" option to the AutoSmelter module. When enabled, the module calculates the exact amount of fuel needed to smelt the available items, based on the efficiency of the selected fuel type. This prevents wasting fuel and ensures optimal usage. The setting can be toggled in the module's configuration.

MeteorDevelopment#5170
@uxmlen
Copy link
Author

uxmlen commented May 16, 2025

@biluqxv done :) thank you for comment

2025-05-16.17-13-45.mp4

And added smart fuel usage setting:

2025-05-16.17-20-08.mp4

When enabled, the module calculates the exact amount of fuel needed to smelt the available items, based on the efficiency of the selected fuel type

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