Class MultipartModelComponent
java.lang.Object
net.minecraft.client.render.model.json.MultipartModelComponent
@Environment(CLIENT) public class MultipartModelComponent extends Object
- Mappings:
Namespace Name official eje
intermediary net/minecraft/class_819
named net/minecraft/client/render/model/json/MultipartModelComponent
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultipartModelComponent.Deserializer
-
Field Summary
Fields Modifier and Type Field Description private WeightedUnbakedModel
model
private MultipartModelSelector
selector
-
Constructor Summary
Constructors Constructor Description MultipartModelComponent(MultipartModelSelector selector, WeightedUnbakedModel model)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
WeightedUnbakedModel
getModel()
Predicate<BlockState>
getPredicate(StateManager<Block,BlockState> stateFactory)
int
hashCode()
-
Field Details
-
selector
- Mappings:
Namespace Name Mixin selector official a
Leje;a:Leja;
intermediary field_4335
Lnet/minecraft/class_819;field_4335:Lnet/minecraft/class_815;
named selector
Lnet/minecraft/client/render/model/json/MultipartModelComponent;selector:Lnet/minecraft/client/render/model/json/MultipartModelSelector;
-
model
- Mappings:
Namespace Name Mixin selector official b
Leje;b:Leix;
intermediary field_4336
Lnet/minecraft/class_819;field_4336:Lnet/minecraft/class_807;
named model
Lnet/minecraft/client/render/model/json/MultipartModelComponent;model:Lnet/minecraft/client/render/model/json/WeightedUnbakedModel;
-
-
Constructor Details
-
MultipartModelComponent
- Mappings:
Namespace Name Mixin selector official <init>
Leje;<init>(Leja;Leix;)V
intermediary <init>
Lnet/minecraft/class_819;<init>(Lnet/minecraft/class_815;Lnet/minecraft/class_807;)V
named <init>
Lnet/minecraft/client/render/model/json/MultipartModelComponent;<init>(Lnet/minecraft/client/render/model/json/MultipartModelSelector;Lnet/minecraft/client/render/model/json/WeightedUnbakedModel;)V
-
-
Method Details
-
getModel
- Mappings:
Namespace Name Mixin selector official a
Leje;a()Leix;
intermediary method_3529
Lnet/minecraft/class_819;method_3529()Lnet/minecraft/class_807;
named getModel
Lnet/minecraft/client/render/model/json/MultipartModelComponent;getModel()Lnet/minecraft/client/render/model/json/WeightedUnbakedModel;
-
getPredicate
- Mappings:
Namespace Name Mixin selector official a
Leje;a(Lchu;)Ljava/util/function/Predicate;
intermediary method_3530
Lnet/minecraft/class_819;method_3530(Lnet/minecraft/class_2689;)Ljava/util/function/Predicate;
named getPredicate
Lnet/minecraft/client/render/model/json/MultipartModelComponent;getPredicate(Lnet/minecraft/state/StateManager;)Ljava/util/function/Predicate;
-
equals
- Overrides:
equals
in classObject
- Mappings:
Namespace Name Mixin selector official equals
Leje;equals(Ljava/lang/Object;)Z
intermediary equals
Lnet/minecraft/class_819;equals(Ljava/lang/Object;)Z
named equals
Lnet/minecraft/client/render/model/json/MultipartModelComponent;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()
-