create Builder
Creates a new builder for building server audio source lines.
Return
A new builder for server audio source line.
Parameters
The addon associated with the source line.
The name of the source line. It may contain only lowercase letters, digits, hyphens, and underscores: [a-z0-9-_].
The translation key for the source line.
The icon representation of the source line can be a Minecraft ResourceLocation or a base64-encoded string.
The weight of the source line.
Creates a new builder for building instances of server audio source lines using an InputStream as the icon source. The icon will be encoded as a base64 string.
Return
A new builder for server audio source line.
Parameters
The addon associated with the source line.
The name of the source line. It may contain only lowercase letters, digits, hyphens, and underscores: [a-z0-9-_].
The translation key for the source line.
An InputStream representing the icon image.
The weight of the source line.