Merge pull request #12575 from cubemike99/add_clean_swap
menu entry swapper: add clean swap
This commit is contained in:
@@ -133,6 +133,17 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "swapHerbs",
|
||||||
|
name = "Clean",
|
||||||
|
description = "Swap Clean with Use on Herbs",
|
||||||
|
section = itemSection
|
||||||
|
)
|
||||||
|
default boolean swapHerbs()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "swapContract",
|
keyName = "swapContract",
|
||||||
name = "Contract",
|
name = "Contract",
|
||||||
|
|||||||
@@ -325,6 +325,8 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
|
|
||||||
swap("bury", "use", config::swapBones);
|
swap("bury", "use", config::swapBones);
|
||||||
|
|
||||||
|
swap("clean", "use", config::swapHerbs);
|
||||||
|
|
||||||
swap("collect-note", "collect-item", () -> config.swapGEItemCollect() == GEItemCollectMode.ITEMS);
|
swap("collect-note", "collect-item", () -> config.swapGEItemCollect() == GEItemCollectMode.ITEMS);
|
||||||
swap("collect-notes", "collect-items", () -> config.swapGEItemCollect() == GEItemCollectMode.ITEMS);
|
swap("collect-notes", "collect-items", () -> config.swapGEItemCollect() == GEItemCollectMode.ITEMS);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user