Package | Description |
---|---|
net.minecraftforge.client.model.generators |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ConfiguredModel> |
BlockStateProvider.ConfiguredModelList.models |
private java.util.List<ConfiguredModel> |
ConfiguredModel.Builder.otherModels |
Modifier and Type | Method and Description |
---|---|
static ConfiguredModel[] |
ConfiguredModel.allRotations(ModelFile model,
boolean uvlock) |
static ConfiguredModel[] |
ConfiguredModel.allRotations(ModelFile model,
boolean uvlock,
int weight) |
static ConfiguredModel[] |
ConfiguredModel.allYRotations(ModelFile model,
int x,
boolean uvlock) |
static ConfiguredModel[] |
ConfiguredModel.allYRotations(ModelFile model,
int x,
boolean uvlock,
int weight) |
ConfiguredModel[] |
ConfiguredModel.Builder.build()
Build all configured models and return them as an array.
|
ConfiguredModel |
ConfiguredModel.Builder.buildLast()
Build the most recent model, as if
ConfiguredModel.Builder.nextModel() was never called. |
Modifier and Type | Method and Description |
---|---|
VariantBlockStateBuilder.PartialBlockstate |
VariantBlockStateBuilder.PartialBlockstate.addModels(ConfiguredModel... models)
Add models to the current state's variant.
|
VariantBlockStateBuilder |
VariantBlockStateBuilder.addModels(VariantBlockStateBuilder.PartialBlockstate state,
ConfiguredModel... models)
Assign some models to a given
partial state . |
BlockStateProvider.ConfiguredModelList |
BlockStateProvider.ConfiguredModelList.append(ConfiguredModel... models) |
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. |
void |
BlockStateProvider.simpleBlock(Block block,
ConfiguredModel... models) |
Constructor and Description |
---|
ConfiguredModelList(ConfiguredModel... models) |
ConfiguredModelList(ConfiguredModel model) |
Constructor and Description |
---|
Builder(java.util.function.Function<ConfiguredModel[],T> callback,
java.util.List<ConfiguredModel> otherModels) |
ConfiguredModelList(java.util.List<ConfiguredModel> models) |