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,IBlockState> stateContainerIn,
java.util.List<Selector> selectorsIn) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
bake(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> spriteGetter,
IModelState rotationIn,
boolean uvlock,
VertexFormat format) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.util.Collection<ResourceLocation> |
getOverrideLocations() |
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, wait
bake
getClip, getDefaultState, gui3d, process, retexture, smoothLighting
public Multipart(StateContainer<Block,IBlockState> 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Collection<ResourceLocation> getOverrideLocations()
getOverrideLocations
in interface IUnbakedModel
public 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(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.function.Function<ResourceLocation,TextureAtlasSprite> spriteGetter, IModelState rotationIn, boolean uvlock, VertexFormat format)
bake
in interface IModel<IUnbakedModel>