Class CommonBlockStateProvider

java.lang.Object
net.minecraftforge.client.model.generators.BlockStateProvider
info.u_team.u_team_core.data.CommonBlockStateProvider
All Implemented Interfaces:
CommonDataProvider<Void>, CommonDataProvider.NoParam, net.minecraft.data.DataProvider
Direct Known Subclasses:
UCoreBlockStatesProvider

public abstract class CommonBlockStateProvider extends net.minecraftforge.client.model.generators.BlockStateProvider implements CommonDataProvider.NoParam
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.client.model.generators.BlockStateProvider

    net.minecraftforge.client.model.generators.BlockStateProvider.ConfiguredModelList

    Nested classes/interfaces inherited from interface info.u_team.u_team_core.data.CommonDataProvider

    CommonDataProvider.NoParam
  • Field Summary

    Fields inherited from class net.minecraftforge.client.model.generators.BlockStateProvider

    registeredBlocks, WALL_PROPS

    Fields inherited from interface net.minecraft.data.DataProvider

    FIXED_ORDER_FIELDS, KEY_COMPARATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.minecraftforge.client.model.generators.BlockModelBuilder
    cubeFacing(String name, net.minecraft.resources.ResourceLocation front, net.minecraft.resources.ResourceLocation side)
     
    protected net.minecraftforge.client.model.generators.BlockModelBuilder
    cubeFacing(String name, net.minecraft.resources.ResourceLocation front, net.minecraft.resources.ResourceLocation side, net.minecraft.resources.ResourceLocation particle)
     
    protected net.minecraftforge.client.model.generators.BlockModelBuilder
    cubeFacingBottomTop(String name, net.minecraft.resources.ResourceLocation front, net.minecraft.resources.ResourceLocation bottom, net.minecraft.resources.ResourceLocation top, net.minecraft.resources.ResourceLocation side)
     
    protected net.minecraftforge.client.model.generators.BlockModelBuilder
    cubeFacingBottomTop(String name, net.minecraft.resources.ResourceLocation front, net.minecraft.resources.ResourceLocation bottom, net.minecraft.resources.ResourceLocation top, net.minecraft.resources.ResourceLocation side, net.minecraft.resources.ResourceLocation particle)
     
    protected void
    facingBlock(net.minecraft.world.level.block.Block block, Function<net.minecraft.world.level.block.state.BlockState,net.minecraftforge.client.model.generators.ModelFile> modelFunc, int angleOffset)
     
    protected void
    facingBlock(net.minecraft.world.level.block.Block block, net.minecraftforge.client.model.generators.ModelFile modelFile)
     
    protected void
    facingBlock(net.minecraft.world.level.block.Block block, net.minecraftforge.client.model.generators.ModelFile modelFile, int angleOffset)
     
     
     
    protected String
    getPath(net.minecraft.world.level.block.Block block)
     
    protected final void
     

    Methods inherited from class net.minecraftforge.client.model.generators.BlockStateProvider

    axisBlock, axisBlock, axisBlock, axisBlock, axisBlockWithRenderType, axisBlockWithRenderType, axisBlockWithRenderType, axisBlockWithRenderType, axisBlockWithRenderType, axisBlockWithRenderType, blockTexture, buttonBlock, buttonBlock, cubeAll, directionalBlock, directionalBlock, directionalBlock, directionalBlock, doorBlock, doorBlock, doorBlock, doorBlockWithRenderType, doorBlockWithRenderType, doorBlockWithRenderType, doorBlockWithRenderType, fenceBlock, fenceBlock, fenceBlockWithRenderType, fenceBlockWithRenderType, fenceBlockWithRenderType, fenceBlockWithRenderType, fenceGateBlock, fenceGateBlock, fenceGateBlock, fenceGateBlockWithRenderType, fenceGateBlockWithRenderType, fenceGateBlockWithRenderType, fenceGateBlockWithRenderType, fourWayBlock, fourWayMultipart, getMultipartBuilder, getVariantBuilder, horizontalBlock, horizontalBlock, horizontalBlock, horizontalBlock, horizontalBlock, horizontalFaceBlock, horizontalFaceBlock, horizontalFaceBlock, horizontalFaceBlock, itemModels, logBlock, logBlockWithRenderType, logBlockWithRenderType, mcLoc, models, modLoc, paneBlock, paneBlock, paneBlock, paneBlockWithRenderType, paneBlockWithRenderType, paneBlockWithRenderType, paneBlockWithRenderType, pressurePlateBlock, pressurePlateBlock, run, signBlock, signBlock, simpleBlock, simpleBlock, simpleBlock, simpleBlock, simpleBlockItem, slabBlock, slabBlock, slabBlock, stairsBlock, stairsBlock, stairsBlock, stairsBlock, stairsBlock, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, trapdoorBlock, trapdoorBlock, trapdoorBlock, trapdoorBlockWithRenderType, trapdoorBlockWithRenderType, trapdoorBlockWithRenderType, trapdoorBlockWithRenderType, wallBlock, wallBlock, wallBlock, wallBlockWithRenderType, wallBlockWithRenderType, wallBlockWithRenderType, wallBlockWithRenderType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface info.u_team.u_team_core.data.CommonDataProvider

    modid

    Methods inherited from interface info.u_team.u_team_core.data.CommonDataProvider.NoParam

    register, register

    Methods inherited from interface net.minecraft.data.DataProvider

    run
  • Constructor Details

    • CommonBlockStateProvider

      public CommonBlockStateProvider(GenerationData generationData)
  • Method Details

    • getGenerationData

      public GenerationData getGenerationData()
      Specified by:
      getGenerationData in interface CommonDataProvider<Void>
    • registerStatesAndModels

      protected final void registerStatesAndModels()
      Specified by:
      registerStatesAndModels in class net.minecraftforge.client.model.generators.BlockStateProvider
    • getName

      public String getName()
      Specified by:
      getName in interface net.minecraft.data.DataProvider
      Overrides:
      getName in class net.minecraftforge.client.model.generators.BlockStateProvider
    • facingBlock

      protected void facingBlock(net.minecraft.world.level.block.Block block, net.minecraftforge.client.model.generators.ModelFile modelFile)
    • facingBlock

      protected void facingBlock(net.minecraft.world.level.block.Block block, net.minecraftforge.client.model.generators.ModelFile modelFile, int angleOffset)
    • facingBlock

      protected void facingBlock(net.minecraft.world.level.block.Block block, Function<net.minecraft.world.level.block.state.BlockState,net.minecraftforge.client.model.generators.ModelFile> modelFunc, int angleOffset)
    • cubeFacing

      protected net.minecraftforge.client.model.generators.BlockModelBuilder cubeFacing(String name, net.minecraft.resources.ResourceLocation front, net.minecraft.resources.ResourceLocation side)
    • cubeFacing

      protected net.minecraftforge.client.model.generators.BlockModelBuilder cubeFacing(String name, net.minecraft.resources.ResourceLocation front, net.minecraft.resources.ResourceLocation side, net.minecraft.resources.ResourceLocation particle)
    • cubeFacingBottomTop

      protected net.minecraftforge.client.model.generators.BlockModelBuilder cubeFacingBottomTop(String name, net.minecraft.resources.ResourceLocation front, net.minecraft.resources.ResourceLocation bottom, net.minecraft.resources.ResourceLocation top, net.minecraft.resources.ResourceLocation side)
    • cubeFacingBottomTop

      protected net.minecraftforge.client.model.generators.BlockModelBuilder cubeFacingBottomTop(String name, net.minecraft.resources.ResourceLocation front, net.minecraft.resources.ResourceLocation bottom, net.minecraft.resources.ResourceLocation top, net.minecraft.resources.ResourceLocation side, net.minecraft.resources.ResourceLocation particle)
    • getPath

      protected String getPath(net.minecraft.world.level.block.Block block)