Class MultiPart
java.lang.Object
net.minecraft.client.renderer.block.model.multipart.MultiPart
- All Implemented Interfaces:
UnbakedModel
,IForgeUnbakedModel
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMultiPart(StateDefinition<Block,BlockState> p_111965_, List<Selector> p_111966_)
-
Method Summary
Modifier and TypeMethodDescriptionbake(ModelBakery p_111971_, Function<Material,TextureAtlasSprite> p_111972_, ModelState p_111973_, ResourceLocation p_111974_)
boolean
getMaterials(Function<ResourceLocation,UnbakedModel> p_111976_, Set<com.mojang.datafixers.util.Pair<String,String>> p_111977_)
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 interfaceUnbakedModel
-
getMaterials
public Collection<Material> getMaterials(Function<ResourceLocation,UnbakedModel> p_111976_, Set<com.mojang.datafixers.util.Pair<String,String>> p_111977_)- Specified by:
getMaterials
in interfaceUnbakedModel
-
bake
@Nullable public BakedModel bake(ModelBakery p_111971_, Function<Material,TextureAtlasSprite> p_111972_, ModelState p_111973_, ResourceLocation p_111974_)- Specified by:
bake
in interfaceUnbakedModel
-