Package | Description |
---|---|
net.minecraftforge.client.model.generators |
Modifier and Type | Field and Description |
---|---|
private VariantBlockStateBuilder |
VariantBlockStateBuilder.PartialBlockstate.outerBuilder |
Modifier and Type | Method and Description |
---|---|
VariantBlockStateBuilder |
VariantBlockStateBuilder.addModels(VariantBlockStateBuilder.PartialBlockstate state,
ConfiguredModel... models)
Assign some models to a given
partial state . |
VariantBlockStateBuilder |
VariantBlockStateBuilder.forAllStates(java.util.function.Function<BlockState,ConfiguredModel[]> mapper) |
VariantBlockStateBuilder |
VariantBlockStateBuilder.forAllStatesExcept(java.util.function.Function<BlockState,ConfiguredModel[]> mapper,
IProperty<?>... ignored) |
VariantBlockStateBuilder |
BlockStateProvider.getVariantBuilder(Block b) |
VariantBlockStateBuilder |
VariantBlockStateBuilder.PartialBlockstate.setModels(ConfiguredModel... models)
Set this variant's models, and return the parent builder.
|
VariantBlockStateBuilder |
VariantBlockStateBuilder.setModels(VariantBlockStateBuilder.PartialBlockstate state,
ConfiguredModel... model)
Assign some models to a given
partial state ,
throwing an exception if the state has already been configured. |
Modifier and Type | Method and Description |
---|---|
(package private) static ConfiguredModel.Builder<VariantBlockStateBuilder> |
ConfiguredModel.builder(VariantBlockStateBuilder outer,
VariantBlockStateBuilder.PartialBlockstate state) |
ConfiguredModel.Builder<VariantBlockStateBuilder> |
VariantBlockStateBuilder.PartialBlockstate.modelForState()
Creates a builder for models to assign to this state, which when completed
via
ConfiguredModel.Builder.addModel() will assign the resultant set
of models to this state. |
Modifier and Type | Method and Description |
---|---|
(package private) static ConfiguredModel.Builder<VariantBlockStateBuilder> |
ConfiguredModel.builder(VariantBlockStateBuilder outer,
VariantBlockStateBuilder.PartialBlockstate state) |
Constructor and Description |
---|
PartialBlockstate(Block owner,
java.util.Map<IProperty<?>,java.lang.Comparable<?>> setStates,
VariantBlockStateBuilder outerBuilder) |
PartialBlockstate(Block owner,
VariantBlockStateBuilder outerBuilder) |