Skip to content

commonnet.kernelpanicsoft.archie.data.client.modelABlockStateProvider

ABlockStateProvider


abstract class ABlockStateProvider(val output: PackOutput, val mod: Mod, val exitOnError: Boolean) : IADataProvider

Constructors

ABlockStateProvider

constructor(output: PackOutput, mod: Mod, exitOnError: Boolean)

Types

Companion


object Companion

ConfiguredModelList


Properties

exitOnError


override val exitOnError: Boolean

mod


override val mod: Mod

output


override val output: PackOutput

Functions

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


blockTexture


fun blockTexture(block: Block): ResourceLocation

buttonBlock


fun buttonBlock(block: ButtonBlock, texture: ResourceLocation)

fun buttonBlock(block: ButtonBlock, button: AModelFile, buttonPressed: AModelFile)

cubeAll


fun cubeAll(block: Block): AModelFile

directionalBlock


@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, name: String, 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


open fun format(name: String): String

fourWayBlock


fun fourWayBlock(block: CrossCollisionBlock, post: AModelFile, side: AModelFile)

fourWayMultipart


getMultipartBuilder


getName


open override fun getName(): String

getVariantBuilder


horizontalBlock


@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


logBlock


fun logBlock(block: RotatedPillarBlock)

logBlockWithRenderType


fun logBlockWithRenderType(block: RotatedPillarBlock, renderType: String)

fun logBlockWithRenderType(block: RotatedPillarBlock, renderType: ResourceLocation)

mcLoc


open fun mcLoc(name: String): ResourceLocation

modLoc


open fun modLoc(name: String): ResourceLocation

paneBlock


fun paneBlock(block: IronBarsBlock, pane: ResourceLocation, edge: ResourceLocation)

fun paneBlock(block: IronBarsBlock, name: String, 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, name: String, 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)