Uses of Class
net.minecraftforge.client.model.generators.VariantBlockStateBuilder
-
Uses of VariantBlockStateBuilder in net.minecraftforge.client.model.generators
Modifier and TypeFieldDescriptionprivate final @Nullable VariantBlockStateBuilder
VariantBlockStateBuilder.PartialBlockstate.outerBuilder
Modifier and TypeMethodDescriptionVariantBlockStateBuilder.addModels
(VariantBlockStateBuilder.PartialBlockstate state, ConfiguredModel... models) Assign some models to a givenpartial state
.VariantBlockStateBuilder.forAllStates
(Function<BlockState, ConfiguredModel[]> mapper) VariantBlockStateBuilder.forAllStatesExcept
(Function<BlockState, ConfiguredModel[]> mapper, Property<?>... ignored) BlockStateProvider.getVariantBuilder
(Block b) VariantBlockStateBuilder.PartialBlockstate.setModels
(ConfiguredModel... models) Set this variant's models, and return the parent builder.VariantBlockStateBuilder.setModels
(VariantBlockStateBuilder.PartialBlockstate state, ConfiguredModel... model) Assign some models to a givenpartial state
, throwing an exception if the state has already been configured.Modifier and TypeMethodDescription(package private) static ConfiguredModel.Builder<VariantBlockStateBuilder>
ConfiguredModel.builder
(VariantBlockStateBuilder outer, VariantBlockStateBuilder.PartialBlockstate state) VariantBlockStateBuilder.PartialBlockstate.modelForState()
Creates a builder for models to assign to this state, which when completed viaConfiguredModel.Builder.addModel()
will assign the resultant set of models to this state.Modifier and TypeMethodDescription(package private) static ConfiguredModel.Builder<VariantBlockStateBuilder>
ConfiguredModel.builder
(VariantBlockStateBuilder outer, VariantBlockStateBuilder.PartialBlockstate state) ModifierConstructorDescription(package private)
PartialBlockstate
(Block owner, @Nullable VariantBlockStateBuilder outerBuilder) (package private)
PartialBlockstate
(Block owner, Map<Property<?>, Comparable<?>> setStates, @Nullable VariantBlockStateBuilder outerBuilder)