public class Multipart extends java.lang.Object implements IUnbakedModel
| Modifier and Type | Class and Description |
|---|---|
static class |
Multipart.Deserializer |
| Constructor and Description |
|---|
Multipart(StateContainer<Block,BlockState> stateContainerIn,
java.util.List<Selector> selectorsIn) |
| Modifier and Type | Method and Description |
|---|---|
IBakedModel |
bake(ModelBakery p_217641_1_,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> p_217641_2_,
ISprite p_217641_3_,
VertexFormat format) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.util.Collection<ResourceLocation> |
getDependencies() |
java.util.List<Selector> |
getSelectors() |
java.util.Collection<ResourceLocation> |
getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<java.lang.String> missingTextureErrors) |
java.util.Set<VariantList> |
getVariants() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbakegetDefaultState, gui3d, process, retexture, smoothLightinggetClippublic Multipart(StateContainer<Block,BlockState> stateContainerIn, java.util.List<Selector> selectorsIn)
public java.util.List<Selector> getSelectors()
public java.util.Set<VariantList> getVariants()
public boolean equals(java.lang.Object p_equals_1_)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.util.Collection<ResourceLocation> getDependencies()
getDependencies in interface IUnbakedModelpublic java.util.Collection<ResourceLocation> getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.Set<java.lang.String> missingTextureErrors)
getTextures in interface IUnbakedModel@Nullable public IBakedModel bake(ModelBakery p_217641_1_, java.util.function.Function<ResourceLocation,TextureAtlasSprite> p_217641_2_, ISprite p_217641_3_, VertexFormat format)
bake in interface IForgeUnbakedModelp_217641_2_ - Where textures will be looked up when bakingp_217641_3_ - Transforms to apply while baking. Usually will be an instance of IModelState.