Modifier and Type | Field and Description |
---|---|
static Material[] |
Atlases.BED_TEXTURES |
static Material |
Atlases.CHEST_LEFT_MATERIAL |
static Material |
Atlases.CHEST_MATERIAL |
static Material |
Atlases.CHEST_RIGHT_MATERIAL |
static Material |
Atlases.CHEST_TRAPPED_LEFT_MATERIAL |
static Material |
Atlases.CHEST_TRAPPED_MATERIAL |
static Material |
Atlases.CHEST_TRAPPED_RIGHT_MATERIAL |
static Material |
Atlases.CHEST_XMAS_LEFT_MATERIAL |
static Material |
Atlases.CHEST_XMAS_MATERIAL |
static Material |
Atlases.CHEST_XMAS_RIGHT_MATERIAL |
static Material |
Atlases.DEFAULT_SHULKER_TEXTURE |
static Material |
Atlases.ENDER_CHEST_MATERIAL |
Modifier and Type | Field and Description |
---|---|
static java.util.List<Material> |
Atlases.SHULKER_TEXTURES |
static java.util.Map<WoodType,Material> |
Atlases.SIGN_MATERIALS |
Modifier and Type | Method and Description |
---|---|
private static Material |
Atlases.getChestMaterial(ChestType p_228772_0_,
Material p_228772_1_,
Material p_228772_2_,
Material p_228772_3_) |
private static Material |
Atlases.getChestMaterial(java.lang.String p_228774_0_) |
static Material |
Atlases.getChestMaterial(TileEntity p_228771_0_,
ChestType p_228771_1_,
boolean p_228771_2_) |
static Material |
Atlases.getSignMaterial(WoodType p_228773_0_) |
Modifier and Type | Method and Description |
---|---|
private static Material |
Atlases.getChestMaterial(ChestType p_228772_0_,
Material p_228772_1_,
Material p_228772_2_,
Material p_228772_3_) |
Modifier and Type | Method and Description |
---|---|
static void |
Atlases.collectAllMaterials(java.util.function.Consumer<Material> p_228775_0_) |
Modifier and Type | Field and Description |
---|---|
static Material |
ModelBakery.LOCATION_BANNER_BASE |
static Material |
ModelBakery.LOCATION_FIRE_0 |
static Material |
ModelBakery.LOCATION_FIRE_1 |
static Material |
ModelBakery.LOCATION_LAVA_FLOW |
static Material |
ModelBakery.LOCATION_SHIELD_BASE |
static Material |
ModelBakery.LOCATION_SHIELD_NO_PATTERN |
static Material |
ModelBakery.LOCATION_WATER_FLOW |
static Material |
ModelBakery.LOCATION_WATER_OVERLAY |
Modifier and Type | Field and Description |
---|---|
protected static java.util.Set<Material> |
ModelBakery.LOCATIONS_BUILTIN_TEXTURES |
java.util.Map<java.lang.String,com.mojang.datafixers.util.Either<Material,java.lang.String>> |
BlockModel.textures |
Modifier and Type | Method and Description |
---|---|
Material |
BlockModel.resolveTextureName(java.lang.String nameIn) |
Modifier and Type | Method and Description |
---|---|
private static com.mojang.datafixers.util.Either<Material,java.lang.String> |
BlockModel.Deserializer.findTexture(ResourceLocation locationIn,
java.lang.String nameIn) |
private com.mojang.datafixers.util.Either<Material,java.lang.String> |
BlockModel.findTexture(java.lang.String nameIn) |
java.util.Collection<Material> |
VariantList.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
BlockModel.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
IUnbakedModel.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
private java.util.Map<java.lang.String,com.mojang.datafixers.util.Either<Material,java.lang.String>> |
BlockModel.Deserializer.getTextures(com.google.gson.JsonObject object) |
Modifier and Type | Method and Description |
---|---|
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 |
ModelBakery.getBakedModel(ResourceLocation locationIn,
IModelTransform transformIn,
java.util.function.Function<Material,TextureAtlasSprite> textureGetter) |
ItemOverrideList |
BlockModel.getOverrides(ModelBakery modelBakeryIn,
BlockModel modelIn,
java.util.function.Function<Material,TextureAtlasSprite> textureGetter) |
BlockModel |
ItemModelGenerator.makeItemModel(java.util.function.Function<Material,TextureAtlasSprite> textureGetter,
BlockModel blockModelIn) |
Constructor and Description |
---|
BlockModel(ResourceLocation p_i230056_1_,
java.util.List<BlockPart> p_i230056_2_,
java.util.Map<java.lang.String,com.mojang.datafixers.util.Either<Material,java.lang.String>> p_i230056_3_,
boolean p_i230056_4_,
BlockModel.GuiLight p_i230056_5_,
ItemCameraTransforms p_i230056_6_,
java.util.List<ItemOverride> p_i230056_7_) |
ItemOverrideList(ModelBakery modelBakeryIn,
IUnbakedModel blockModelIn,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.function.Function<Material,TextureAtlasSprite> textureGetter,
java.util.List<ItemOverride> itemOverridesIn) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Material> |
Multipart.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
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 | Method and Description |
---|---|
TextureAtlasSprite |
SpriteMap.getSprite(Material materialIn) |
Modifier and Type | Field and Description |
---|---|
static Material |
ConduitTileEntityRenderer.BASE_TEXTURE |
static Material |
BellTileEntityRenderer.BELL_BODY_TEXTURE |
static Material |
ConduitTileEntityRenderer.CAGE_TEXTURE |
static Material |
ConduitTileEntityRenderer.CLOSED_EYE_TEXTURE |
static Material |
ConduitTileEntityRenderer.OPEN_EYE_TEXTURE |
static Material |
EnchantmentTableTileEntityRenderer.TEXTURE_BOOK |
static Material |
ConduitTileEntityRenderer.VERTICAL_WIND_TEXTURE |
static Material |
ConduitTileEntityRenderer.WIND_TEXTURE |
Modifier and Type | Method and Description |
---|---|
static Material |
SignTileEntityRenderer.getMaterial(Block blockIn) |
protected Material |
ChestTileEntityRenderer.getMaterial(T tileEntity,
ChestType chestType) |
Modifier and Type | Method and Description |
---|---|
private void |
BedTileEntityRenderer.func_228847_a_(MatrixStack p_228847_1_,
IRenderTypeBuffer p_228847_2_,
boolean p_228847_3_,
Direction p_228847_4_,
Material p_228847_5_,
int p_228847_6_,
int p_228847_7_,
boolean p_228847_8_) |
static void |
BannerTileEntityRenderer.func_230180_a_(MatrixStack p_230180_0_,
IRenderTypeBuffer p_230180_1_,
int p_230180_2_,
int p_230180_3_,
ModelRenderer p_230180_4_,
Material p_230180_5_,
boolean p_230180_6_,
java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> p_230180_7_) |
Modifier and Type | Method and Description |
---|---|
static Material |
ForgeHooksClient.getBlockMaterial(ResourceLocation loc) |
Modifier and Type | Method and Description |
---|---|
static java.util.stream.Stream<Material> |
ForgeHooksClient.getFluidMaterials(Fluid fluid) |
Modifier and Type | Method and Description |
---|---|
static void |
ForgeHooksClient.gatherFluidTextures(java.util.Set<Material> textures) |
Modifier and Type | Field and Description |
---|---|
private static Material |
FancyMissingModel.font2 |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableList<Material> |
ItemLayerModel.textures |
Modifier and Type | Method and Description |
---|---|
static Material |
ModelLoaderRegistry.blockMaterial(ResourceLocation location) |
static Material |
ModelLoaderRegistry.blockMaterial(java.lang.String location) |
Material |
IModelConfiguration.resolveTexture(java.lang.String name)
Resolves the final texture name, taking into account texture aliases and replacements.
|
Material |
BlockModelConfiguration.resolveTexture(java.lang.String name) |
static Material |
ModelLoaderRegistry.resolveTexture(java.lang.String tex,
IModelConfiguration owner) |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Function<Material,TextureAtlasSprite> |
ModelLoader.defaultTextureGetter()
Get the default texture getter the models will be baked with.
|
java.util.Collection<Material> |
BlockModelConfiguration.getTextureDependencies(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
FancyMissingModel.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
private static com.google.common.collect.ImmutableList<Material> |
ItemLayerModel.getTextures(IModelConfiguration model) |
java.util.Collection<Material> |
MultiLayerModel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
ModelLoaderRegistry.VanillaProxy.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
CompositeModel.Submodel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
CompositeModel.Geometry.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
FluidModel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
DynamicBucketModel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
ItemLayerModel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
Modifier and Type | Method and Description |
---|---|
void |
ModelLoaderRegistry.VanillaProxy.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
void |
CompositeModel.Submodel.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
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) |
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) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprites(java.util.List<Material> textures,
TransformationMatrix transform,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprites(java.util.List<Material> textures,
TransformationMatrix transform,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprites(java.util.List<Material> textures,
TransformationMatrix transform,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
java.util.Set<java.lang.Integer> fullbrights) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprites(java.util.List<Material> textures,
TransformationMatrix transform,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
java.util.Set<java.lang.Integer> fullbrights) |
Constructor and Description |
---|
ItemLayerModel(com.google.common.collect.ImmutableList<Material> textures) |
ItemLayerModel(com.google.common.collect.ImmutableList<Material> textures,
com.google.common.collect.ImmutableSet<java.lang.Integer> fullbrightLayers) |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<Material,TextureAtlasSprite> |
AnimationItemOverrideList.bakedTextureGetter |
Constructor and Description |
---|
AnimationItemOverrideList(ModelBakery bakery,
IUnbakedModel model,
ResourceLocation modelLoc,
IModelTransform state,
java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter,
ItemOverrideList overrides) |
AnimationItemOverrideList(ModelBakery bakery,
IUnbakedModel model,
ResourceLocation modelLoc,
IModelTransform state,
java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter,
java.util.List<ItemOverride> overrides) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Material> |
B3DLoader.ModelWrapper.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
B3DLoader.ModelWrapper.bakeModel(ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
Modifier and Type | Method and Description |
---|---|
default java.util.Collection<Material> |
IMultipartModelGeometry.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
IModelGeometry.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
ISimpleModelGeometry.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
default java.util.Collection<Material> |
IModelGeometryPart.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
Modifier and Type | Method and Description |
---|---|
default void |
IMultipartModelGeometry.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
void |
ISimpleModelGeometry.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
void |
IModelGeometryPart.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
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 |
---|---|
java.util.Collection<Material> |
OBJModel.ModelObject.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
OBJModel.ModelGroup.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
Modifier and Type | Method and Description |
---|---|
void |
OBJModel.ModelObject.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
void |
OBJModel.ModelGroup.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Material> |
NewModelLoaderTest.TestModel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
Modifier and Type | Method and Description |
---|---|
void |
NewModelLoaderTest.TestModel.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |