Finally add back REI
This commit is contained in:
parent
18e8e37f15
commit
bb74c737f1
3 changed files with 307 additions and 136 deletions
163
config/roughlyenoughitems/config.json5
Normal file
163
config/roughlyenoughitems/config.json5
Normal file
|
|
@ -0,0 +1,163 @@
|
|||
{
|
||||
"basics": {
|
||||
"favorites": [],
|
||||
"hiddenFavorites": [],
|
||||
"displayHistory": [],
|
||||
// Declares whether cheating mode is on.
|
||||
"cheating": true,
|
||||
"favoritesEnabled": true,
|
||||
"keyBindings": {
|
||||
"recipeKeybind": {
|
||||
"keyCode": "key.keyboard.r",
|
||||
"modifier": 0
|
||||
},
|
||||
"usageKeybind": {
|
||||
"keyCode": "key.keyboard.f",
|
||||
"modifier": 0
|
||||
},
|
||||
"hideKeybind": {
|
||||
"keyCode": "key.keyboard.o",
|
||||
"modifier": 2
|
||||
},
|
||||
"previousPageKeybind": {
|
||||
"keyCode": "key.keyboard.unknown",
|
||||
"modifier": 0
|
||||
},
|
||||
"nextPageKeybind": {
|
||||
"keyCode": "key.keyboard.unknown",
|
||||
"modifier": 0
|
||||
},
|
||||
"focusSearchFieldKeybind": {
|
||||
"keyCode": "key.keyboard.f",
|
||||
"modifier": 2
|
||||
},
|
||||
"copyRecipeIdentifierKeybind": {
|
||||
"keyCode": "key.mouse.middle",
|
||||
"modifier": 0
|
||||
},
|
||||
"favoriteKeybind": {
|
||||
"keyCode": "key.keyboard.a",
|
||||
"modifier": 0
|
||||
},
|
||||
"exportImageKeybind": {
|
||||
"keyCode": "key.keyboard.f8",
|
||||
"modifier": 0
|
||||
},
|
||||
"previousScreenKeybind": {
|
||||
"keyCode": "key.keyboard.backspace",
|
||||
"modifier": 0
|
||||
}
|
||||
},
|
||||
// Declares whether REI is visible.
|
||||
"overlayVisible": true,
|
||||
"cheatingStyle": "GRAB",
|
||||
"motion": {
|
||||
"favoritesAnimation": true
|
||||
}
|
||||
},
|
||||
"advanced": {
|
||||
"filtering": {
|
||||
"shouldFilterDisplays": true,
|
||||
"filteringRules": [
|
||||
"{id:\"roughlyenoughitems:manual\",rule:{}}"
|
||||
],
|
||||
"filteredStacks": []
|
||||
},
|
||||
"enableJeiCompatibilityLayer": true,
|
||||
"tooltips": {
|
||||
// Declares whether REI should append mod names to entries.
|
||||
"appendModNames": true,
|
||||
// Declares whether favorites tooltip should be displayed.
|
||||
"displayFavoritesTooltip": false
|
||||
},
|
||||
"layout": {
|
||||
// The ordering of the items on the entry panel.
|
||||
"entryPanelOrdering": "REGISTRY_ASCENDING",
|
||||
// Declares the maximum amount of recipes displayed in a page if possible.
|
||||
"maxRecipesPerPage": 8,
|
||||
// Declares the maximum amount of recipes displayed in a page if possible.
|
||||
"maxRecipesPageHeight": 300,
|
||||
// Declares whether entry rendering time should be debugged.
|
||||
"debugRenderTimeRequired": false,
|
||||
// Merges displays with equal contents under 1 display.
|
||||
"mergeDisplayUnderOne": true,
|
||||
"favoriteAddWidgetMode": "ALWAYS_VISIBLE"
|
||||
},
|
||||
"accessibility": {
|
||||
"entrySize": 1.0,
|
||||
// Declares the position of the entry panel.
|
||||
"displayPanelLocation": "RIGHT",
|
||||
// Declares how the scrollbar in composite screen should act.
|
||||
"compositeScrollBarPermanent": false,
|
||||
"toastDisplayedOnCopyIdentifier": true,
|
||||
// Declares whether REI should use compact tabs for categories.
|
||||
"useCompactTabs": true,
|
||||
// Declares whether REI should use compact tab buttons for categories.
|
||||
"useCompactTabButtons": true
|
||||
},
|
||||
"search": {
|
||||
// Declares whether search time should be debugged.
|
||||
"debugSearchTimeRequired": false,
|
||||
// Declares whether REI should search async.
|
||||
"asyncSearch": true,
|
||||
// Declares how many entries should be grouped one async search.
|
||||
"asyncSearchPartitionSize": 100,
|
||||
"tooltipSearch": "ALWAYS",
|
||||
"tagSearch": "PREFIX",
|
||||
"identifierSearch": "ALWAYS",
|
||||
"modSearch": "PREFIX"
|
||||
},
|
||||
"commands": {
|
||||
// Declares the command used to change gamemode.
|
||||
"gamemodeCommand": "/gamemode {gamemode}",
|
||||
// Declares the command used in servers to cheat items.
|
||||
"giveCommand": "/give {player_name} {item_identifier}{nbt} {count}",
|
||||
// Declares the command used to change weather.
|
||||
"weatherCommand": "/weather {weather}",
|
||||
// Declares the command used to change time.
|
||||
"timeCommand": "/time set {time}"
|
||||
},
|
||||
"miscellaneous": {
|
||||
// Declares whether arrows in containers should be clickable.
|
||||
"clickableRecipeArrows": true,
|
||||
"registerRecipesInAnotherThread": true,
|
||||
"newFastEntryRendering": false,
|
||||
"cachingFastEntryRendering": false
|
||||
}
|
||||
},
|
||||
"appearance": {
|
||||
"recipeScreenType": "ORIGINAL",
|
||||
// Declares the appearance of REI windows.
|
||||
"theme": "DARK",
|
||||
"layout": {
|
||||
// Declares the position of the search field.
|
||||
"searchFieldLocation": "CENTER",
|
||||
// Declares the position of the config button.
|
||||
"configButtonLocation": "LOWER",
|
||||
// Declares whether the craftable filter button is enabled.
|
||||
"showCraftableOnlyButton": false
|
||||
},
|
||||
// Declares the appearance of recipe's border.
|
||||
"recipeBorder": "DEFAULT",
|
||||
// Declares whether entry panel is scrolled.
|
||||
"scrollingEntryListWidget": false,
|
||||
"horizontalEntriesBoundaries": 1.0,
|
||||
"verticalEntriesBoundaries": 1.0,
|
||||
"horizontalEntriesBoundariesColumns": 50,
|
||||
"verticalEntriesBoundariesRows": 1000,
|
||||
"favoritesHorizontalEntriesBoundaries": 1.0,
|
||||
"favoritesHorizontalEntriesBoundariesColumns": 50,
|
||||
"syntaxHighlightingMode": "COLORFUL",
|
||||
"isFocusModeZoomed": false
|
||||
},
|
||||
"functionality": {
|
||||
// Declares whether REI should remove the recipe book.
|
||||
"disableRecipeBook": true,
|
||||
// Declares whether mob effects should be on the left side instead of the right side.
|
||||
"leftSideMobEffects": true,
|
||||
// Declares whether subsets is enabled.
|
||||
"isSubsetsEnabled": false,
|
||||
"allowInventoryHighlighting": true,
|
||||
"itemCheatingMode": "REI_LIKE"
|
||||
}
|
||||
}
|
||||
144
kubejs/client_scripts/EnoughItems.js
Normal file
144
kubejs/client_scripts/EnoughItems.js
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
// priority: 0
|
||||
global.hideItems = [
|
||||
'/expandedstorage:*_present/',
|
||||
'create:copper_sheet',
|
||||
'create:crushed_aluminum_ore',
|
||||
'create:crushed_copper_ore',
|
||||
'create:crushed_gold_ore',
|
||||
'create:crushed_iron_ore',
|
||||
'create:crushed_lead_ore',
|
||||
'create:crushed_nickel_ore',
|
||||
'create:crushed_silver_ore',
|
||||
'create:crushed_tin_ore',
|
||||
'create:crushed_uranium_ore',
|
||||
'create:golden_sheet',
|
||||
'create:iron_sheet',
|
||||
'createaddition:accumulator',
|
||||
'createaddition:brass_rod',
|
||||
'createaddition:capacitor',
|
||||
'createaddition:connector',
|
||||
'createaddition:copper_rod',
|
||||
'createaddition:copper_spool',
|
||||
'createaddition:copper_wire',
|
||||
'createaddition:diamond_grit',
|
||||
'createaddition:gold_rod',
|
||||
'createaddition:gold_spool',
|
||||
'createaddition:gold_wire',
|
||||
'createaddition:iron_rod',
|
||||
'createaddition:iron_wire',
|
||||
'createaddition:redstone_relay',
|
||||
'createaddition:rolling_mill',
|
||||
'createaddition:spool',
|
||||
'createaddition:tesla_coil',
|
||||
'createaddition:zinc_sheet',
|
||||
'dimstorage:dim_core',
|
||||
'dimstorage:dim_wall',
|
||||
'dimstorage:solid_dim_core',
|
||||
'enderchests:ender_pouch',
|
||||
'expandedstorage:candy_cane_mini_present_with_sparrow',
|
||||
'expandedstorage:candy_cane_mini_present',
|
||||
'expandedstorage:green_mini_present_with_sparrow',
|
||||
'expandedstorage:green_mini_present',
|
||||
'expandedstorage:lavender_mini_present_with_sparrow',
|
||||
'expandedstorage:lavender_mini_present',
|
||||
'expandedstorage:old_diamond_chest',
|
||||
'expandedstorage:old_gold_chest',
|
||||
'expandedstorage:old_iron_chest',
|
||||
'expandedstorage:old_netherite_chest',
|
||||
'expandedstorage:old_obsidian_chest',
|
||||
'expandedstorage:old_wood_chest',
|
||||
'expandedstorage:pink_amethyst_mini_present_with_sparrow',
|
||||
'expandedstorage:pink_amethyst_mini_present',
|
||||
'expandedstorage:pumpkin_chest',
|
||||
'expandedstorage:pumpkin_mini_chest_with_sparrow',
|
||||
'expandedstorage:pumpkin_mini_chest',
|
||||
'expandedstorage:red_mini_present_with_sparrow',
|
||||
'expandedstorage:red_mini_present',
|
||||
'expandedstorage:vanilla_wood_mini_chest_with_sparrow',
|
||||
'expandedstorage:vanilla_wood_mini_chest',
|
||||
'expandedstorage:white_mini_present_with_sparrow',
|
||||
'expandedstorage:white_mini_present',
|
||||
'expandedstorage:wood_mini_chest_with_sparrow',
|
||||
'industrialforegoing:diamond_gear',
|
||||
'industrialforegoing:dryrubber',
|
||||
'industrialforegoing:gold_gear',
|
||||
'industrialforegoing:iron_gear',
|
||||
'industrialforegoing:latex_processing_unit',
|
||||
'industrialforegoing:plastic',
|
||||
'industrialforegoing:tinydryrubber',
|
||||
'minecraft:chest',
|
||||
'pipez:gas_pipe',
|
||||
'thermal:drill_head',
|
||||
'thermal:emerald_gear',
|
||||
'thermal:lapis_gear',
|
||||
'thermal:quartz_gear',
|
||||
'thermal:saw_blade',
|
||||
'torchmaster:feral_flare_lantern',
|
||||
'torchmaster:frozen_pearl',
|
||||
global.ie('coal_coke'),
|
||||
global.ie('coke'),
|
||||
global.ie('deepslate_ore_lead'),
|
||||
global.ie('deepslate_ore_nickel'),
|
||||
global.ie('deepslate_ore_silver'),
|
||||
global.ie('deepslate_ore_uranium'),
|
||||
global.ie('dust_constantan'),
|
||||
global.ie('dust_copper'),
|
||||
global.ie('dust_electrum'),
|
||||
global.ie('dust_gold'),
|
||||
global.ie('dust_iron'),
|
||||
global.ie('dust_lead'),
|
||||
global.ie('dust_nickel'),
|
||||
global.ie('dust_silver'),
|
||||
global.ie('dust_uranium'),
|
||||
global.ie('dust_wood'),
|
||||
global.ie('furnace_heater'),
|
||||
global.ie('ingot_constantan'),
|
||||
global.ie('ingot_electrum'),
|
||||
global.ie('ingot_lead'),
|
||||
global.ie('ingot_nickel'),
|
||||
global.ie('ingot_silver'),
|
||||
global.ie('ingot_uranium'),
|
||||
global.ie('nugget_constantan'),
|
||||
global.ie('nugget_electrum'),
|
||||
global.ie('nugget_lead'),
|
||||
global.ie('nugget_nickel'),
|
||||
global.ie('nugget_silver'),
|
||||
global.ie('nugget_uranium'),
|
||||
global.ie('ore_lead'),
|
||||
global.ie('ore_nickel'),
|
||||
global.ie('ore_silver'),
|
||||
global.ie('ore_uranium'),
|
||||
global.ie('plate_constantan'),
|
||||
global.ie('plate_copper'),
|
||||
global.ie('plate_electrum'),
|
||||
global.ie('plate_gold'),
|
||||
global.ie('plate_iron'),
|
||||
global.ie('plate_lead'),
|
||||
global.ie('plate_nickel'),
|
||||
global.ie('plate_silver'),
|
||||
global.ie('plate_uranium'),
|
||||
global.ie('raw_block_uranium'),
|
||||
global.ie('raw_uranium'),
|
||||
global.ie('sheetmetal_uranium'),
|
||||
global.ie('slab_sheetmetal_uranium'),
|
||||
global.ie('slab_storage_uranium'),
|
||||
global.ie('slag'),
|
||||
global.ie('storage_constantan'),
|
||||
global.ie('storage_electrum'),
|
||||
global.ie('storage_lead'),
|
||||
global.ie('storage_nickel'),
|
||||
global.ie('storage_silver'),
|
||||
global.ie('storage_steel'),
|
||||
global.ie('storage_uranium'),
|
||||
global.ie('watermill'),
|
||||
global.ie('waterwheel_segment'),
|
||||
global.ie('windmill'),
|
||||
];
|
||||
|
||||
onEvent('jei.hide.items', event => {
|
||||
global.hideItems.forEach(x => event.hide(x));
|
||||
});
|
||||
|
||||
onEvent('rei.hide.items', event => {
|
||||
global.hideItems.forEach(x => event.hide(x));
|
||||
});
|
||||
|
|
@ -1,136 +0,0 @@
|
|||
// priority: 0
|
||||
|
||||
onEvent('jei.hide.items', event => {
|
||||
[
|
||||
'/expandedstorage:*_present/',
|
||||
'create:copper_sheet',
|
||||
'create:crushed_aluminum_ore',
|
||||
'create:crushed_copper_ore',
|
||||
'create:crushed_gold_ore',
|
||||
'create:crushed_iron_ore',
|
||||
'create:crushed_lead_ore',
|
||||
'create:crushed_nickel_ore',
|
||||
'create:crushed_silver_ore',
|
||||
'create:crushed_tin_ore',
|
||||
'create:crushed_uranium_ore',
|
||||
'create:golden_sheet',
|
||||
'create:iron_sheet',
|
||||
'createaddition:accumulator',
|
||||
'createaddition:brass_rod',
|
||||
'createaddition:capacitor',
|
||||
'createaddition:connector',
|
||||
'createaddition:copper_rod',
|
||||
'createaddition:copper_spool',
|
||||
'createaddition:copper_wire',
|
||||
'createaddition:diamond_grit',
|
||||
'createaddition:gold_rod',
|
||||
'createaddition:gold_spool',
|
||||
'createaddition:gold_wire',
|
||||
'createaddition:iron_rod',
|
||||
'createaddition:iron_wire',
|
||||
'createaddition:redstone_relay',
|
||||
'createaddition:rolling_mill',
|
||||
'createaddition:spool',
|
||||
'createaddition:tesla_coil',
|
||||
'createaddition:zinc_sheet',
|
||||
'enderchests:ender_pouch',
|
||||
'expandedstorage:candy_cane_mini_present_with_sparrow',
|
||||
'expandedstorage:candy_cane_mini_present',
|
||||
'expandedstorage:green_mini_present_with_sparrow',
|
||||
'expandedstorage:green_mini_present',
|
||||
'expandedstorage:lavender_mini_present_with_sparrow',
|
||||
'expandedstorage:lavender_mini_present',
|
||||
'expandedstorage:old_diamond_chest',
|
||||
'expandedstorage:old_gold_chest',
|
||||
'expandedstorage:old_iron_chest',
|
||||
'expandedstorage:old_netherite_chest',
|
||||
'expandedstorage:old_obsidian_chest',
|
||||
'expandedstorage:old_wood_chest',
|
||||
'expandedstorage:pink_amethyst_mini_present_with_sparrow',
|
||||
'expandedstorage:pink_amethyst_mini_present',
|
||||
'expandedstorage:pumpkin_chest',
|
||||
'expandedstorage:pumpkin_mini_chest_with_sparrow',
|
||||
'expandedstorage:pumpkin_mini_chest',
|
||||
'expandedstorage:red_mini_present_with_sparrow',
|
||||
'expandedstorage:red_mini_present',
|
||||
'expandedstorage:vanilla_wood_mini_chest_with_sparrow',
|
||||
'expandedstorage:vanilla_wood_mini_chest',
|
||||
'expandedstorage:white_mini_present_with_sparrow',
|
||||
'expandedstorage:white_mini_present',
|
||||
'expandedstorage:wood_mini_chest_with_sparrow',
|
||||
'industrialforegoing:diamond_gear',
|
||||
'industrialforegoing:dryrubber',
|
||||
'industrialforegoing:gold_gear',
|
||||
'industrialforegoing:iron_gear',
|
||||
'industrialforegoing:latex_processing_unit',
|
||||
'industrialforegoing:plastic',
|
||||
'industrialforegoing:tinydryrubber',
|
||||
'minecraft:chest',
|
||||
'pipez:gas_pipe',
|
||||
'thermal:drill_head',
|
||||
'thermal:emerald_gear',
|
||||
'thermal:lapis_gear',
|
||||
'thermal:quartz_gear',
|
||||
'thermal:saw_blade',
|
||||
'torchmaster:feral_flare_lantern',
|
||||
'torchmaster:frozen_pearl',
|
||||
global.ie('coal_coke'),
|
||||
global.ie('coke'),
|
||||
global.ie('deepslate_ore_lead'),
|
||||
global.ie('deepslate_ore_nickel'),
|
||||
global.ie('deepslate_ore_silver'),
|
||||
global.ie('deepslate_ore_uranium'),
|
||||
global.ie('dust_constantan'),
|
||||
global.ie('dust_copper'),
|
||||
global.ie('dust_electrum'),
|
||||
global.ie('dust_gold'),
|
||||
global.ie('dust_iron'),
|
||||
global.ie('dust_lead'),
|
||||
global.ie('dust_nickel'),
|
||||
global.ie('dust_silver'),
|
||||
global.ie('dust_uranium'),
|
||||
global.ie('dust_wood'),
|
||||
global.ie('furnace_heater'),
|
||||
global.ie('ingot_constantan'),
|
||||
global.ie('ingot_electrum'),
|
||||
global.ie('ingot_lead'),
|
||||
global.ie('ingot_nickel'),
|
||||
global.ie('ingot_silver'),
|
||||
global.ie('ingot_uranium'),
|
||||
global.ie('nugget_constantan'),
|
||||
global.ie('nugget_electrum'),
|
||||
global.ie('nugget_lead'),
|
||||
global.ie('nugget_nickel'),
|
||||
global.ie('nugget_silver'),
|
||||
global.ie('nugget_uranium'),
|
||||
global.ie('ore_lead'),
|
||||
global.ie('ore_nickel'),
|
||||
global.ie('ore_silver'),
|
||||
global.ie('ore_uranium'),
|
||||
global.ie('plate_constantan'),
|
||||
global.ie('plate_copper'),
|
||||
global.ie('plate_electrum'),
|
||||
global.ie('plate_gold'),
|
||||
global.ie('plate_iron'),
|
||||
global.ie('plate_lead'),
|
||||
global.ie('plate_nickel'),
|
||||
global.ie('plate_silver'),
|
||||
global.ie('plate_uranium'),
|
||||
global.ie('raw_block_uranium'),
|
||||
global.ie('raw_uranium'),
|
||||
global.ie('sheetmetal_uranium'),
|
||||
global.ie('slab_sheetmetal_uranium'),
|
||||
global.ie('slab_storage_uranium'),
|
||||
global.ie('slag'),
|
||||
global.ie('storage_constantan'),
|
||||
global.ie('storage_electrum'),
|
||||
global.ie('storage_lead'),
|
||||
global.ie('storage_nickel'),
|
||||
global.ie('storage_silver'),
|
||||
global.ie('storage_steel'),
|
||||
global.ie('storage_uranium'),
|
||||
global.ie('watermill'),
|
||||
global.ie('waterwheel_segment'),
|
||||
global.ie('windmill'),
|
||||
].map(x => event.hide(x));
|
||||
});
|
||||
Loading…
Reference in a new issue