TinkerSlotType
Original7/28/26Less than 1 minute
Tips
TinkerSlotType is bound to Tinkers' Construct's slimeknights.tconstruct.library.tools.SlotType.
For the actual behavior, refer to the source code on GitHub.
| Field | Description |
|---|---|
TinkerSlotType.UPGRADE | |
TinkerSlotType.ABILITY | |
TinkerSlotType.DEFENSE | |
TinkerSlotType.SOUL |
| Method name | Parameters | Return value | Description |
|---|---|---|---|
getOrCreate | String name | SlotType | Get or create a slot type by name |
getPrefix | No parameters | String | Get the prefix name |
format | int count | Component | Format the count into display text |
getDisplayName | No parameters | Component | Get the display name |
getColor | No parameters | TextColor | Get the color |