Class MultiPart
java.lang.Object
net.minecraft.client.renderer.block.model.multipart.MultiPart
- All Implemented Interfaces:
UnbakedModel
-
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()
-
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
-