Uses of Class
net.minecraftforge.client.model.generators.ModelFile
-
Packages that use ModelFile Package Description net.minecraftforge.client.model.generators -
-
Uses of ModelFile in net.minecraftforge.client.model.generators
Subclasses of ModelFile in net.minecraftforge.client.model.generators Modifier and Type Class Description class
BlockModelBuilder
Builder for block models, does not currently provide any additional functionality overModelBuilder
, purely a stub class with a concrete generic.class
ItemModelBuilder
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
ModelFile.ExistingModelFile
static class
ModelFile.UncheckedModelFile
Fields in net.minecraftforge.client.model.generators declared as ModelFile Modifier and Type Field Description private ModelFile
ConfiguredModel.Builder. model
ModelFile
ConfiguredModel. model
private ModelFile
ItemModelBuilder.OverrideBuilder. model
protected ModelFile
ModelBuilder. parent
Methods in net.minecraftforge.client.model.generators that return ModelFile Modifier and Type Method Description ModelFile
BlockStateProvider. cubeAll(Block block)
Methods in net.minecraftforge.client.model.generators with parameters of type ModelFile Modifier and Type Method 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 vertical, ModelFile horizontal)
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, ModelFile sideTall)
private void
BlockStateProvider. wallSidePart(MultiPartBlockStateBuilder builder, ModelFile model, java.util.Map.Entry<Direction,Property<WallHeight>> entry, WallHeight height)
Method parameters in net.minecraftforge.client.model.generators with type arguments of type ModelFile Modifier and Type Method 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)
Constructors in net.minecraftforge.client.model.generators with parameters of type ModelFile Constructor Description ConfiguredModel(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
.
-