Modifier and Type | Field and Description |
---|---|
private java.util.Map<BlockState,IBakedModel> |
BlockModelShapes.bakedModelStore |
private it.unimi.dsi.fastutil.ints.Int2ObjectMap<IBakedModel> |
ItemModelMesher.itemModels |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
ItemModelMesher.getItemModel(Item itemIn) |
IBakedModel |
ItemModelMesher.getItemModel(ItemStack stack) |
IBakedModel |
ItemRenderer.getItemModelWithOverrides(ItemStack stack,
World worldIn,
LivingEntity entitylivingbaseIn) |
IBakedModel |
BlockModelShapes.getModel(BlockState state) |
IBakedModel |
BlockRendererDispatcher.getModelForState(BlockState state) |
private IBakedModel |
ItemRenderer.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
Modifier and Type | Method and Description |
---|---|
private IBakedModel |
ItemRenderer.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
void |
ItemRenderer.renderItem(ItemStack itemStackIn,
ItemCameraTransforms.TransformType transformTypeIn,
boolean leftHand,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn,
int combinedOverlayIn,
IBakedModel modelIn) |
protected void |
ItemRenderer.renderItemModelIntoGUI(ItemStack stack,
int x,
int y,
IBakedModel bakedmodel) |
private void |
ItemRenderer.renderModel(IBakedModel modelIn,
ItemStack stack,
int combinedLightIn,
int combinedOverlayIn,
MatrixStack matrixStackIn,
IVertexBuilder bufferIn) |
boolean |
BlockModelRenderer.renderModel(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn)
Deprecated.
|
boolean |
BlockModelRenderer.renderModel(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn,
IModelData modelData) |
void |
BlockModelRenderer.renderModel(MatrixStack.Entry matrixEntry,
IVertexBuilder buffer,
BlockState state,
IBakedModel modelIn,
float red,
float green,
float blue,
int combinedLightIn,
int combinedOverlayIn,
IModelData modelData) |
void |
BlockModelRenderer.renderModelBrightnessColor(MatrixStack.Entry matrixEntry,
IVertexBuilder buffer,
BlockState state,
IBakedModel modelIn,
float red,
float green,
float blue,
int combinedLightIn,
int combinedOverlayIn)
Deprecated.
|
boolean |
BlockModelRenderer.renderModelFlat(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixStackIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn)
Deprecated.
|
boolean |
BlockModelRenderer.renderModelFlat(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixStackIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn,
IModelData modelData) |
boolean |
BlockModelRenderer.renderModelSmooth(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixStackIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn)
Deprecated.
|
boolean |
BlockModelRenderer.renderModelSmooth(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixStackIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn,
IModelData modelData) |
Modifier and Type | Class and Description |
---|---|
class |
BuiltInModel |
class |
MultipartBakedModel |
class |
SimpleBakedModel |
class |
WeightedBakedModel |
Modifier and Type | Field and Description |
---|---|
private IBakedModel |
WeightedBakedModel.baseModel |
private IBakedModel |
ModelManager.defaultModel |
protected IBakedModel |
WeightedBakedModel.WeightedModel.model |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<org.apache.commons.lang3.tuple.Triple<ResourceLocation,TransformationMatrix,java.lang.Boolean>,IBakedModel> |
ModelBakery.bakedModels |
private java.util.Map<ResourceLocation,IBakedModel> |
ModelManager.modelRegistry |
private java.util.List<IBakedModel> |
ItemOverrideList.overrideBakedModels |
private java.util.List<org.apache.commons.lang3.tuple.Pair<java.util.function.Predicate<BlockState>,IBakedModel>> |
MultipartBakedModel.selectors |
private java.util.List<org.apache.commons.lang3.tuple.Pair<java.util.function.Predicate<BlockState>,IBakedModel>> |
MultipartBakedModel.Builder.selectors |
private java.util.Map<ResourceLocation,IBakedModel> |
ModelBakery.topBakedModels |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
ModelBakery.bake(ResourceLocation locationIn,
IModelTransform transformIn)
Deprecated.
|
IBakedModel |
BlockModel.bakeModel(ModelBakery modelBakeryIn,
BlockModel modelIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn,
boolean p_228813_6_) |
IBakedModel |
VariantList.bakeModel(ModelBakery modelBakeryIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
IBakedModel |
BlockModel.bakeModel(ModelBakery modelBakeryIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn)
Deprecated.
|
IBakedModel |
IUnbakedModel.bakeModel(ModelBakery modelBakeryIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
IBakedModel |
BlockModel.bakeVanilla(ModelBakery modelBakeryIn,
BlockModel modelIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn,
boolean p_228813_6_)
Deprecated.
|
IBakedModel |
MultipartBakedModel.Builder.build() |
IBakedModel |
WeightedBakedModel.Builder.build() |
IBakedModel |
SimpleBakedModel.Builder.build() |
IBakedModel |
ModelBakery.getBakedModel(ResourceLocation locationIn,
IModelTransform transformIn,
java.util.function.Function<Material,TextureAtlasSprite> textureGetter) |
IBakedModel |
ModelManager.getMissingModel() |
IBakedModel |
ModelManager.getModel(ModelResourceLocation modelLocation) |
IBakedModel |
ModelManager.getModel(ResourceLocation modelLocation) |
IBakedModel |
ItemOverrideList.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ResourceLocation,IBakedModel> |
ModelBakery.getTopBakedModels() |
Modifier and Type | Method and Description |
---|---|
WeightedBakedModel.Builder |
WeightedBakedModel.Builder.add(IBakedModel model,
int weight) |
IBakedModel |
ItemOverrideList.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
void |
MultipartBakedModel.Builder.putModel(java.util.function.Predicate<BlockState> predicate,
IBakedModel model) |
Constructor and Description |
---|
WeightedModel(IBakedModel modelIn,
int itemWeightIn) |
Constructor and Description |
---|
MultipartBakedModel(java.util.List<org.apache.commons.lang3.tuple.Pair<java.util.function.Predicate<BlockState>,IBakedModel>> p_i48273_1_) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
Multipart.bakeModel(ModelBakery modelBakeryIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map<IRegistryDelegate<Item>,IBakedModel> |
ItemModelMesherForge.models |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
ItemModelMesherForge.getItemModel(Item item) |
static IBakedModel |
ForgeHooksClient.handleCameraTransforms(MatrixStack matrixStack,
IBakedModel model,
ItemCameraTransforms.TransformType cameraTransformType,
boolean leftHandHackery) |
static IBakedModel |
ForgeHooksClient.handlePerspective(IBakedModel model,
ItemCameraTransforms.TransformType type,
MatrixStack stack) |
Modifier and Type | Method and Description |
---|---|
static IBakedModel |
ForgeHooksClient.handleCameraTransforms(MatrixStack matrixStack,
IBakedModel model,
ItemCameraTransforms.TransformType cameraTransformType,
boolean leftHandHackery) |
static IBakedModel |
ForgeHooksClient.handlePerspective(IBakedModel model,
ItemCameraTransforms.TransformType type,
MatrixStack stack) |
Modifier and Type | Method and Description |
---|---|
static void |
ForgeHooksClient.onModelBake(ModelManager modelManager,
java.util.Map<ResourceLocation,IBakedModel> modelRegistry,
ModelLoader modelLoader) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,IBakedModel> |
ModelBakeEvent.modelRegistry |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ResourceLocation,IBakedModel> |
ModelBakeEvent.getModelRegistry() |
Constructor and Description |
---|
ModelBakeEvent(ModelManager modelManager,
java.util.Map<ResourceLocation,IBakedModel> modelRegistry,
ModelLoader modelLoader) |
Modifier and Type | Method and Description |
---|---|
default IBakedModel |
IForgeBakedModel.getBakedModel() |
default IBakedModel |
IForgeBakedModel.handlePerspective(ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
Modifier and Type | Class and Description |
---|---|
class |
BakedModelWrapper<T extends IBakedModel> |
Modifier and Type | Class and Description |
---|---|
class |
BakedItemModel |
static class |
BakedItemModel.BakedGuiItemModel<T extends BakedItemModel> |
class |
BakedModelWrapper<T extends IBakedModel> |
class |
CompositeModel |
private static class |
DynamicBucketModel.BakedModel |
(package private) static class |
FancyMissingModel.BakedModel |
private static class |
FluidModel.BakedFluid |
private static class |
FluidModel.CachingBakedFluid |
private static class |
MultiLayerModel.MultiLayerBakedModel |
class |
PerspectiveMapWrapper |
Modifier and Type | Field and Description |
---|---|
protected IBakedModel |
BakedItemModel.guiModel |
private IBakedModel |
MultiLayerModel.MultiLayerBakedModel.missing |
private IBakedModel |
FancyMissingModel.BakedModel.missingModel |
protected T |
BakedModelWrapper.originalModel |
private IBakedModel |
FancyMissingModel.BakedModel.otherModel |
private IBakedModel |
PerspectiveMapWrapper.parent |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableMap<java.lang.String,IBakedModel> |
CompositeModel.bakedParts |
private java.util.Map<java.lang.String,IBakedModel> |
DynamicBucketModel.BakedModel.cache |
private com.google.common.collect.ImmutableMap<RenderType,IBakedModel> |
MultiLayerModel.MultiLayerBakedModel.models |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
MultiLayerModel.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
IBakedModel |
CompositeModel.Geometry.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
IBakedModel |
FluidModel.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
IBakedModel |
DynamicBucketModel.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
IBakedModel |
ItemLayerModel.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
IBakedModel |
BlockModelConfiguration.bake(ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
static IBakedModel |
ModelLoaderRegistry.bakeHelper(BlockModel blockModel,
ModelBakery modelBakery,
BlockModel otherModel,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation,
boolean guiLight3d) |
IBakedModel |
FancyMissingModel.bakeModel(ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
IBakedModel |
CompositeModel.Submodel.bakeModel(ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
IBakedModel |
IModelBuilder.build() |
IBakedModel |
IModelBuilder.Simple.build() |
IBakedModel |
PerspectiveMapWrapper.OverrideListWrapper.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
IBakedModel |
DynamicBucketModel.ContainedFluidOverrideHandler.getModelWithOverrides(IBakedModel originalModel,
ItemStack stack,
World world,
LivingEntity entity) |
IBakedModel |
CompositeModel.getPart(java.lang.String name) |
static IBakedModel |
PerspectiveMapWrapper.handlePerspective(IBakedModel model,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
static IBakedModel |
PerspectiveMapWrapper.handlePerspective(IBakedModel model,
IModelTransform state,
ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
IBakedModel |
PerspectiveMapWrapper.handlePerspective(ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
IBakedModel |
MultiLayerModel.MultiLayerBakedModel.handlePerspective(ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
IBakedModel |
BakedModelWrapper.handlePerspective(ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
IBakedModel |
FancyMissingModel.BakedModel.handlePerspective(ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
IBakedModel |
CompositeModel.handlePerspective(ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
IBakedModel |
BakedItemModel.handlePerspective(ItemCameraTransforms.TransformType type,
MatrixStack mat) |
IBakedModel |
BakedItemModel.BakedGuiItemModel.handlePerspective(ItemCameraTransforms.TransformType type,
MatrixStack mat) |
IBakedModel |
FluidModel.BakedFluid.handlePerspective(ItemCameraTransforms.TransformType type,
MatrixStack mat) |
Modifier and Type | Method and Description |
---|---|
private static com.google.common.collect.ImmutableMap<RenderType,IBakedModel> |
MultiLayerModel.buildModels(com.google.common.collect.ImmutableMap<RenderType,IUnbakedModel> models,
IModelTransform modelTransform,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
ResourceLocation modelLocation) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
PerspectiveMapWrapper.OverrideListWrapper.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
IBakedModel |
DynamicBucketModel.ContainedFluidOverrideHandler.getModelWithOverrides(IBakedModel originalModel,
ItemStack stack,
World world,
LivingEntity entity) |
static IBakedModel |
PerspectiveMapWrapper.handlePerspective(IBakedModel model,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
static IBakedModel |
PerspectiveMapWrapper.handlePerspective(IBakedModel model,
IModelTransform state,
ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
Modifier and Type | Method and Description |
---|---|
void |
ModelLoader.onPostBakeEvent(java.util.Map<ResourceLocation,IBakedModel> modelRegistry)
Internal, do not use.
|
Constructor and Description |
---|
BakedModel(IBakedModel bigMissing,
IBakedModel smallMissing,
SimpleModelFontRenderer fontRenderer,
java.lang.String message,
TextureAtlasSprite fontTexture) |
BakedModel(IBakedModel smallMissing,
SimpleModelFontRenderer fontRenderer,
java.lang.String message,
TextureAtlasSprite fontTexture,
FancyMissingModel.BakedModel big) |
MultiLayerBakedModel(boolean ambientOcclusion,
boolean isGui3d,
boolean isSideLit,
TextureAtlasSprite particle,
ItemOverrideList overrides,
com.google.common.collect.ImmutableMap<RenderType,IBakedModel> models,
IBakedModel missing,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> cameraTransforms) |
PerspectiveMapWrapper(IBakedModel parent,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms) |
PerspectiveMapWrapper(IBakedModel parent,
IModelTransform state) |
Constructor and Description |
---|
BakedModel(ModelBakery bakery,
IModelConfiguration owner,
DynamicBucketModel parent,
com.google.common.collect.ImmutableList<BakedQuad> quads,
TextureAtlasSprite particle,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
java.util.Map<java.lang.String,IBakedModel> cache,
boolean untransformed,
IModelTransform originalTransform,
boolean isSideLit) |
CompositeModel(boolean isGui3d,
boolean isAmbientOcclusion,
TextureAtlasSprite particle,
com.google.common.collect.ImmutableMap<java.lang.String,IBakedModel> bakedParts,
IModelTransform combinedTransform,
ItemOverrideList overrides) |
MultiLayerBakedModel(boolean ambientOcclusion,
boolean isGui3d,
boolean isSideLit,
TextureAtlasSprite particle,
ItemOverrideList overrides,
com.google.common.collect.ImmutableMap<RenderType,IBakedModel> models,
IBakedModel missing,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> cameraTransforms) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
AnimationItemOverrideList.getModelWithOverrides(IBakedModel originalModel,
ItemStack stack,
World world,
LivingEntity entity) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
AnimationItemOverrideList.getModelWithOverrides(IBakedModel originalModel,
ItemStack stack,
World world,
LivingEntity entity) |
Modifier and Type | Class and Description |
---|---|
private static class |
B3DLoader.BakedWrapper |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
B3DLoader.ModelWrapper.bakeModel(ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
IBakedModel |
B3DLoader.BakedWrapper.handlePerspective(ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
Modifier and Type | Interface and Description |
---|---|
interface |
IDynamicBakedModel
Convenience interface with default implementation of
IBakedModel#getQuads(net.minecraft.block.state.IBlockState, net.minecraft.util.EnumFacing, java.util.Random) . |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
IModelGeometry.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
default IBakedModel |
ISimpleModelGeometry.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeBlockModelRenderer.render(VertexLighterFlat lighter,
ILightReader world,
IBakedModel model,
BlockState state,
BlockPos pos,
MatrixStack matrixStack,
boolean checkSides,
java.util.Random rand,
long seed,
IModelData modelData) |
boolean |
ForgeBlockModelRenderer.renderModelFlat(ILightReader world,
IBakedModel model,
BlockState state,
BlockPos pos,
MatrixStack matrixStack,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random rand,
long seed,
int combinedOverlayIn,
IModelData modelData) |
boolean |
ForgeBlockModelRenderer.renderModelSmooth(ILightReader world,
IBakedModel model,
BlockState state,
BlockPos pos,
MatrixStack matrixStack,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random rand,
long seed,
int combinedOverlayIn,
IModelData modelData) |
Modifier and Type | Class and Description |
---|---|
class |
TRSRTransformerTest.MyBakedModel |
Modifier and Type | Field and Description |
---|---|
private IBakedModel |
TRSRTransformerTest.MyBakedModel.base |
Constructor and Description |
---|
MyBakedModel(IBakedModel base) |