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
Copy
import crafttweaker.api.tooltip.TooltipContext;

Name: of

Return Type: TooltipContext

ZenScript
Copy
TooltipContext.of(level as Level?) as TooltipContext
ParameterType
Parameter
level
Type
Level?

Name: mapData

Return Type: invalid?

ZenScript
Copy
TooltipContext.mapData(var1 as invalid) as invalid?
ParameterType
Parameter
var1
Type
invalid
NameTypeHas GetterHas Setter
Name
tickRate
Type
float
Has Getter
true
Has Setter
false