Class Multipart
java.lang.Object
net.minecraft.client.renderer.model.multipart.Multipart
- All Implemented Interfaces:
IUnbakedModel
,IForgeUnbakedModel
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMultipart
(StateContainer<Block, BlockState> p_i49524_1_, List<Selector> p_i49524_2_) -
Method Summary
Modifier and TypeMethodDescriptionbake
(ModelBakery p_225613_1_, Function<RenderMaterial, TextureAtlasSprite> p_225613_2_, IModelTransform p_225613_3_, ResourceLocation p_225613_4_) boolean
getMaterials
(Function<ResourceLocation, IUnbakedModel> p_225614_1_, Set<com.mojang.datafixers.util.Pair<String, String>> p_225614_2_) int
hashCode()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.client.extensions.IForgeUnbakedModel
getClip
-
Field Details
-
definition
-
selectors
-
-
Constructor Details
-
Multipart
-
-
Method Details
-
getSelectors
-
getMultiVariants
-
equals
-
hashCode
public int hashCode() -
getDependencies
- Specified by:
getDependencies
in interfaceIUnbakedModel
-
getMaterials
public Collection<RenderMaterial> getMaterials(Function<ResourceLocation, IUnbakedModel> p_225614_1_, Set<com.mojang.datafixers.util.Pair<String, String>> p_225614_2_) - Specified by:
getMaterials
in interfaceIUnbakedModel
-
bake
@Nullable public IBakedModel bake(ModelBakery p_225613_1_, Function<RenderMaterial, TextureAtlasSprite> p_225613_2_, IModelTransform p_225613_3_, ResourceLocation p_225613_4_) - Specified by:
bake
in interfaceIUnbakedModel
-