Better Beyond Dimensions

Adds a searchable Beyond Dimensions network sidebar to every container.
b1ebb337-7649-4db4-ad65-080e97215d4e.png

b1ebb337-7649-4db4-ad65-080e97215d4e.png

Description

Features

  • Displays a searchable Beyond Dimensions network sidebar on the left side of all AbstractContainerScreen screens.
  • The sidebar is shown only when the server confirms that the player has an available Beyond Dimensions network.
  • Left-click extracts one stack from the network; right-click extracts one item. Search supports both display names and registry names.
  • “Move Player Items” and “Move Container Items” independently control Shift-click behavior.
  • “Deposit Container” stores items from the currently open container into the network. “Deposit Inventory” only processes the player’s main inventory; the hotbar is excluded.
  • Default shortcuts: F for “Deposit Container” and G for “Deposit Inventory`. They only work while the sidebar is visible and the search box is not focused.
  • Player and container Shift-transfer settings are saved to the client file config/better_beyond_dimensions-settings.json and synchronized with the server when a new screen is opened.
  • All network storage operations and Shift-click interception are validated and executed server-side.

Sidebar Display Event

SidebarDisplayEvent is fired on the client after the sidebar has been created and before it is displayed. The event can access the current Screen, disable the functionality of individual buttons, override button text or tooltips, or completely disable the sidebar for the current screen. The event only affects the current screen instance and does not modify the server-side menu.

For example, to disable “Deposit Container” on the crafting screen and change its tooltip to “Disabled”:

private static void onSidebarDisplay(SidebarDisplayEvent event)
{
    if (event.getScreen() instanceof CraftingScreen)
    {
        event.disableButton(SidebarDisplayEvent.ButtonId.DEPOSIT_CONTAINER);
        event.setButtonTooltip(
                SidebarDisplayEvent.ButtonId.DEPOSIT_CONTAINER,
                Component.literal("Disabled")
        );
    }
}

The Better Beyond Dimensions Team

Forgeborn tier frameprofile avatar
Owner
Forgeborn tier icon
  • 1
    Followers
  • 14
    Projects
  • 279.0K
    Downloads

More from lingmuView all