public class Multipart extends java.lang.Object implements IUnbakedModel
Modifier and Type | Class and Description |
---|---|
static class |
Multipart.Deserializer |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Selector> |
selectors |
private StateContainer<Block,BlockState> |
stateContainer |
Constructor and Description |
---|
Multipart(StateContainer<Block,BlockState> stateContainerIn,
java.util.List<Selector> selectorsIn) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
bakeModel(ModelBakery modelBakeryIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.util.Collection<ResourceLocation> |
getDependencies() |
java.util.List<Selector> |
getSelectors() |
java.util.Collection<Material> |
getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Set<VariantList> |
getVariants() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getClip
private final StateContainer<Block,BlockState> stateContainer
private final java.util.List<Selector> selectors
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Collection<ResourceLocation> getDependencies()
getDependencies
in interface IUnbakedModel
public java.util.Collection<Material> getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors)
getTextures
in interface IUnbakedModel
@Nullable public IBakedModel bakeModel(ModelBakery modelBakeryIn, java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn, IModelTransform transformIn, ResourceLocation locationIn)
bakeModel
in interface IUnbakedModel