Skip to main content

TinkerSlotType

MangoJellyPuddingOriginal7/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.

FieldDescription
TinkerSlotType.UPGRADEupgrade_slot.png Upgrade slot
TinkerSlotType.ABILITYability_slot.png Ability slot
TinkerSlotType.DEFENSEdefense_slot.png Defense slot
TinkerSlotType.SOULsoul_slot.png Soul slot
Method nameParametersReturn valueDescription
getOrCreateString nameSlotTypeGet or create a slot type by name
getPrefixNo parametersStringGet the prefix name
formatint countComponentFormat the count into display text
getDisplayNameNo parametersComponentGet the display name
getColorNo parametersTextColorGet the color