common • net.kernelpanicsoft.archie.data.client.model • AItemModelProvider
AItemModelProvider
abstract class AItemModelProvider(output: PackOutput, mod: Mod, exitOnError: Boolean) : AModelProvider<AItemModelBuilder> Constructors
AItemModelProvider
constructor(output: PackOutput, mod: Mod, exitOnError: Boolean)Properties
exitOnError
override val exitOnError: BooleangeneratedModels
@VisibleForTestingval generatedModels: MutableMap<ResourceLocation, AItemModelBuilder>mod
override val mod: Modoutput
override val output: PackOutputFunctions
basicItem
fun basicItem(item: ResourceLocation, block: AItemModelBuilder.() -> Unit = {}): AItemModelBuilderfun basicItem(item: Item, block: AItemModelBuilder.() -> Unit = {}): AItemModelBuilderbutton
fun button(name: String, texture: ResourceLocation): AItemModelBuilderbuttonInventory
fun buttonInventory(name: String, texture: ResourceLocation): AItemModelBuilderbuttonPressed
fun buttonPressed(name: String, texture: ResourceLocation): AItemModelBuildercarpet
fun carpet(name: String, wool: ResourceLocation): AItemModelBuilderclear
fun clear()crop
fun crop(name: String, crop: ResourceLocation): AItemModelBuildercross
fun cross(name: String, cross: ResourceLocation): AItemModelBuildercube
fun cube(name: String, down: ResourceLocation, up: ResourceLocation, north: ResourceLocation, south: ResourceLocation, east: ResourceLocation, west: ResourceLocation): AItemModelBuildercubeAll
fun cubeAll(name: String, texture: ResourceLocation): AItemModelBuildercubeBottomTop
fun cubeBottomTop(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuildercubeColumn
fun cubeColumn(name: String, side: ResourceLocation, end: ResourceLocation): AItemModelBuildercubeColumnHorizontal
fun cubeColumnHorizontal(name: String, side: ResourceLocation, end: ResourceLocation): AItemModelBuildercubeTop
fun cubeTop(name: String, side: ResourceLocation, top: ResourceLocation): AItemModelBuilderdoorBottomLeft
fun doorBottomLeft(name: String, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderdoorBottomLeftOpen
fun doorBottomLeftOpen(name: String, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderdoorBottomRight
fun doorBottomRight(name: String, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderdoorBottomRightOpen
fun doorBottomRightOpen(name: String, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderdoorTopLeft
fun doorTopLeft(name: String, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderdoorTopLeftOpen
fun doorTopLeftOpen(name: String, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderdoorTopRight
fun doorTopRight(name: String, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderdoorTopRightOpen
fun doorTopRightOpen(name: String, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderfenceGate
fun fenceGate(name: String, texture: ResourceLocation): AItemModelBuilderfenceGateOpen
fun fenceGateOpen(name: String, texture: ResourceLocation): AItemModelBuilderfenceGateWall
fun fenceGateWall(name: String, texture: ResourceLocation): AItemModelBuilderfenceGateWallOpen
fun fenceGateWallOpen(name: String, texture: ResourceLocation): AItemModelBuilderfenceInventory
fun fenceInventory(name: String, texture: ResourceLocation): AItemModelBuilderfencePost
fun fencePost(name: String, texture: ResourceLocation): AItemModelBuilderfenceSide
fun fenceSide(name: String, texture: ResourceLocation): AItemModelBuilderformat
generateAll
fun generateAll(cache: CachedOutput): CompletableFuture<*>getBuilder
fun getBuilder(path: String, block: AItemModelBuilder.() -> Unit = {}): AItemModelBuildergetExistingFile
fun getExistingFile(path: ResourceLocation): AModelFilegetName
mcLoc
modLoc
nested
fun nested(): AItemModelBuilder{@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): AItemModelBuilderorientableVertical
fun orientableVertical(name: String, side: ResourceLocation, front: ResourceLocation): AItemModelBuilderorientableWithBottom
fun orientableWithBottom(name: String, side: ResourceLocation, front: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderpaneNoSide
fun paneNoSide(name: String, pane: ResourceLocation): AItemModelBuilderpaneNoSideAlt
fun paneNoSideAlt(name: String, pane: ResourceLocation): AItemModelBuilderpanePost
fun panePost(name: String, pane: ResourceLocation, edge: ResourceLocation): AItemModelBuilderpaneSide
fun paneSide(name: String, pane: ResourceLocation, edge: ResourceLocation): AItemModelBuilderpaneSideAlt
fun paneSideAlt(name: String, pane: ResourceLocation, edge: ResourceLocation): AItemModelBuilderpressurePlate
fun pressurePlate(name: String, texture: ResourceLocation): AItemModelBuilderpressurePlateDown
fun pressurePlateDown(name: String, texture: ResourceLocation): AItemModelBuilderrun
open override fun run(cache: CachedOutput): CompletableFuture<*>sign
fun sign(name: String, texture: ResourceLocation): AItemModelBuildersingleTexture
fun singleTexture(name: String, parent: ResourceLocation, texture: ResourceLocation): AItemModelBuilderfun singleTexture(name: String, parent: ResourceLocation, textureKey: String, texture: ResourceLocation): AItemModelBuilderslab
fun slab(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderslabTop
fun slabTop(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderstairs
fun stairs(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderstairsInner
fun stairsInner(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuilderstairsOuter
fun stairsOuter(name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation): AItemModelBuildertorch
fun torch(name: String, torch: ResourceLocation): AItemModelBuildertorchWall
fun torchWall(name: String, torch: ResourceLocation): AItemModelBuildertrapdoorBottom
fun trapdoorBottom(name: String, texture: ResourceLocation): AItemModelBuildertrapdoorOpen
fun trapdoorOpen(name: String, texture: ResourceLocation): AItemModelBuildertrapdoorOrientableBottom
fun trapdoorOrientableBottom(name: String, texture: ResourceLocation): AItemModelBuildertrapdoorOrientableOpen
fun trapdoorOrientableOpen(name: String, texture: ResourceLocation): AItemModelBuildertrapdoorOrientableTop
fun trapdoorOrientableTop(name: String, texture: ResourceLocation): AItemModelBuildertrapdoorTop
fun trapdoorTop(name: String, texture: ResourceLocation): AItemModelBuilderwallInventory
fun wallInventory(name: String, wall: ResourceLocation): AItemModelBuilderwallPost
fun wallPost(name: String, wall: ResourceLocation): AItemModelBuilderwallSide
fun wallSide(name: String, wall: ResourceLocation): AItemModelBuilderwallSideTall
fun wallSideTall(name: String, wall: ResourceLocation): AItemModelBuilderwithExistingParent
fun withExistingParent(name: String, parent: String, block: AItemModelBuilder.() -> Unit = {}): AItemModelBuilderfun withExistingParent(name: String, parent: ResourceLocation, block: AItemModelBuilder.() -> Unit = {}): AItemModelBuilder