Skip to content

ABlockModelBuilder

class ABlockModelBuilder(outputLocation: ResourceLocation) : AModelBuilder<ABlockModelBuilder> 

Constructors

ABlockModelBuilder

constructor(outputLocation: ResourceLocation)

Properties

location

val location: ResourceLocation

Functions

ao

fun ao(ao: Boolean): T

customLoader

fun <L : ACustomLoaderBuilder<T>?> customLoader(customLoaderFactory: Function<T, L>): L

element

getElementCount

{@return the number of elements in this model builder}

guiLight

fun guiLight(light: BlockModel.GuiLight?): T

invoke

operator fun invoke(block: AModelBuilder<T>.() -> Unit): AModelBuilder<T>

parent

fun parent(parent: AModelFile): T

renderType

fun renderType(renderType: String): T
fun renderType(renderType: ResourceLocation): T

rootTransforms

texture

fun texture(key: String, texture: String): T
fun texture(key: String, texture: ResourceLocation): T

toJson

open fun toJson(): JsonObject

toString

open override fun toString(): String

transforms