Class ItemModelGenerator
java.lang.Object
net.minecraft.client.render.model.json.ItemModelGenerator
- Mappings:
Namespace Name named net/minecraft/client/render/model/json/ItemModelGenerator
intermediary net/minecraft/class_801
official gmz
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate List
<ModelElement> addLayerElements
(int layer, String key, SpriteContents sprite) private List
<ModelElement> addSubComponents
(SpriteContents sprite, String key, int layer) private void
buildCube
(List<ItemModelGenerator.Frame> cubes, ItemModelGenerator.Side side, int x, int y) private void
buildCube
(ItemModelGenerator.Side side, List<ItemModelGenerator.Frame> cubes, SpriteContents sprite, int frame, int x, int y, int width, int height, boolean bool) create
(Function<SpriteIdentifier, Sprite> textureGetter, JsonUnbakedModel blockModel) private List
<ItemModelGenerator.Frame> getFrames
(SpriteContents sprite) private boolean
isPixelTransparent
(SpriteContents sprite, int frame, int x, int y, int width, int height)
-
Field Details
-
LAYERS
- Mappings:
Namespace Name Mixin selector named LAYERS
Lnet/minecraft/client/render/model/json/ItemModelGenerator;LAYERS:Ljava/util/List;
intermediary field_4270
Lnet/minecraft/class_801;field_4270:Ljava/util/List;
official a
Lgmz;a:Ljava/util/List;
-
field_32806
private static final float field_32806- See Also:
- Mappings:
Namespace Name Mixin selector named field_32806
Lnet/minecraft/client/render/model/json/ItemModelGenerator;field_32806:F
intermediary field_32806
Lnet/minecraft/class_801;field_32806:F
official b
Lgmz;b:F
-
field_32807
private static final float field_32807- See Also:
- Mappings:
Namespace Name Mixin selector named field_32807
Lnet/minecraft/client/render/model/json/ItemModelGenerator;field_32807:F
intermediary field_32807
Lnet/minecraft/class_801;field_32807:F
official c
Lgmz;c:F
-
-
Constructor Details
-
ItemModelGenerator
public ItemModelGenerator()
-
-
Method Details
-
create
public JsonUnbakedModel create(Function<SpriteIdentifier, Sprite> textureGetter, JsonUnbakedModel blockModel) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/client/render/model/json/ItemModelGenerator;create(Ljava/util/function/Function;Lnet/minecraft/client/render/model/json/JsonUnbakedModel;)Lnet/minecraft/client/render/model/json/JsonUnbakedModel;
intermediary method_3479
Lnet/minecraft/class_801;method_3479(Ljava/util/function/Function;Lnet/minecraft/class_793;)Lnet/minecraft/class_793;
official a
Lgmz;a(Ljava/util/function/Function;Lgmw;)Lgmw;
-
addLayerElements
- Mappings:
Namespace Name Mixin selector named addLayerElements
Lnet/minecraft/client/render/model/json/ItemModelGenerator;addLayerElements(ILjava/lang/String;Lnet/minecraft/client/texture/SpriteContents;)Ljava/util/List;
intermediary method_3480
Lnet/minecraft/class_801;method_3480(ILjava/lang/String;Lnet/minecraft/class_7764;)Ljava/util/List;
official a
Lgmz;a(ILjava/lang/String;Lhbe;)Ljava/util/List;
-
addSubComponents
- Mappings:
Namespace Name Mixin selector named addSubComponents
Lnet/minecraft/client/render/model/json/ItemModelGenerator;addSubComponents(Lnet/minecraft/client/texture/SpriteContents;Ljava/lang/String;I)Ljava/util/List;
intermediary method_3481
Lnet/minecraft/class_801;method_3481(Lnet/minecraft/class_7764;Ljava/lang/String;I)Ljava/util/List;
official a
Lgmz;a(Lhbe;Ljava/lang/String;I)Ljava/util/List;
-
getFrames
- Mappings:
Namespace Name Mixin selector named getFrames
Lnet/minecraft/client/render/model/json/ItemModelGenerator;getFrames(Lnet/minecraft/client/texture/SpriteContents;)Ljava/util/List;
intermediary method_3478
Lnet/minecraft/class_801;method_3478(Lnet/minecraft/class_7764;)Ljava/util/List;
official a
Lgmz;a(Lhbe;)Ljava/util/List;
-
buildCube
private void buildCube(ItemModelGenerator.Side side, List<ItemModelGenerator.Frame> cubes, SpriteContents sprite, int frame, int x, int y, int width, int height, boolean bool) - Mappings:
Namespace Name Mixin selector named buildCube
Lnet/minecraft/client/render/model/json/ItemModelGenerator;buildCube(Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;Ljava/util/List;Lnet/minecraft/client/texture/SpriteContents;IIIIIZ)V
intermediary method_3476
Lnet/minecraft/class_801;method_3476(Lnet/minecraft/class_801$class_803;Ljava/util/List;Lnet/minecraft/class_7764;IIIIIZ)V
official a
Lgmz;a(Lgmz$b;Ljava/util/List;Lhbe;IIIIIZ)V
-
buildCube
private void buildCube(List<ItemModelGenerator.Frame> cubes, ItemModelGenerator.Side side, int x, int y) - Mappings:
Namespace Name Mixin selector named buildCube
Lnet/minecraft/client/render/model/json/ItemModelGenerator;buildCube(Ljava/util/List;Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;II)V
intermediary method_3482
Lnet/minecraft/class_801;method_3482(Ljava/util/List;Lnet/minecraft/class_801$class_803;II)V
official a
Lgmz;a(Ljava/util/List;Lgmz$b;II)V
-
isPixelTransparent
private boolean isPixelTransparent(SpriteContents sprite, int frame, int x, int y, int width, int height) - Mappings:
Namespace Name Mixin selector named isPixelTransparent
Lnet/minecraft/client/render/model/json/ItemModelGenerator;isPixelTransparent(Lnet/minecraft/client/texture/SpriteContents;IIIII)Z
intermediary method_3477
Lnet/minecraft/class_801;method_3477(Lnet/minecraft/class_7764;IIIII)Z
official a
Lgmz;a(Lhbe;IIIII)Z
-