Configuration
Add the following block to your portal’s.yml file. The list contains exactly four strings in order: top, right side, left side, bottom.
The right and left side patterns start from the block below the top corner and end at the block above the bottom corner — the corner blocks themselves belong to the top/bottom rows.
Pattern Syntax
Each string is made up of one or more patterns separated by|. Dimensions reads them left to right:
- The first pattern is what the section must start with.
- The last pattern is what the section must end with.
- Any middle patterns repeat to fill the space between start and end.
\.
| Symbol | Meaning |
|---|---|
| | Separates distinct patterns (start, middle, end) |
\ | Separates consecutive blocks within one pattern |
Using dimensions:placeholderblock
If you want a pattern position to accept any block (with optional exclusions), use the placeholder syntax:
Getting Block State Data
Use the/dim blockdata command in-game to retrieve the full block state string for any block:
Build your portal frame in-game
Construct the portal shape you want along the X axis while facing north. This orientation makes the block state data copy correctly.
Run /dim blockdata for each block
Stand next to (or look at) a frame block and run
/dim blockdata. Click the click me link in chat to copy the block state to your clipboard.Build the pattern string
Paste the block data into the appropriate line of your
FrameStyle config. Add | to introduce the next pattern segment, or \ to chain consecutive blocks within the same pattern.Full Example
The following configuration creates a copper portal with decorative stair sides:- Starts with a bottom-type copper slab
- Middle repeats with a copper block
- Ends with a bottom-type copper slab
- Starts with a west-facing downward stair
- Middle alternates: upward stair then downward stair (the
\joins them as one repeating pair)
