Class MultipartUnbakedModel
java.lang.Object
net.minecraft.client.render.model.MultipartUnbakedModel
- All Implemented Interfaces:
UnbakedModel
@Environment(CLIENT) public class MultipartUnbakedModel extends Object implements UnbakedModel
- Mappings:
Namespace Name official ejc
intermediary net/minecraft/class_816
named net/minecraft/client/render/model/MultipartUnbakedModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultipartUnbakedModel.Deserializer
-
Field Summary
Fields Modifier and Type Field Description private List<MultipartModelComponent>
components
private StateManager<Block,BlockState>
stateFactory
-
Constructor Summary
Constructors Constructor Description MultipartUnbakedModel(StateManager<Block,BlockState> stateFactory, List<MultipartModelComponent> components)
-
Method Summary
Modifier and Type Method Description BakedModel
bake(ModelLoader loader, Function<SpriteIdentifier,Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId)
boolean
equals(Object o)
List<MultipartModelComponent>
getComponents()
Collection<Identifier>
getModelDependencies()
Set<WeightedUnbakedModel>
getModels()
Collection<SpriteIdentifier>
getTextureDependencies(Function<Identifier,UnbakedModel> unbakedModelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> unresolvedTextureReferences)
int
hashCode()
-
Field Details
-
stateFactory
- Mappings:
Namespace Name Mixin selector official a
Lejc;a:Lchu;
intermediary field_4329
Lnet/minecraft/class_816;field_4329:Lnet/minecraft/class_2689;
named stateFactory
Lnet/minecraft/client/render/model/MultipartUnbakedModel;stateFactory:Lnet/minecraft/state/StateManager;
-
components
- Mappings:
Namespace Name Mixin selector official b
Lejc;b:Ljava/util/List;
intermediary field_4330
Lnet/minecraft/class_816;field_4330:Ljava/util/List;
named components
Lnet/minecraft/client/render/model/MultipartUnbakedModel;components:Ljava/util/List;
-
-
Constructor Details
-
MultipartUnbakedModel
public MultipartUnbakedModel(StateManager<Block,BlockState> stateFactory, List<MultipartModelComponent> components)- Mappings:
Namespace Name Mixin selector official <init>
Lejc;<init>(Lchu;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_816;<init>(Lnet/minecraft/class_2689;Ljava/util/List;)V
named <init>
Lnet/minecraft/client/render/model/MultipartUnbakedModel;<init>(Lnet/minecraft/state/StateManager;Ljava/util/List;)V
-
-
Method Details
-
getComponents
- Mappings:
Namespace Name Mixin selector official a
Lejc;a()Ljava/util/List;
intermediary method_3519
Lnet/minecraft/class_816;method_3519()Ljava/util/List;
named getComponents
Lnet/minecraft/client/render/model/MultipartUnbakedModel;getComponents()Ljava/util/List;
-
getModels
- Mappings:
Namespace Name Mixin selector official b
Lejc;b()Ljava/util/Set;
intermediary method_3520
Lnet/minecraft/class_816;method_3520()Ljava/util/Set;
named getModels
Lnet/minecraft/client/render/model/MultipartUnbakedModel;getModels()Ljava/util/Set;
-
equals
-
hashCode
public int hashCode() -
getModelDependencies
- Specified by:
getModelDependencies
in interfaceUnbakedModel
- Mappings:
Namespace Name Mixin selector official f
Letq;f()Ljava/util/Collection;
intermediary method_4755
Lnet/minecraft/class_1100;method_4755()Ljava/util/Collection;
named getModelDependencies
Lnet/minecraft/client/render/model/UnbakedModel;getModelDependencies()Ljava/util/Collection;
-
getTextureDependencies
public Collection<SpriteIdentifier> getTextureDependencies(Function<Identifier,UnbakedModel> unbakedModelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> unresolvedTextureReferences)- Specified by:
getTextureDependencies
in interfaceUnbakedModel
- Mappings:
Namespace Name Mixin selector official a
Letq;a(Ljava/util/function/Function;Ljava/util/Set;)Ljava/util/Collection;
intermediary method_4754
Lnet/minecraft/class_1100;method_4754(Ljava/util/function/Function;Ljava/util/Set;)Ljava/util/Collection;
named getTextureDependencies
Lnet/minecraft/client/render/model/UnbakedModel;getTextureDependencies(Ljava/util/function/Function;Ljava/util/Set;)Ljava/util/Collection;
-
bake
@Nullable public BakedModel bake(ModelLoader loader, Function<SpriteIdentifier,Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId)- Specified by:
bake
in interfaceUnbakedModel
- Mappings:
Namespace Name Mixin selector official a
Letq;a(Letk;Ljava/util/function/Function;Letn;Lwb;)Letg;
intermediary method_4753
Lnet/minecraft/class_1100;method_4753(Lnet/minecraft/class_1088;Ljava/util/function/Function;Lnet/minecraft/class_3665;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1087;
named bake
Lnet/minecraft/client/render/model/UnbakedModel;bake(Lnet/minecraft/client/render/model/ModelLoader;Ljava/util/function/Function;Lnet/minecraft/client/render/model/ModelBakeSettings;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/model/BakedModel;
-