Class CopperBlockSet
java.lang.Object
com.simibubi.create.foundation.block.CopperBlockSet
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic interfaceCopperBlockSet.Variant<T extends net.minecraft.world.level.block.Block> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Map<net.minecraft.world.level.block.WeatheringCopper.WeatherState,Supplier<net.minecraft.world.level.block.Block>>static CopperBlockSet.Variant<?>[]protected Map<CopperBlockSet.Variant<?>,com.tterrag.registrate.util.entry.BlockEntry<?>[]>protected com.tterrag.registrate.util.nullness.NonNullBiConsumer<com.tterrag.registrate.providers.DataGenContext<net.minecraft.world.level.block.Block,?>,com.tterrag.registrate.providers.RegistrateRecipeProvider>protected Stringprotected CopperBlockSet.Variant<?>[]protected static intprotected static net.minecraft.world.level.block.WeatheringCopper.WeatherState[] -
Constructor Summary
ConstructorsConstructorDescriptionCopperBlockSet(com.tterrag.registrate.AbstractRegistrate<?> registrate, String name)CopperBlockSet(com.tterrag.registrate.AbstractRegistrate<?> registrate, String name, CopperBlockSet.Variant<?>[] variants)CopperBlockSet(com.tterrag.registrate.AbstractRegistrate<?> registrate, String name, 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) -
Method Summary
Modifier and TypeMethodDescriptionprotected <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)com.tterrag.registrate.util.entry.BlockEntry<?>get(CopperBlockSet.Variant<?> variant, net.minecraft.world.level.block.WeatheringCopper.WeatherState state, boolean waxed)protected intgetIndex(net.minecraft.world.level.block.WeatheringCopper.WeatherState state, boolean waxed)getName()com.tterrag.registrate.util.entry.BlockEntry<?>static StringgetWeatherStatePrefix(net.minecraft.world.level.block.WeatheringCopper.WeatherState state)booleanhasVariant(CopperBlockSet.Variant<?> variant)
-
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
-
DEFAULT_VARIANTS
-
name
-
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
-
-
Constructor Details
-
CopperBlockSet
public CopperBlockSet(com.tterrag.registrate.AbstractRegistrate<?> registrate, String name, CopperBlockSet.Variant<?>[] variants) -
CopperBlockSet
public CopperBlockSet(com.tterrag.registrate.AbstractRegistrate<?> registrate, String name, 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
-
-
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
-
getVariants
-
hasVariant
-
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)
-