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 final Map<net.minecraft.world.level.block.WeatheringCopper.WeatherState,Supplier<net.minecraft.world.level.block.Block>> static final CopperBlockSet.Variant<?>[]protected final Stringprotected final Map<CopperBlockSet.Variant<?>,com.tterrag.registrate.util.entry.BlockEntry<?>[]> protected final com.tterrag.registrate.util.nullness.NonNullBiConsumer<com.tterrag.registrate.providers.DataGenContext<net.minecraft.world.level.block.Block,?>, com.tterrag.registrate.providers.RegistrateRecipeProvider> protected final Stringprotected final CopperBlockSet.Variant<?>[]protected static final intprotected static final net.minecraft.world.level.block.WeatheringCopper.WeatherState[] -
Constructor Summary
ConstructorsConstructorDescriptionCopperBlockSet(com.tterrag.registrate.AbstractRegistrate<?> registrate, String name, String endTextureName, CopperBlockSet.Variant<?>[] variants) 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) -
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,?>, mainBlockRecipecom.tterrag.registrate.providers.RegistrateRecipeProvider> -
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, com.tterrag.registrate.util.nullness.NonNullBiConsumer<com.tterrag.registrate.providers.DataGenContext<net.minecraft.world.level.block.Block, ?>, com.tterrag.registrate.providers.RegistrateRecipeProvider> mainBlockRecipe)
-
-
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
-
getEndTextureName
-
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)
-