Uses of Class
net.minecraftforge.client.model.generators.ModelFile
-
Uses of ModelFile in net.minecraftforge.client.model.generators
Modifier and TypeClassDescriptionclass
Builder for block models, does not currently provide any additional functionality overModelBuilder
, purely a stub class with a concrete generic.class
Builder for item models, adds the ability to build overrides viaItemModelBuilder.override()
.class
ModelBuilder<T extends ModelBuilder<T>>
General purpose model builder, contains all the commonalities between item and block models.static class
static class
Modifier and TypeFieldDescriptionprivate ModelFile
ConfiguredModel.Builder.model
final ModelFile
ConfiguredModel.model
private ModelFile
ItemModelBuilder.OverrideBuilder.model
protected @Nullable ModelFile
ModelBuilder.parent
Modifier and TypeMethodDescriptionstatic 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 vertical, ModelFile horizontal) void
BlockStateProvider.buttonBlock
(ButtonBlock block, ModelFile button, ModelFile buttonPressed) void
BlockStateProvider.directionalBlock
(Block block, ModelFile model) void
BlockStateProvider.directionalBlock
(Block block, ModelFile model, int angleOffset) void
BlockStateProvider.doorBlock
(DoorBlock block, ModelFile bottomLeft, ModelFile bottomLeftOpen, ModelFile bottomRight, ModelFile bottomRightOpen, ModelFile topLeft, ModelFile topLeftOpen, ModelFile topRight, ModelFile topRightOpen) void
BlockStateProvider.fenceGateBlock
(FenceGateBlock block, ModelFile gate, ModelFile gateOpen, ModelFile gateWall, ModelFile gateWallOpen) void
BlockStateProvider.fourWayBlock
(CrossCollisionBlock 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) Set the underlying model object for this configured model.void
BlockStateProvider.paneBlock
(IronBarsBlock block, ModelFile post, ModelFile side, ModelFile sideAlt, ModelFile noSide, ModelFile noSideAlt) Set the parent model for the current model.void
BlockStateProvider.pressurePlateBlock
(PressurePlateBlock block, ModelFile pressurePlate, ModelFile pressurePlateDown) void
BlockStateProvider.signBlock
(StandingSignBlock signBlock, WallSignBlock wallSignBlock, ModelFile sign) 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
(StairBlock block, ModelFile stairs, ModelFile stairsInner, ModelFile stairsOuter) void
BlockStateProvider.trapdoorBlock
(TrapDoorBlock block, ModelFile bottom, ModelFile top, ModelFile open, boolean orientable) void
private void
BlockStateProvider.wallSidePart
(MultiPartBlockStateBuilder builder, ModelFile model, Map.Entry<Direction, Property<WallSide>> entry, WallSide height) Modifier and TypeMethodDescriptionvoid
BlockStateProvider.directionalBlock
(Block block, Function<BlockState, ModelFile> modelFunc) void
BlockStateProvider.directionalBlock
(Block block, Function<BlockState, ModelFile> modelFunc, int angleOffset) void
BlockStateProvider.horizontalBlock
(Block block, Function<BlockState, ModelFile> modelFunc) void
BlockStateProvider.horizontalBlock
(Block block, Function<BlockState, ModelFile> modelFunc, int angleOffset) void
BlockStateProvider.horizontalFaceBlock
(Block block, Function<BlockState, ModelFile> modelFunc) void
BlockStateProvider.horizontalFaceBlock
(Block block, Function<BlockState, ModelFile> modelFunc, int angleOffset) void
BlockStateProvider.simpleBlock
(Block block, Function<ModelFile, ConfiguredModel[]> expander) ModifierConstructorDescriptionConfiguredModel
(ModelFile model) Construct a newConfiguredModel
with the default rotation (0, 0), uvlock (false), anddefault random weight
.ConfiguredModel
(ModelFile model, int rotationX, int rotationY, boolean uvLock) Construct a newConfiguredModel
with thedefault random weight
.ConfiguredModel
(ModelFile model, int rotationX, int rotationY, boolean uvLock, int weight) Construct a newConfiguredModel
.