Class CopperBlockSet

java.lang.Object
com.simibubi.create.foundation.block.CopperBlockSet

public class CopperBlockSet extends Object
  • Field Details

    • WEATHER_STATES

      protected static final net.minecraft.world.level.block.WeatheringCopper.WeatherState[] WEATHER_STATES
    • WEATHER_STATE_COUNT

      protected static final int WEATHER_STATE_COUNT
    • BASE_BLOCKS

      protected static final Map<net.minecraft.world.level.block.WeatheringCopper.WeatherState,Supplier<net.minecraft.world.level.block.Block>> BASE_BLOCKS
    • DEFAULT_VARIANTS

      public static final CopperBlockSet.Variant<?>[] DEFAULT_VARIANTS
    • name

      protected final String name
    • generalDirectory

      protected final String generalDirectory
    • variants

      protected final CopperBlockSet.Variant<?>[] variants
    • entries

      protected final Map<CopperBlockSet.Variant<?>,com.tterrag.registrate.util.entry.BlockEntry<?>[]> entries
    • mainBlockRecipe

      protected final com.tterrag.registrate.util.nullness.NonNullBiConsumer<com.tterrag.registrate.providers.DataGenContext<net.minecraft.world.level.block.Block,?>,com.tterrag.registrate.providers.RegistrateRecipeProvider> mainBlockRecipe
    • endTextureName

      protected final String endTextureName
  • Constructor Details

    • CopperBlockSet

      public CopperBlockSet(com.tterrag.registrate.AbstractRegistrate<?> registrate, String name, String endTextureName, CopperBlockSet.Variant<?>[] variants)
    • CopperBlockSet

      public CopperBlockSet(com.tterrag.registrate.AbstractRegistrate<?> registrate, String name, String endTextureName, CopperBlockSet.Variant<?>[] variants, String generalDirectory)
    • CopperBlockSet

      public CopperBlockSet(com.tterrag.registrate.AbstractRegistrate<?> registrate, String name, String endTextureName, CopperBlockSet.Variant<?>[] variants, com.tterrag.registrate.util.nullness.NonNullBiConsumer<com.tterrag.registrate.providers.DataGenContext<net.minecraft.world.level.block.Block,?>,com.tterrag.registrate.providers.RegistrateRecipeProvider> mainBlockRecipe)
    • CopperBlockSet

      public CopperBlockSet(com.tterrag.registrate.AbstractRegistrate<?> registrate, String name, String endTextureName, CopperBlockSet.Variant<?>[] variants, com.tterrag.registrate.util.nullness.NonNullBiConsumer<com.tterrag.registrate.providers.DataGenContext<net.minecraft.world.level.block.Block,?>,com.tterrag.registrate.providers.RegistrateRecipeProvider> mainBlockRecipe, String generalDirectory)
  • Method Details

    • createEntry

      protected <T extends net.minecraft.world.level.block.Block> com.tterrag.registrate.util.entry.BlockEntry<?> createEntry(com.tterrag.registrate.AbstractRegistrate<?> registrate, CopperBlockSet.Variant<T> variant, net.minecraft.world.level.block.WeatheringCopper.WeatherState state, boolean waxed)
    • getIndex

      protected int getIndex(net.minecraft.world.level.block.WeatheringCopper.WeatherState state, boolean waxed)
    • getName

      public String getName()
    • getEndTextureName

      public String getEndTextureName()
    • getVariants

      public CopperBlockSet.Variant<?>[] getVariants()
    • hasVariant

      public boolean hasVariant(CopperBlockSet.Variant<?> variant)
    • get

      public com.tterrag.registrate.util.entry.BlockEntry<?> get(CopperBlockSet.Variant<?> variant, net.minecraft.world.level.block.WeatheringCopper.WeatherState state, boolean waxed)
    • getStandard

      public com.tterrag.registrate.util.entry.BlockEntry<?> getStandard()
    • getWeatherStatePrefix

      public static String getWeatherStatePrefix(net.minecraft.world.level.block.WeatheringCopper.WeatherState state)