Package vazkii.botania.data
Class BlockstateProvider
java.lang.Object
vazkii.botania.data.BlockstateProvider
- All Implemented Interfaces:
net.minecraft.data.DataProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
net.minecraft.data.DataProvider.Factory<T extends net.minecraft.data.DataProvider> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<net.minecraft.data.models.blockstates.BlockStateGenerator> protected final BiConsumer<net.minecraft.resources.ResourceLocation, Supplier<com.google.gson.JsonElement>> protected final net.minecraft.data.PackOutputFields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.resources.ResourceLocationcheckeredBlockWithBlockstate(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture, net.minecraft.resources.ResourceLocation mirroredTexture) protected voidcheckeredSlabBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation doubleModel, net.minecraft.resources.ResourceLocation texture, net.minecraft.resources.ResourceLocation mirroredTexture) protected voidcheckeredStairsBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture, net.minecraft.resources.ResourceLocation mirroredTexture) protected voidcheckeredWallBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture, net.minecraft.resources.ResourceLocation mirroredTexture) protected voidcubeAll(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block) protected voidcubeAllNoRemove(net.minecraft.world.level.block.Block block) protected voidcubeAllWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] models, Integer[] weights) protected voidcubeAllWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures) protected voidcubeAllWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures, Integer[] weights) protected voiddirectionalPillar(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation top, net.minecraft.resources.ResourceLocation bottom, net.minecraft.resources.ResourceLocation side) protected voiddirectionalPillarWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] topModels, net.minecraft.resources.ResourceLocation[] horizontalModels, Integer[] weights) protected voiddirectionalPillarWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] topTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] sideTextures) protected voiddirectionalPillarWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] topTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] sideTextures, Integer[] weights) protected voidfenceBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation tex) protected voidfenceGateBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation tex) protected org.slf4j.Logger@NotNull StringgetName()protected voidmanualModel(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block b) protected net.minecraft.data.models.blockstates.VariantmaybeUVLock(Boolean uvlock, net.minecraft.data.models.blockstates.Variant variant) protected net.minecraft.data.models.blockstates.VariantmaybeWeight(int weight, net.minecraft.data.models.blockstates.Variant variant) protected net.minecraft.data.models.blockstates.VariantmaybeXRot(net.minecraft.data.models.blockstates.VariantProperties.Rotation rotation, net.minecraft.data.models.blockstates.Variant variant) protected net.minecraft.data.models.blockstates.VariantmaybeYRot(net.minecraft.data.models.blockstates.VariantProperties.Rotation rotation, net.minecraft.data.models.blockstates.Variant variant) protected voidparticleOnly(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block b, net.minecraft.resources.ResourceLocation particle) protected voidpillar(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation top, net.minecraft.resources.ResourceLocation side) protected voidpillarAlt(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation top, net.minecraft.resources.ResourceLocation side) protected voidpillarAltWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] yModels, net.minecraft.resources.ResourceLocation[] xModels, net.minecraft.resources.ResourceLocation[] zModels) protected voidpillarAltWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] topTextures, net.minecraft.resources.ResourceLocation[] sideTextures) protected voidpillarWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] topModels, net.minecraft.resources.ResourceLocation[] horizontalModels, Integer[] weights) protected voidpillarWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] topTextures, net.minecraft.resources.ResourceLocation[] sideTextures) protected voidpillarWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] topTextures, net.minecraft.resources.ResourceLocation[] sideTextures, Integer[] weights) protected voidredStringBlock(net.minecraft.world.level.block.Block b) protected voidprotected voidrotatedMirrored(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture) protected voidrotatedMirroredWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] models, net.minecraft.resources.ResourceLocation[] mirroredModels, Integer[] weights) protected voidrotatedMirroredWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures) protected voidrotatedMirroredWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures, Integer[] weights) run(net.minecraft.data.CachedOutput cache) protected voidsingleVariantBlockState(net.minecraft.world.level.block.Block b, net.minecraft.resources.ResourceLocation model) protected voidslabBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation doubleModel, net.minecraft.resources.ResourceLocation side, net.minecraft.resources.ResourceLocation bottom, net.minecraft.resources.ResourceLocation top) protected voidslabBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] bottomModels, net.minecraft.resources.ResourceLocation[] topModels, net.minecraft.resources.ResourceLocation[] doubleModels, Integer[] weights) protected voidslabBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation bottomModel, net.minecraft.resources.ResourceLocation topModel, net.minecraft.resources.ResourceLocation doubleModel) protected voidslabBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] doubleModels, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures) protected voidslabBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] doubleModels, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures, Integer[] weights) protected voidstairsBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation sideTex, net.minecraft.resources.ResourceLocation bottomTex, net.minecraft.resources.ResourceLocation topTex) protected voidstairsBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] innerModels, net.minecraft.resources.ResourceLocation[] straightModels, net.minecraft.resources.ResourceLocation[] outerModels, Integer[] weights) protected voidstairsBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] innerModels, net.minecraft.resources.ResourceLocation[] straightModels, net.minecraft.resources.ResourceLocation[] outerModels, Integer[] weights, Boolean uvlock) protected voidstairsBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] innerModels, net.minecraft.resources.ResourceLocation[] innerModelsRot90, net.minecraft.resources.ResourceLocation[] straightModels, net.minecraft.resources.ResourceLocation[] straightModelsRot90, net.minecraft.resources.ResourceLocation[] outerModels, net.minecraft.resources.ResourceLocation[] outerModelsRot90, Integer[] weights, Boolean uvlock) protected voidstairsBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation innerModel, net.minecraft.resources.ResourceLocation innerModelRot90, net.minecraft.resources.ResourceLocation straightModel, net.minecraft.resources.ResourceLocation straightModelRot90, net.minecraft.resources.ResourceLocation outerModel, net.minecraft.resources.ResourceLocation outerModelRot90) protected voidstairsBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures) protected voidstairsBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures, Integer[] weights) final <T> Collection<T> final <T> Collection<T> protected voidwallBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture) protected voidwallBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation sideTexture, net.minecraft.resources.ResourceLocation bottomTexture, net.minecraft.resources.ResourceLocation topTexture) protected voidwallBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] postModels, net.minecraft.resources.ResourceLocation[] lowModels, net.minecraft.resources.ResourceLocation[] tallModels, Integer[] weights) protected voidwallBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] postModels, net.minecraft.resources.ResourceLocation[] lowModels, net.minecraft.resources.ResourceLocation[] tallModels, Integer[] weights, Boolean uvlock) protected voidwallBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] postModels, net.minecraft.resources.ResourceLocation[] lowModels, net.minecraft.resources.ResourceLocation[] lowModelsRot90, net.minecraft.resources.ResourceLocation[] tallModels, net.minecraft.resources.ResourceLocation[] tallodelsRot90, Integer[] weights, Boolean uvlock) protected voidwallBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation postModel, net.minecraft.resources.ResourceLocation lowModel, net.minecraft.resources.ResourceLocation lowModelRot90, net.minecraft.resources.ResourceLocation tallModel, net.minecraft.resources.ResourceLocation tallodelRot90) protected voidwallBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures) protected voidwallBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures, Integer[] weights) protected voidwallBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures) protected voidwallBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures, Integer[] weights) protected <T> net.minecraft.data.models.blockstates.VariantwithMaybe(net.minecraft.data.models.blockstates.VariantProperty<T> property, T value, boolean shouldAdd, net.minecraft.data.models.blockstates.Variant variant)
-
Field Details
-
packOutput
protected final net.minecraft.data.PackOutput packOutput -
blockstates
-
models
-
modelOutput
protected final BiConsumer<net.minecraft.resources.ResourceLocation,Supplier<com.google.gson.JsonElement>> modelOutput
-
-
Constructor Details
-
BlockstateProvider
public BlockstateProvider(net.minecraft.data.PackOutput packOutput)
-
-
Method Details
-
getLogger
protected org.slf4j.Logger getLogger() -
getName
- Specified by:
getNamein interfacenet.minecraft.data.DataProvider
-
run
- Specified by:
runin interfacenet.minecraft.data.DataProvider
-
registerStatesAndModels
protected void registerStatesAndModels() -
particleOnly
protected void particleOnly(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block b, net.minecraft.resources.ResourceLocation particle) -
manualModel
protected void manualModel(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block b) -
stairsBlock
protected void stairsBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation sideTex, net.minecraft.resources.ResourceLocation bottomTex, net.minecraft.resources.ResourceLocation topTex) -
checkeredStairsBlock
protected void checkeredStairsBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture, net.minecraft.resources.ResourceLocation mirroredTexture) -
stairsBlockWithVariants
protected void stairsBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures) -
stairsBlockWithVariants
protected void stairsBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures, Integer[] weights) -
stairsBlockWithModels
protected void stairsBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] innerModels, net.minecraft.resources.ResourceLocation[] straightModels, net.minecraft.resources.ResourceLocation[] outerModels, Integer[] weights) -
stairsBlockWithModels
protected void stairsBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation innerModel, net.minecraft.resources.ResourceLocation innerModelRot90, net.minecraft.resources.ResourceLocation straightModel, net.minecraft.resources.ResourceLocation straightModelRot90, net.minecraft.resources.ResourceLocation outerModel, net.minecraft.resources.ResourceLocation outerModelRot90) -
stairsBlockWithModels
protected void stairsBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] innerModels, net.minecraft.resources.ResourceLocation[] straightModels, net.minecraft.resources.ResourceLocation[] outerModels, Integer[] weights, Boolean uvlock) -
stairsBlockWithModels
protected void stairsBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] innerModels, net.minecraft.resources.ResourceLocation[] innerModelsRot90, net.minecraft.resources.ResourceLocation[] straightModels, net.minecraft.resources.ResourceLocation[] straightModelsRot90, net.minecraft.resources.ResourceLocation[] outerModels, net.minecraft.resources.ResourceLocation[] outerModelsRot90, Integer[] weights, Boolean uvlock) -
slabBlock
protected void slabBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation doubleModel, net.minecraft.resources.ResourceLocation side, net.minecraft.resources.ResourceLocation bottom, net.minecraft.resources.ResourceLocation top) -
checkeredSlabBlock
protected void checkeredSlabBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation doubleModel, net.minecraft.resources.ResourceLocation texture, net.minecraft.resources.ResourceLocation mirroredTexture) -
slabBlockWithVariants
protected void slabBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] doubleModels, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures) -
slabBlockWithVariants
protected void slabBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] doubleModels, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures, Integer[] weights) -
slabBlockWithModels
protected void slabBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation bottomModel, net.minecraft.resources.ResourceLocation topModel, net.minecraft.resources.ResourceLocation doubleModel) -
slabBlockWithModels
protected void slabBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] bottomModels, net.minecraft.resources.ResourceLocation[] topModels, net.minecraft.resources.ResourceLocation[] doubleModels, Integer[] weights) -
wallBlock
protected void wallBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture) -
wallBlock
protected void wallBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation sideTexture, net.minecraft.resources.ResourceLocation bottomTexture, net.minecraft.resources.ResourceLocation topTexture) -
checkeredWallBlock
protected void checkeredWallBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture, net.minecraft.resources.ResourceLocation mirroredTexture) -
wallBlockWithVariants
protected void wallBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures) -
wallBlockWithVariants
-
wallBlockWithVariants
protected void wallBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures) -
wallBlockWithVariants
protected void wallBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] sideTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] topTextures, Integer[] weights) -
wallBlockWithModels
protected void wallBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] postModels, net.minecraft.resources.ResourceLocation[] lowModels, net.minecraft.resources.ResourceLocation[] tallModels, Integer[] weights) -
wallBlockWithModels
protected void wallBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation postModel, net.minecraft.resources.ResourceLocation lowModel, net.minecraft.resources.ResourceLocation lowModelRot90, net.minecraft.resources.ResourceLocation tallModel, net.minecraft.resources.ResourceLocation tallodelRot90) -
wallBlockWithModels
protected void wallBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] postModels, net.minecraft.resources.ResourceLocation[] lowModels, net.minecraft.resources.ResourceLocation[] tallModels, Integer[] weights, Boolean uvlock) -
wallBlockWithModels
protected void wallBlockWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] postModels, net.minecraft.resources.ResourceLocation[] lowModels, net.minecraft.resources.ResourceLocation[] lowModelsRot90, net.minecraft.resources.ResourceLocation[] tallModels, net.minecraft.resources.ResourceLocation[] tallodelsRot90, Integer[] weights, Boolean uvlock) -
fenceBlock
protected void fenceBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation tex) -
fenceGateBlock
protected void fenceGateBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation tex) -
cubeAllNoRemove
protected void cubeAllNoRemove(net.minecraft.world.level.block.Block block) -
cubeAll
protected void cubeAll(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block) -
checkeredBlockWithBlockstate
protected net.minecraft.resources.ResourceLocation checkeredBlockWithBlockstate(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture, net.minecraft.resources.ResourceLocation mirroredTexture) -
cubeAllWithVariants
protected void cubeAllWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures) -
cubeAllWithVariants
-
cubeAllWithModels
-
singleVariantBlockState
protected void singleVariantBlockState(net.minecraft.world.level.block.Block b, net.minecraft.resources.ResourceLocation model) -
rotatedMirrored
protected void rotatedMirrored(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture) -
rotatedMirroredWithVariants
protected void rotatedMirroredWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures) -
rotatedMirroredWithVariants
-
rotatedMirroredWithModels
-
pillar
protected void pillar(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation top, net.minecraft.resources.ResourceLocation side) -
pillarWithVariants
protected void pillarWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] topTextures, net.minecraft.resources.ResourceLocation[] sideTextures) -
pillarWithVariants
-
pillarWithModels
-
pillarAlt
protected void pillarAlt(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation top, net.minecraft.resources.ResourceLocation side) -
pillarAltWithVariants
protected void pillarAltWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] topTextures, net.minecraft.resources.ResourceLocation[] sideTextures) -
pillarAltWithModels
protected void pillarAltWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] yModels, net.minecraft.resources.ResourceLocation[] xModels, net.minecraft.resources.ResourceLocation[] zModels) -
directionalPillar
protected void directionalPillar(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation top, net.minecraft.resources.ResourceLocation bottom, net.minecraft.resources.ResourceLocation side) -
directionalPillarWithVariants
protected void directionalPillarWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] topTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] sideTextures) -
directionalPillarWithVariants
protected void directionalPillarWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] topTextures, net.minecraft.resources.ResourceLocation[] bottomTextures, net.minecraft.resources.ResourceLocation[] sideTextures, Integer[] weights) -
directionalPillarWithModels
-
withMaybe
protected <T> net.minecraft.data.models.blockstates.Variant withMaybe(net.minecraft.data.models.blockstates.VariantProperty<T> property, T value, boolean shouldAdd, net.minecraft.data.models.blockstates.Variant variant) -
maybeUVLock
protected net.minecraft.data.models.blockstates.Variant maybeUVLock(Boolean uvlock, net.minecraft.data.models.blockstates.Variant variant) -
maybeWeight
protected net.minecraft.data.models.blockstates.Variant maybeWeight(int weight, net.minecraft.data.models.blockstates.Variant variant) -
maybeXRot
protected net.minecraft.data.models.blockstates.Variant maybeXRot(net.minecraft.data.models.blockstates.VariantProperties.Rotation rotation, net.minecraft.data.models.blockstates.Variant variant) -
maybeYRot
protected net.minecraft.data.models.blockstates.Variant maybeYRot(net.minecraft.data.models.blockstates.VariantProperties.Rotation rotation, net.minecraft.data.models.blockstates.Variant variant) -
takeAll
-
takeAll
-
redStringBlock
protected void redStringBlock(net.minecraft.world.level.block.Block b)
-