Class PaletteBlockPattern

java.lang.Object
com.simibubi.create.content.palettes.PaletteBlockPattern

public class PaletteBlockPattern extends Object
  • Field Details

  • Constructor Details

    • PaletteBlockPattern

      public PaletteBlockPattern()
  • Method Details

    • getBlockStateGenerator

      public com.simibubi.create.content.palettes.PaletteBlockPattern.IPatternBlockStateGenerator getBlockStateGenerator()
    • isTranslucent

      public boolean isTranslucent()
    • getBlockTags

      public net.minecraft.tags.Tag.Named<net.minecraft.world.level.block.Block>[] getBlockTags()
    • getItemTags

      public net.minecraft.tags.Tag.Named<net.minecraft.world.item.Item>[] getItemTags()
    • getBlockFactory

      public com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.level.block.state.BlockBehaviour.Properties,? extends net.minecraft.world.level.block.Block> getBlockFactory()
    • getPartials

      public PaletteBlockPartial<? extends net.minecraft.world.level.block.Block>[] getPartials()
    • getTexture

      public String getTexture(int index)
    • addRecipes

      public void addRecipes(com.tterrag.registrate.util.nullness.NonNullSupplier<net.minecraft.world.level.block.Block> baseBlock, com.tterrag.registrate.providers.DataGenContext<net.minecraft.world.level.block.Block,? extends net.minecraft.world.level.block.Block> c, com.tterrag.registrate.providers.RegistrateRecipeProvider p)
    • createCTBehaviour

      public Optional<Supplier<ConnectedTextureBehaviour>> createCTBehaviour(String variant)
    • cubeAll

      public com.simibubi.create.content.palettes.PaletteBlockPattern.IBlockStateProvider cubeAll(String variant)
    • cubeBottomTop

      public com.simibubi.create.content.palettes.PaletteBlockPattern.IBlockStateProvider cubeBottomTop(String variant)
    • pillar

      public com.simibubi.create.content.palettes.PaletteBlockPattern.IBlockStateProvider pillar(String variant)
    • cubeColumn

      public com.simibubi.create.content.palettes.PaletteBlockPattern.IBlockStateProvider cubeColumn(String variant)
    • createName

      protected String createName(String variant)
    • toLocation

      protected static net.minecraft.resources.ResourceLocation toLocation(String variant, String texture)
    • ct

      protected static CTSpriteShiftEntry ct(String variant, PaletteBlockPattern.CTs texture)