common • net.kernelpanicsoft.archie.data.client.model • ABlockModelProvider
ABlockModelProvider
abstract class ABlockModelProvider(output: PackOutput, mod: Mod, exitOnError: Boolean) : AModelProvider<ABlockModelBuilder> Constructors
ABlockModelProvider
constructor(output: PackOutput, mod: Mod, exitOnError: Boolean)Properties
exitOnError
override val exitOnError: BooleangeneratedModels
@VisibleForTestingval generatedModels: MutableMap<ResourceLocation, ABlockModelBuilder>mod
override val mod: Modoutput
override val output: PackOutputFunctions
button
fun button(name: String, texture: ResourceLocation): ABlockModelBuilderbuttonInventory
fun buttonInventory(name: String, texture: ResourceLocation): ABlockModelBuilderbuttonPressed
fun buttonPressed(name: String, texture: ResourceLocation): ABlockModelBuildercarpet
fun carpet(name: String, wool: ResourceLocation): ABlockModelBuilderclear
fun clear()crop
fun crop(name: String, crop: ResourceLocation): ABlockModelBuildercross
fun cross(name: String, cross: ResourceLocation): ABlockModelBuildercube
fun cube(name: String, down: ResourceLocation, up: ResourceLocation, north: ResourceLocation, south: ResourceLocation, east: ResourceLocation, west: ResourceLocation): ABlockModelBuildercubeAll
fun cubeAll(name: String, texture: ResourceLocation): ABlockModelBuildercubeBottomTop
fun cubeBottomTop(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuildercubeColumn
fun cubeColumn(name: String, side: ResourceLocation, end: ResourceLocation): ABlockModelBuildercubeColumnHorizontal
fun cubeColumnHorizontal(name: String, side: ResourceLocation, end: ResourceLocation): ABlockModelBuildercubeTop
fun cubeTop(name: String, side: ResourceLocation, top: ResourceLocation): ABlockModelBuilderdoorBottomLeft
fun doorBottomLeft(name: String, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderdoorBottomLeftOpen
fun doorBottomLeftOpen(name: String, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderdoorBottomRight
fun doorBottomRight(name: String, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderdoorBottomRightOpen
fun doorBottomRightOpen(name: String, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderdoorTopLeft
fun doorTopLeft(name: String, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderdoorTopLeftOpen
fun doorTopLeftOpen(name: String, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderdoorTopRight
fun doorTopRight(name: String, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderdoorTopRightOpen
fun doorTopRightOpen(name: String, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderfenceGate
fun fenceGate(name: String, texture: ResourceLocation): ABlockModelBuilderfenceGateOpen
fun fenceGateOpen(name: String, texture: ResourceLocation): ABlockModelBuilderfenceGateWall
fun fenceGateWall(name: String, texture: ResourceLocation): ABlockModelBuilderfenceGateWallOpen
fun fenceGateWallOpen(name: String, texture: ResourceLocation): ABlockModelBuilderfenceInventory
fun fenceInventory(name: String, texture: ResourceLocation): ABlockModelBuilderfencePost
fun fencePost(name: String, texture: ResourceLocation): ABlockModelBuilderfenceSide
fun fenceSide(name: String, texture: ResourceLocation): ABlockModelBuilderformat
generateAll
fun generateAll(cache: CachedOutput): CompletableFuture<*>getBuilder
fun getBuilder(path: String, block: ABlockModelBuilder.() -> Unit = {}): ABlockModelBuildergetExistingFile
fun getExistingFile(path: ResourceLocation): AModelFilegetName
mcLoc
modLoc
nested
fun nested(): ABlockModelBuilder{@return a model builder that's not directly saved to disk. Meant for use in custom model loaders.}
orientable
fun orientable(name: String, side: ResourceLocation, front: ResourceLocation, top: ResourceLocation): ABlockModelBuilderorientableVertical
fun orientableVertical(name: String, side: ResourceLocation, front: ResourceLocation): ABlockModelBuilderorientableWithBottom
fun orientableWithBottom(name: String, side: ResourceLocation, front: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderpaneNoSide
fun paneNoSide(name: String, pane: ResourceLocation): ABlockModelBuilderpaneNoSideAlt
fun paneNoSideAlt(name: String, pane: ResourceLocation): ABlockModelBuilderpanePost
fun panePost(name: String, pane: ResourceLocation, edge: ResourceLocation): ABlockModelBuilderpaneSide
fun paneSide(name: String, pane: ResourceLocation, edge: ResourceLocation): ABlockModelBuilderpaneSideAlt
fun paneSideAlt(name: String, pane: ResourceLocation, edge: ResourceLocation): ABlockModelBuilderpressurePlate
fun pressurePlate(name: String, texture: ResourceLocation): ABlockModelBuilderpressurePlateDown
fun pressurePlateDown(name: String, texture: ResourceLocation): ABlockModelBuilderrun
open override fun run(cache: CachedOutput): CompletableFuture<*>sign
fun sign(name: String, texture: ResourceLocation): ABlockModelBuildersingleTexture
fun singleTexture(name: String, parent: ResourceLocation, texture: ResourceLocation): ABlockModelBuilderfun singleTexture(name: String, parent: ResourceLocation, textureKey: String, texture: ResourceLocation): ABlockModelBuilderslab
fun slab(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderslabTop
fun slabTop(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderstairs
fun stairs(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderstairsInner
fun stairsInner(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuilderstairsOuter
fun stairsOuter(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): ABlockModelBuildertorch
fun torch(name: String, torch: ResourceLocation): ABlockModelBuildertorchWall
fun torchWall(name: String, torch: ResourceLocation): ABlockModelBuildertrapdoorBottom
fun trapdoorBottom(name: String, texture: ResourceLocation): ABlockModelBuildertrapdoorOpen
fun trapdoorOpen(name: String, texture: ResourceLocation): ABlockModelBuildertrapdoorOrientableBottom
fun trapdoorOrientableBottom(name: String, texture: ResourceLocation): ABlockModelBuildertrapdoorOrientableOpen
fun trapdoorOrientableOpen(name: String, texture: ResourceLocation): ABlockModelBuildertrapdoorOrientableTop
fun trapdoorOrientableTop(name: String, texture: ResourceLocation): ABlockModelBuildertrapdoorTop
fun trapdoorTop(name: String, texture: ResourceLocation): ABlockModelBuilderwallInventory
fun wallInventory(name: String, wall: ResourceLocation): ABlockModelBuilderwallPost
fun wallPost(name: String, wall: ResourceLocation): ABlockModelBuilderwallSide
fun wallSide(name: String, wall: ResourceLocation): ABlockModelBuilderwallSideTall
fun wallSideTall(name: String, wall: ResourceLocation): ABlockModelBuilderwithExistingParent
fun withExistingParent(name: String, parent: String, block: ABlockModelBuilder.() -> Unit = {}): ABlockModelBuilderfun withExistingParent(name: String, parent: ResourceLocation, block: ABlockModelBuilder.() -> Unit = {}): ABlockModelBuilder