📕
Resourceful Lib
Landing Page
  • Welcome
    • 🧮Highlights
      • 📐Highlight
      • 📋Highlight State
        • 📤Sub-reference Highlight
          • 💿Rotation Object
    • 📂Resource Pack
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Welcome

Highlights

PreviousWelcomeNextHighlight

Last updated 2 years ago

Was this helpful?

Highlights are a custom way to create more complex visual selection boxes, this is a client only operation and does not actually affect where the player can hit so it is important that the block is still within a normal hit box.

Currently there are 2 ways to bind a highlight to a block, through code using the Highlightable interface on your block or using the json API which can also be used by non mod authors to change a hit box depending on a new model for a block.

Highlights are a client asset so they are stored in your assets folder under the namespace resourcefullib/highlights

Highlight jsons are either a highlight itself for a highlight state, just like how a block has a blockstate json and a model json.

To read more click one of the options below.

🧮
📐Highlight
📋Highlight State