Understanding Adjustable Ray Hit Detection for Display Models
Standard Minecraft display entities are purely visual and do not possess body hitboxes, which normally means players cannot click them at all. DisplayRigger solves this limitation with custom hit detection that calculates player clicks using adjustable ray sizes. By sizing the detection ray appropriately around your display build, players can walk up and interact with custom decorative levers, buttons, and world props just as naturally as vanilla buttons or levers.
When designing a clickable prop, test clicking it from the exact standing angles and distances regular players will use. If a decorative button is recessed inside a wall frame or tucked behind detailed trim, verify that your ray detection reaches the grouped components cleanly without forcing players to stand at awkward angles.
Organizing Multi-Piece Props Around Single-Group Rules
DisplayRigger bundles visual display models into clean named groups and components so other systems on your server can read which object a player clicked. However, keep one strict rule in mind while planning complex builds: DisplayRigger restricts every individual display entity so it can belong to only a single group at any given time.
Avoid trying to share one overlapping backing plate or trim piece between two separate buttons or levers. Instead, assign separate display entities to each independent clickable control, create distinct groups with /dr addgroup <group>, bind each model with /dr addobject <group>, and check every group individually with /dr glowing <group> so every decorative piece glows blue and nothing gets dropped.
