Class BlockstateProvider

java.lang.Object
vazkii.botania.data.BlockstateProvider
All Implemented Interfaces:
net.minecraft.data.DataProvider

public class BlockstateProvider extends Object implements 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

    Fields
    Modifier and Type
    Field
    Description
    protected final List<net.minecraft.data.models.blockstates.BlockStateGenerator>
     
    protected final BiConsumer<net.minecraft.resources.ResourceLocation,Supplier<com.google.gson.JsonElement>>
     
    protected final Map<net.minecraft.resources.ResourceLocation,Supplier<com.google.gson.JsonElement>>
     
    protected final net.minecraft.data.PackOutput
     

    Fields inherited from interface net.minecraft.data.DataProvider

    FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlockstateProvider(net.minecraft.data.PackOutput packOutput)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    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)
     
    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)
     
    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)
     
    protected void
    cubeAll(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block)
     
    protected void
    cubeAllNoRemove(net.minecraft.world.level.block.Block block)
     
    protected void
    cubeAllWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] models, Integer[] weights)
     
    protected void
    cubeAllWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures)
     
    protected void
    cubeAllWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures, Integer[] weights)
     
    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)
     
    protected void
    directionalPillarWithModels(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 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)
     
    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)
     
    protected void
    fenceBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation tex)
     
    protected void
    fenceGateBlock(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 String
     
    protected void
    manualModel(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block b)
     
    protected net.minecraft.data.models.blockstates.Variant
    maybeUVLock(Boolean uvlock, net.minecraft.data.models.blockstates.Variant variant)
     
    protected net.minecraft.data.models.blockstates.Variant
    maybeWeight(int weight, net.minecraft.data.models.blockstates.Variant variant)
     
    protected net.minecraft.data.models.blockstates.Variant
    maybeXRot(net.minecraft.data.models.blockstates.VariantProperties.Rotation rotation, net.minecraft.data.models.blockstates.Variant variant)
     
    protected net.minecraft.data.models.blockstates.Variant
    maybeYRot(net.minecraft.data.models.blockstates.VariantProperties.Rotation rotation, net.minecraft.data.models.blockstates.Variant variant)
     
    protected void
    particleOnly(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block b, net.minecraft.resources.ResourceLocation particle)
     
    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)
     
    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)
     
    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)
     
    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)
     
    protected void
    pillarWithModels(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 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)
     
    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, Integer[] weights)
     
    protected void
    redStringBlock(net.minecraft.world.level.block.Block b)
     
    protected void
     
    protected void
    rotatedMirrored(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture)
     
    protected void
    rotatedMirroredWithModels(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 void
    rotatedMirroredWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures)
     
    protected void
    rotatedMirroredWithVariants(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 void
    singleVariantBlockState(net.minecraft.world.level.block.Block b, net.minecraft.resources.ResourceLocation model)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    final <T> Collection<T>
    takeAll(Set<T> src, Predicate<T> pred)
     
    final <T> Collection<T>
    takeAll(Set<T> src, T... items)
     
    protected void
    wallBlock(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation texture)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    protected void
    wallBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures)
     
    protected void
    wallBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures, Integer[] weights)
     
    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)
     
    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)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • packOutput

      protected final net.minecraft.data.PackOutput packOutput
    • blockstates

      protected final List<net.minecraft.data.models.blockstates.BlockStateGenerator> blockstates
    • models

      protected final Map<net.minecraft.resources.ResourceLocation,Supplier<com.google.gson.JsonElement>> 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

      @NotNull public @NotNull String getName()
      Specified by:
      getName in interface net.minecraft.data.DataProvider
    • run

      public CompletableFuture<?> run(net.minecraft.data.CachedOutput cache)
      Specified by:
      run in interface net.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

      protected void wallBlockWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures, Integer[] weights)
    • 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

      protected void cubeAllWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures, Integer[] weights)
    • cubeAllWithModels

      protected void cubeAllWithModels(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] models, Integer[] weights)
    • 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

      protected void rotatedMirroredWithVariants(Set<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.block.Block block, net.minecraft.resources.ResourceLocation[] textures, Integer[] weights)
    • rotatedMirroredWithModels

      protected void rotatedMirroredWithModels(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)
    • 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

      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, Integer[] weights)
    • pillarWithModels

      protected void pillarWithModels(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)
    • 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

      protected void directionalPillarWithModels(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)
    • 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

      @SafeVarargs public final <T> Collection<T> takeAll(Set<T> src, T... items)
    • takeAll

      public final <T> Collection<T> takeAll(Set<T> src, Predicate<T> pred)
    • redStringBlock

      protected void redStringBlock(net.minecraft.world.level.block.Block b)