Skip to content

States and Rendering ​

MBD2 21.1.1

Every definition has a root base state. Child states inherit renderer, shape, light, rendering box, and sound when the corresponding toggle is disabled.

MBD2 base state selected with renderer, shape, light, rendering bounds, radius, and sound groups in Inspector
Select a state in the left hierarchy to edit its enabled overrides and inherited rendering fields.
StatePurpose
baseFallback renderer, shape, light, and sound
idleReady but not currently processing
waitingRecipe selected but condition/input/tick requirement is unavailable
workingActive processing visuals and sound
formed / unformedUseful for parts or multiblock-specific presentation

A child without its own enabled renderer uses the parent's renderer. The same inheritance applies independently to shape, light level, rendering box, machine sound, and machine effects.

Renderer choices ​

RendererNeedsNotes
ModelA model resource locationVerify its texture dependencies are packaged
GeckoLibGeckoLib, plus model, texture and animation resourcesAdds the client keyframe event
Custom ScriptKubeJSDraws from a client script — see script renderers
JavaAn IRenderer supplied by a modKeep server construction safe; client suppliers are evaluated only on the client path

Shapes rotate from their authored north-facing orientation. Rendering boxes affect block-entity rendering bounds, not collision. Global visibility and rendering radius can make a renderer visible farther away; use them sparingly.

Effects and sound ​

A state's Photon effect list and its machine sound both follow the same inheritance rule as the renderer: a disabled toggle means "whatever my parent says", not "nothing". A state that genuinely wants silence enables the toggle and leaves the list empty. See Machine effects.

WARNING

Shape and registry-facing block property changes may require restart and can affect existing automation or collision. Test every facing, especially asymmetric shapes.

Released under the MIT License.