Skip to content
This repository has been archived by the owner on Feb 18, 2025. It is now read-only.

Advanced Tutorial 2: Container Widget

KilaBash edited this page Dec 13, 2022 · 1 revision

In general, Container Widget need to be used with mods or java. You can define slots and set their UI styles. But you need to bind them to the corresponding contianer using mod, kjs, java, etc.

This page won't cover how to bind them, and in most cases you don't need to write code to bind them. For example, if you are using multiblocked, so tha mbd will automatically bind slots to the corresponding container based on their id. (Please refer to the mbd wiki for details)

There are 4 built-in slots: Item Slot, Fluid Slot, Phantom Item Slot, Phantom Fluid Slot.

Open the configurator to see their detailed Settings.

Phantom Widget

A Phantom is a special slot that you cannot interact with (no real items). You can use JEI, REI to drag items and fluids into the slot, marking the contents of the slot. Therefore, it can be used to make recipe setters, filters and so on.