ConfigObject.java 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * Roughly Enough Items by Danielshe.
  3. * Licensed under the MIT License.
  4. */
  5. package me.shedaniel.rei.client;
  6. import blue.endless.jankson.Comment;
  7. import me.shedaniel.rei.api.ItemCheatingMode;
  8. import me.shedaniel.rei.api.RelativePoint;
  9. public class ConfigObject {
  10. public boolean cheating = false;
  11. @Comment("The ordering of the items on the item panel.")
  12. public ItemListOrdering itemListOrdering = ItemListOrdering.registry;
  13. @Comment("The ordering of the items on the item panel.") public boolean isAscending = true;
  14. @Comment("To toggle the craftable button next to the search field.")
  15. public boolean enableCraftableOnlyButton = true;
  16. @Comment("True: search field will be on the side (left / right), false: in the middle")
  17. public boolean sideSearchField = false;
  18. @Comment("The command used in servers to cheat items")
  19. public String giveCommand = "/give {player_name} {item_identifier}{nbt} {count}";
  20. @Comment("The command used to change gamemode") public String gamemodeCommand = "/gamemode {gamemode}";
  21. @Comment("The command used to change weather") public String weatherCommand = "/weather {weather}";
  22. @Comment("True: item panel on the left, false: on the right") public boolean mirrorItemPanel = false;
  23. @Comment("To disable REI's default plugin, don't change this unless you understand what you are doing")
  24. public boolean loadDefaultPlugin = true;
  25. @Comment("Maximum recipes viewed at one time.") public int maxRecipePerPage = 3;
  26. @Comment("Toggle utils buttons") public boolean showUtilsButtons = false;
  27. @Comment("Disable Recipe Book") public boolean disableRecipeBook = false;
  28. public boolean preferVisibleRecipes = false;
  29. @Comment("Force enable 2019 REI April Fools' joke") public boolean aprilFoolsFish2019 = false;
  30. public ItemCheatingMode itemCheatingMode = ItemCheatingMode.REI_LIKE;
  31. public boolean lightGrayRecipeBorder = false;
  32. public RecipeScreenType screenType = RecipeScreenType.UNSET;
  33. @Comment(
  34. "The location of choose page dialog, will automatically be set to your last location so there is no need to change this.")
  35. public RelativePoint choosePageDialogPoint = new RelativePoint(.5, .5);
  36. }