mouse-wheelie icon indicating copy to clipboard operation
mouse-wheelie copied to clipboard

[feature request] Better refill configurability

Open Arcensoth opened this issue 5 years ago • 4 comments

Version 1.2.2+1.14.2 (latest) Describe the bug Auto-refill uses different block type if none of the used block type remain. (e.g. running out of stone will auto-fill with logs; placing a shulker box will auto-refill the slot with crafting tables or whatever else is in the inventory.)

To Reproduce

  1. Place the last block of a type in your inventory, with some of another block type remaining.
  2. The empty slot will be filled with the other type of block.

Expected behavior Expected the slot to remain empty instead of being filled with a different type of block. In cases where the item/block max stack is 1 (e.g. shulker box), expected the slot to remain empty as well. However this behaviour may be desirable in circumstances so the ideal solution might be to make it configurable.

Log N/A

Additional context Suggested change is to add add configs for "auto-fill with other item/block types" as well as "auto-fill unstackable items/blocks" which would allow users to choose the behaviour they prefer.

Arcensoth avatar Jun 07 '19 19:06 Arcensoth

I think I'll implement this as config options and consider this as "enhancement".

Siphalor avatar Jun 07 '19 19:06 Siphalor

I implemented a more detailed configuration for this. If you want it not to refill with other blocks you may want to disable the following refill rules: Any block, blocks with similar functionality and refill by item groups.

Siphalor avatar Jun 09 '19 07:06 Siphalor

I've the same error, and your mod create config file in ".hjson" not ".json" maybe this is the problem. I've try to rename config file, but no change, your mod don't want config file :S

tobe-continued avatar Jul 09 '19 16:07 tobe-continued

@Tobe-Continued

I've the same error, and your mod create config file in ".hjson" not ".json" maybe this is the problem. I've try to rename config file, but no change, your mod don't want config file :S

The hjson file extension is correct since those are a special kind of json files. This issue doesn't relate to config load problems but extending the configuration possibilities for auto-fill.

For issues with config files please open issues here.

Siphalor avatar Jul 21 '19 18:07 Siphalor