Code Patterns
Copy-paste examples for common plugin tasks. Commands, events, ECS, GUI, and more.
All
225
Command
60
Damage
2
Ecs
27
Entity
5
Gui
75
Interaction
2
Inventory
4
Moderation
3
Permission
2
Player
9
Plugin
4
Storage
2
Teleport
3
Ui
22
Util
5
← Back to Patterns
java
gui
hytale-parameteritem
Official Hytale UI: ParameterItem with text elements
Example Code
Group {
LayoutMode: Top;
Anchor: (Bottom: 6);
Padding: (Horizontal: 13, Top: 0, Bottom: 8);
Background: (Color: #1a1a1a(0.3));
Group {
LayoutMode: Left;
Label #ParamName {
Style: (
FontSize: 13,
RenderBold: true,
TextColor: #ffffff
);
Anchor: (Right: 8);
}
Label #ParamTag {
Style: (
FontSize: 13,
RenderBold: true,
RenderUppercase: true,
TextColor: #7a9cc6
);
}
}
Label #ParamType {
Style: (
FontSize: 11,
TextColor: #878e9c
);
}
Label #ParamDescription {
Style: (
FontSize: 12,
TextColor: #ffffff(0.8)
);
}
}