TooltipContext
Link to tooltipcontext
Importing the class
Link to importing-the-class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.tooltip.TooltipContext;
Static Methods
Link to static-methods
Name: of
Return Type: TooltipContext
ZenScript CopyTooltipContext.of(level as Level?) as TooltipContext
Parameter | Type |
---|---|
Parameter level | Type Level? |
Methods
Link to methods
Name: mapData
Return Type: invalid?
ZenScript CopyTooltipContext.mapData(var1 as MapId) as invalid?
Parameter | Type |
---|---|
Parameter var1 | Type MapId |
Properties
Link to properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name tickRate | Type float | Has Getter true | Has Setter false |