common • net.kernelpanicsoft.archie.data.client.model • ABlockStateProvider
ABlockStateProvider
abstract class ABlockStateProvider(val output: PackOutput, val mod: Mod, val exitOnError: Boolean) : IADataProviderConstructors
ABlockStateProvider
constructor(output: PackOutput, mod: Mod, exitOnError: Boolean)Types
Companion
object CompanionConfiguredModelList
class ConfiguredModelListProperties
exitOnError
override val exitOnError: Booleanmod
override val mod: Modoutput
override val output: PackOutputFunctions
axisBlock
@JvmOverloadsfun axisBlock(block: RotatedPillarBlock, baseName: ResourceLocation = blockTexture(block))fun axisBlock(block: RotatedPillarBlock, vertical: AModelFile, horizontal: AModelFile)fun axisBlock(block: RotatedPillarBlock, side: ResourceLocation, end: ResourceLocation)axisBlockWithRenderType
fun axisBlockWithRenderType(block: RotatedPillarBlock, renderType: String)fun axisBlockWithRenderType(block: RotatedPillarBlock, renderType: ResourceLocation)fun axisBlockWithRenderType(block: RotatedPillarBlock, baseName: ResourceLocation, renderType: String)fun axisBlockWithRenderType(block: RotatedPillarBlock, baseName: ResourceLocation, renderType: ResourceLocation)fun axisBlockWithRenderType(block: RotatedPillarBlock, side: ResourceLocation, end: ResourceLocation, renderType: String)fun axisBlockWithRenderType(block: RotatedPillarBlock, side: ResourceLocation, end: ResourceLocation, renderType: ResourceLocation)blockModels
fun blockModels(block: ABlockModelProvider.() -> Unit = {}): ABlockModelProviderblockTexture
fun blockTexture(block: Block): ResourceLocationbuttonBlock
fun buttonBlock(block: ButtonBlock, texture: ResourceLocation)fun buttonBlock(block: ButtonBlock, button: AModelFile, buttonPressed: AModelFile)cubeAll
fun cubeAll(block: Block): AModelFiledirectionalBlock
@JvmOverloadsfun directionalBlock(block: Block, modelFunc: Function<BlockState, AModelFile>, angleOffset: Int = DEFAULT_ANGLE_OFFSET)@JvmOverloadsfun directionalBlock(block: Block, model: AModelFile, angleOffset: Int = DEFAULT_ANGLE_OFFSET)doorBlock
fun doorBlock(block: DoorBlock, bottom: ResourceLocation, top: ResourceLocation)fun doorBlock(block: DoorBlock, bottomLeft: AModelFile, bottomLeftOpen: AModelFile, bottomRight: AModelFile, bottomRightOpen: AModelFile, topLeft: AModelFile, topLeftOpen: AModelFile, topRight: AModelFile, topRightOpen: AModelFile)doorBlockWithRenderType
fun doorBlockWithRenderType(block: DoorBlock, bottom: ResourceLocation, top: ResourceLocation, renderType: String)fun doorBlockWithRenderType(block: DoorBlock, bottom: ResourceLocation, top: ResourceLocation, renderType: ResourceLocation)fun doorBlockWithRenderType(block: DoorBlock, name: String, bottom: ResourceLocation, top: ResourceLocation, renderType: String)fun doorBlockWithRenderType(block: DoorBlock, name: String, bottom: ResourceLocation, top: ResourceLocation, renderType: ResourceLocation)fenceBlock
fun fenceBlock(block: FenceBlock, texture: ResourceLocation)fun fenceBlock(block: FenceBlock, name: String, texture: ResourceLocation)fenceBlockWithRenderType
fun fenceBlockWithRenderType(block: FenceBlock, texture: ResourceLocation, renderType: String)fun fenceBlockWithRenderType(block: FenceBlock, texture: ResourceLocation, renderType: ResourceLocation)fun fenceBlockWithRenderType(block: FenceBlock, name: String, texture: ResourceLocation, renderType: String)fun fenceBlockWithRenderType(block: FenceBlock, name: String, texture: ResourceLocation, renderType: ResourceLocation)fenceGateBlock
fun fenceGateBlock(block: FenceGateBlock, texture: ResourceLocation)fun fenceGateBlock(block: FenceGateBlock, name: String, texture: ResourceLocation)fun fenceGateBlock(block: FenceGateBlock, gate: AModelFile, gateOpen: AModelFile, gateWall: AModelFile, gateWallOpen: AModelFile)fenceGateBlockWithRenderType
fun fenceGateBlockWithRenderType(block: FenceGateBlock, texture: ResourceLocation, renderType: String)fun fenceGateBlockWithRenderType(block: FenceGateBlock, texture: ResourceLocation, renderType: ResourceLocation)fun fenceGateBlockWithRenderType(block: FenceGateBlock, name: String, texture: ResourceLocation, renderType: String)fun fenceGateBlockWithRenderType(block: FenceGateBlock, name: String, texture: ResourceLocation, renderType: ResourceLocation)format
fourWayBlock
fun fourWayBlock(block: CrossCollisionBlock, post: AModelFile, side: AModelFile)fourWayMultipart
fun fourWayMultipart(builder: AMultiPartBlockStateBuilder, side: AModelFile)getMultipartBuilder
fun getMultipartBuilder(b: Block, block: AMultiPartBlockStateBuilder.() -> Unit = {}): AMultiPartBlockStateBuildergetName
getVariantBuilder
fun getVariantBuilder(b: Block, block: AVariantBlockStateBuilder.() -> Unit = {}): AVariantBlockStateBuilderhorizontalBlock
@JvmOverloadsfun horizontalBlock(block: Block, modelFunc: Function<BlockState, AModelFile>, angleOffset: Int = DEFAULT_ANGLE_OFFSET)@JvmOverloadsfun horizontalBlock(block: Block, model: AModelFile, angleOffset: Int = DEFAULT_ANGLE_OFFSET)fun horizontalBlock(block: Block, side: ResourceLocation, front: ResourceLocation, top: ResourceLocation)horizontalFaceBlock
@JvmOverloadsfun horizontalFaceBlock(block: Block, modelFunc: Function<BlockState, AModelFile>, angleOffset: Int = DEFAULT_ANGLE_OFFSET)@JvmOverloadsfun horizontalFaceBlock(block: Block, model: AModelFile, angleOffset: Int = DEFAULT_ANGLE_OFFSET)itemModels
fun itemModels(block: AItemModelProvider.() -> Unit = {}): AItemModelProviderlogBlock
fun logBlock(block: RotatedPillarBlock)logBlockWithRenderType
fun logBlockWithRenderType(block: RotatedPillarBlock, renderType: String)fun logBlockWithRenderType(block: RotatedPillarBlock, renderType: ResourceLocation)mcLoc
modLoc
paneBlock
fun paneBlock(block: IronBarsBlock, pane: ResourceLocation, edge: ResourceLocation)fun paneBlock(block: IronBarsBlock, post: AModelFile, side: AModelFile, sideAlt: AModelFile, noSide: AModelFile, noSideAlt: AModelFile)paneBlockWithRenderType
fun paneBlockWithRenderType(block: IronBarsBlock, pane: ResourceLocation, edge: ResourceLocation, renderType: String)fun paneBlockWithRenderType(block: IronBarsBlock, pane: ResourceLocation, edge: ResourceLocation, renderType: ResourceLocation)fun paneBlockWithRenderType(block: IronBarsBlock, name: String, pane: ResourceLocation, edge: ResourceLocation, renderType: String)fun paneBlockWithRenderType(block: IronBarsBlock, name: String, pane: ResourceLocation, edge: ResourceLocation, renderType: ResourceLocation)pressurePlateBlock
fun pressurePlateBlock(block: PressurePlateBlock, texture: ResourceLocation)fun pressurePlateBlock(block: PressurePlateBlock, pressurePlate: AModelFile, pressurePlateDown: AModelFile)run
open override fun run(cache: CachedOutput): CompletableFuture<*>signBlock
fun signBlock(signBlock: StandingSignBlock, wallSignBlock: WallSignBlock, sign: AModelFile)fun signBlock(signBlock: StandingSignBlock, wallSignBlock: WallSignBlock, texture: ResourceLocation)simpleBlock
fun simpleBlock(block: Block, expander: Function<AModelFile, Array<AConfiguredModel>>)fun simpleBlock(block: Block, vararg models: AConfiguredModel)@JvmOverloadsfun simpleBlock(block: Block, model: AModelFile = cubeAll(block))simpleBlockItem
fun simpleBlockItem(block: Block, model: AModelFile)simpleBlockWithItem
fun simpleBlockWithItem(block: Block, model: AModelFile = cubeAll(block))slabBlock
fun slabBlock(block: SlabBlock, doubleslab: ResourceLocation, texture: ResourceLocation)fun slabBlock(block: SlabBlock, bottom: AModelFile, top: AModelFile, doubleslab: AModelFile)fun slabBlock(block: SlabBlock, doubleslab: ResourceLocation, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation)stairsBlock
fun stairsBlock(block: StairBlock, texture: ResourceLocation)fun stairsBlock(block: StairBlock, name: String, texture: ResourceLocation)fun stairsBlock(block: StairBlock, stairs: AModelFile, stairsInner: AModelFile, stairsOuter: AModelFile)fun stairsBlock(block: StairBlock, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation)fun stairsBlock(block: StairBlock, name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation)stairsBlockWithRenderType
fun stairsBlockWithRenderType(block: StairBlock, texture: ResourceLocation, renderType: String)fun stairsBlockWithRenderType(block: StairBlock, texture: ResourceLocation, renderType: ResourceLocation)fun stairsBlockWithRenderType(block: StairBlock, name: String, texture: ResourceLocation, renderType: String)fun stairsBlockWithRenderType(block: StairBlock, name: String, texture: ResourceLocation, renderType: ResourceLocation)fun stairsBlockWithRenderType(block: StairBlock, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation, renderType: String)fun stairsBlockWithRenderType(block: StairBlock, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation, renderType: ResourceLocation)fun stairsBlockWithRenderType(block: StairBlock, name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation, renderType: String)fun stairsBlockWithRenderType(block: StairBlock, name: String, side: ResourceLocation, bottom: ResourceLocation, top: ResourceLocation, renderType: ResourceLocation)trapdoorBlock
fun trapdoorBlock(block: TrapDoorBlock, texture: ResourceLocation, orientable: Boolean)fun trapdoorBlock(block: TrapDoorBlock, name: String, texture: ResourceLocation, orientable: Boolean)fun trapdoorBlock(block: TrapDoorBlock, bottom: AModelFile, top: AModelFile, open: AModelFile, orientable: Boolean)trapdoorBlockWithRenderType
fun trapdoorBlockWithRenderType(block: TrapDoorBlock, texture: ResourceLocation, orientable: Boolean, renderType: String)fun trapdoorBlockWithRenderType(block: TrapDoorBlock, texture: ResourceLocation, orientable: Boolean, renderType: ResourceLocation)fun trapdoorBlockWithRenderType(block: TrapDoorBlock, name: String, texture: ResourceLocation, orientable: Boolean, renderType: String)fun trapdoorBlockWithRenderType(block: TrapDoorBlock, name: String, texture: ResourceLocation, orientable: Boolean, renderType: ResourceLocation)wallBlock
fun wallBlock(block: WallBlock, texture: ResourceLocation)fun wallBlock(block: WallBlock, post: AModelFile, side: AModelFile, sideTall: AModelFile)wallBlockWithRenderType
fun wallBlockWithRenderType(block: WallBlock, texture: ResourceLocation, renderType: String)fun wallBlockWithRenderType(block: WallBlock, texture: ResourceLocation, renderType: ResourceLocation)fun wallBlockWithRenderType(block: WallBlock, name: String, texture: ResourceLocation, renderType: String)fun wallBlockWithRenderType(block: WallBlock, name: String, texture: ResourceLocation, renderType: ResourceLocation)