Package | Description |
---|---|
net.minecraftforge.client.model.generators |
Modifier and Type | Class and Description |
---|---|
class |
BlockModelBuilder
Builder for block models, does not currently provide any additional
functionality over
ModelBuilder , purely a stub class with a concrete
generic. |
class |
ItemModelBuilder
Builder for item models, adds the ability to build overrides via
ItemModelBuilder.override() . |
class |
ModelBuilder<T extends ModelBuilder<T>>
General purpose model builder, contains all the commonalities between item
and block models.
|
static class |
ModelFile.ExistingModelFile |
static class |
ModelFile.UncheckedModelFile |
Modifier and Type | Field and Description |
---|---|
ModelFile |
ConfiguredModel.model |
private ModelFile |
ConfiguredModel.Builder.model |
private ModelFile |
ItemModelBuilder.OverrideBuilder.model |
protected ModelFile |
ModelBuilder.parent |
Modifier and Type | Method and Description |
---|---|
ModelFile |
BlockStateProvider.cubeAll(Block block) |
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) |
void |
BlockStateProvider.axisBlock(RotatedPillarBlock block,
ModelFile model) |
void |
BlockStateProvider.directionalBlock(Block block,
ModelFile model) |
void |
BlockStateProvider.directionalBlock(Block block,
ModelFile model,
int angleOffset) |
void |
BlockStateProvider.doorBlock(DoorBlock block,
ModelFile bottomLeft,
ModelFile bottomRight,
ModelFile topLeft,
ModelFile topRight) |
void |
BlockStateProvider.fenceGateBlock(FenceGateBlock block,
ModelFile gate,
ModelFile gateOpen,
ModelFile gateWall,
ModelFile gateWallOpen) |
void |
BlockStateProvider.fourWayBlock(FourWayBlock block,
ModelFile post,
ModelFile side) |
void |
BlockStateProvider.fourWayMultipart(MultiPartBlockStateBuilder builder,
ModelFile side) |
void |
BlockStateProvider.horizontalBlock(Block block,
ModelFile model) |
void |
BlockStateProvider.horizontalBlock(Block block,
ModelFile model,
int angleOffset) |
void |
BlockStateProvider.horizontalFaceBlock(Block block,
ModelFile model) |
void |
BlockStateProvider.horizontalFaceBlock(Block block,
ModelFile model,
int angleOffset) |
ItemModelBuilder.OverrideBuilder |
ItemModelBuilder.OverrideBuilder.model(ModelFile model) |
ConfiguredModel.Builder<T> |
ConfiguredModel.Builder.modelFile(ModelFile model)
Set the underlying model object for this configured model.
|
void |
BlockStateProvider.paneBlock(PaneBlock block,
ModelFile post,
ModelFile side,
ModelFile sideAlt,
ModelFile noSide,
ModelFile noSideAlt) |
T |
ModelBuilder.parent(ModelFile parent)
Set the parent model for the current model.
|
void |
BlockStateProvider.simpleBlock(Block block,
ModelFile model) |
void |
BlockStateProvider.simpleBlockItem(Block block,
ModelFile model) |
void |
BlockStateProvider.slabBlock(SlabBlock block,
ModelFile bottom,
ModelFile top,
ModelFile doubleslab) |
void |
BlockStateProvider.stairsBlock(StairsBlock block,
ModelFile stairs,
ModelFile stairsInner,
ModelFile stairsOuter) |
void |
BlockStateProvider.trapdoorBlock(TrapDoorBlock block,
ModelFile bottom,
ModelFile top,
ModelFile open,
boolean orientable) |
void |
BlockStateProvider.wallBlock(WallBlock block,
ModelFile post,
ModelFile side) |
Modifier and Type | Method and Description |
---|---|
void |
BlockStateProvider.directionalBlock(Block block,
java.util.function.Function<BlockState,ModelFile> modelFunc) |
void |
BlockStateProvider.directionalBlock(Block block,
java.util.function.Function<BlockState,ModelFile> modelFunc,
int angleOffset) |
void |
BlockStateProvider.horizontalBlock(Block block,
java.util.function.Function<BlockState,ModelFile> modelFunc) |
void |
BlockStateProvider.horizontalBlock(Block block,
java.util.function.Function<BlockState,ModelFile> modelFunc,
int angleOffset) |
void |
BlockStateProvider.horizontalFaceBlock(Block block,
java.util.function.Function<BlockState,ModelFile> modelFunc) |
void |
BlockStateProvider.horizontalFaceBlock(Block block,
java.util.function.Function<BlockState,ModelFile> modelFunc,
int angleOffset) |
void |
BlockStateProvider.simpleBlock(Block block,
java.util.function.Function<ModelFile,ConfiguredModel[]> expander) |
Constructor and Description |
---|
ConfiguredModel(ModelFile model)
Construct a new
ConfiguredModel with the default rotation (0, 0),
uvlock (false), and default random weight . |
ConfiguredModel(ModelFile model,
int rotationX,
int rotationY,
boolean uvLock)
Construct a new
ConfiguredModel with the default random weight . |
ConfiguredModel(ModelFile model,
int rotationX,
int rotationY,
boolean uvLock,
int weight)
Construct a new
ConfiguredModel . |