Class WeightedUnbakedModel
java.lang.Object
net.minecraft.client.render.model.json.WeightedUnbakedModel
- All Implemented Interfaces:
UnbakedModel
- Mappings:
Namespace Name official faz
intermediary net/minecraft/class_807
named net/minecraft/client/render/model/json/WeightedUnbakedModel
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbake
(ModelLoader loader, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId) boolean
getTextureDependencies
(Function<Identifier, UnbakedModel> unbakedModelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> unresolvedTextureReferences) int
hashCode()
-
Field Details
-
variants
- Mappings:
Namespace Name Mixin selector official a
Lfaz;a:Ljava/util/List;
intermediary field_4294
Lnet/minecraft/class_807;field_4294:Ljava/util/List;
named variants
Lnet/minecraft/client/render/model/json/WeightedUnbakedModel;variants:Ljava/util/List;
-
-
Constructor Details
-
WeightedUnbakedModel
- Mappings:
Namespace Name Mixin selector official <init>
Lfaz;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_807;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/client/render/model/json/WeightedUnbakedModel;<init>(Ljava/util/List;)V
-
-
Method Details
-
getVariants
- Mappings:
Namespace Name Mixin selector official a
Lfaz;a()Ljava/util/List;
intermediary method_3497
Lnet/minecraft/class_807;method_3497()Ljava/util/List;
named getVariants
Lnet/minecraft/client/render/model/json/WeightedUnbakedModel;getVariants()Ljava/util/List;
-
equals
-
hashCode
public int hashCode() -
getModelDependencies
- Specified by:
getModelDependencies
in interfaceUnbakedModel
- Mappings:
Namespace Name Mixin selector official f
Lfma;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
Lfma;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 @Nullable BakedModel bake(ModelLoader loader, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId) - Specified by:
bake
in interfaceUnbakedModel
- Mappings:
Namespace Name Mixin selector official a
Lfma;a(Lflu;Ljava/util/function/Function;Lflx;Labb;)Lflq;
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;
-