

Returns: boolean dispatchEvent( event_name, data ) Arguments:ĪddListener( event_names, callback ) Arguments: Returns: Deletable addFlag( flag ) Arguments: Returns an object that is deletable Arguments:
Blockbench multiple textures code#
Defaults to Blockbench iconĪdds custom CSS code to Blockbench, globally.

When clicked, the message box closes with the string ID of the command as first argument. This behavior has been re-added in 2.0.2. The original behavior was to replace it with a pseudo texture, which would result in a black and purple texture and would prevent the model from breaking entirely.

bar: string (Optional) - ID of the bar element.time: number (Optional) - Time over which the bar is animated, in miliseconds.progress: number - Progress of the bar between 0 and 1.Set the value of a progress bar Arguments: time: number (Optional) - Time in miliseconds that the message stays up.Shows a passing message in the middle of the screen Arguments: Returns: HTMLElement showQuickMessage( message ) icon: string - Material Icons, Fontawesome or custom icon string.Resolves an icon string as a HTML element Arguments: Reloads the Blockbench window isNewerThan( version )Ĭhecks if Blockbench is newer than the specified version Arguments:Ĭhecks if Blockbench is older than the specified version Arguments: URL queries when opened as web app using a link that contained queries
