DisplayInfo
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.advancement.DisplayInfo;
Members
Getter
// DisplayInfo.background as ResourceLocationmyDisplayInfo.background
Return Type:
ResourceLocation
setLocation(x as float, y as float)
// DisplayInfo.setLocation(x as float, y as float);myDisplayInfo.setLocation(myFloat, myFloat);
Parameters:
x: float
Type: float
y: float
Type: float
Getter
// DisplayInfo.shouldAnnounceChat as boolmyDisplayInfo.shouldAnnounceChat
Return Type:
bool
Getter
// DisplayInfo.shouldShowToast as boolmyDisplayInfo.shouldShowToast
Return Type:
bool
Getter
// DisplayInfo.x as floatmyDisplayInfo.x
Return Type:
float
Getter
// DisplayInfo.y as floatmyDisplayInfo.y
Return Type:
float