Class MultiVariant
java.lang.Object
net.minecraft.client.renderer.block.model.MultiVariant
- All Implemented Interfaces:
UnbakedModel
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake
(ModelBaker pBaker, Function<Material, TextureAtlasSprite> pSpriteGetter, ModelState pState) boolean
int
hashCode()
void
resolveParents
(Function<ResourceLocation, UnbakedModel> pResolver)
-
Field Details
-
variants
-
-
Constructor Details
-
MultiVariant
-
-
Method Details
-
getVariants
-
equals
-
hashCode
public int hashCode() -
getDependencies
- Specified by:
getDependencies
in interfaceUnbakedModel
-
resolveParents
- Specified by:
resolveParents
in interfaceUnbakedModel
-
bake
@Nullable public BakedModel bake(ModelBaker pBaker, Function<Material, TextureAtlasSprite> pSpriteGetter, ModelState pState) - Specified by:
bake
in interfaceUnbakedModel
-