Package net.minecraft.data.client
Class TexturedModel
java.lang.Object
net.minecraft.data.client.TexturedModel
Represents a model with texture variables defined.
- Mappings:
Namespace Name official lj
intermediary net/minecraft/class_4946
named net/minecraft/data/client/TexturedModel
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
private final Model
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
static final TexturedModel.Factory
private final TextureMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TexturedModel
getCubeAll
(Identifier id) getModel()
private static TexturedModel.Factory
makeFactory
(Function<Block, TextureMap> texturesGetter, Model model) textures
(Consumer<TextureMap> texturesConsumer) upload
(Block block, String suffix, BiConsumer<Identifier, Supplier<JsonElement>> writer) upload
(Block block, BiConsumer<Identifier, Supplier<JsonElement>> writer)
-
Field Details
-
CUBE_ALL
- Mappings:
Namespace Name Mixin selector official a
Llj;a:Llj$a;
intermediary field_23036
Lnet/minecraft/class_4946;field_23036:Lnet/minecraft/class_4946$class_4947;
named CUBE_ALL
Lnet/minecraft/data/client/TexturedModel;CUBE_ALL:Lnet/minecraft/data/client/TexturedModel$Factory;
-
CUBE_MIRRORED_ALL
- Mappings:
Namespace Name Mixin selector official b
Llj;b:Llj$a;
intermediary field_23037
Lnet/minecraft/class_4946;field_23037:Lnet/minecraft/class_4946$class_4947;
named CUBE_MIRRORED_ALL
Lnet/minecraft/data/client/TexturedModel;CUBE_MIRRORED_ALL:Lnet/minecraft/data/client/TexturedModel$Factory;
-
CUBE_COLUMN
- Mappings:
Namespace Name Mixin selector official c
Llj;c:Llj$a;
intermediary field_23038
Lnet/minecraft/class_4946;field_23038:Lnet/minecraft/class_4946$class_4947;
named CUBE_COLUMN
Lnet/minecraft/data/client/TexturedModel;CUBE_COLUMN:Lnet/minecraft/data/client/TexturedModel$Factory;
-
CUBE_COLUMN_HORIZONTAL
- Mappings:
Namespace Name Mixin selector official d
Llj;d:Llj$a;
intermediary field_23039
Lnet/minecraft/class_4946;field_23039:Lnet/minecraft/class_4946$class_4947;
named CUBE_COLUMN_HORIZONTAL
Lnet/minecraft/data/client/TexturedModel;CUBE_COLUMN_HORIZONTAL:Lnet/minecraft/data/client/TexturedModel$Factory;
-
CUBE_BOTTOM_TOP
- Mappings:
Namespace Name Mixin selector official e
Llj;e:Llj$a;
intermediary field_23040
Lnet/minecraft/class_4946;field_23040:Lnet/minecraft/class_4946$class_4947;
named CUBE_BOTTOM_TOP
Lnet/minecraft/data/client/TexturedModel;CUBE_BOTTOM_TOP:Lnet/minecraft/data/client/TexturedModel$Factory;
-
CUBE_TOP
- Mappings:
Namespace Name Mixin selector official f
Llj;f:Llj$a;
intermediary field_23041
Lnet/minecraft/class_4946;field_23041:Lnet/minecraft/class_4946$class_4947;
named CUBE_TOP
Lnet/minecraft/data/client/TexturedModel;CUBE_TOP:Lnet/minecraft/data/client/TexturedModel$Factory;
-
ORIENTABLE
- Mappings:
Namespace Name Mixin selector official g
Llj;g:Llj$a;
intermediary field_23042
Lnet/minecraft/class_4946;field_23042:Lnet/minecraft/class_4946$class_4947;
named ORIENTABLE
Lnet/minecraft/data/client/TexturedModel;ORIENTABLE:Lnet/minecraft/data/client/TexturedModel$Factory;
-
ORIENTABLE_WITH_BOTTOM
- Mappings:
Namespace Name Mixin selector official h
Llj;h:Llj$a;
intermediary field_23043
Lnet/minecraft/class_4946;field_23043:Lnet/minecraft/class_4946$class_4947;
named ORIENTABLE_WITH_BOTTOM
Lnet/minecraft/data/client/TexturedModel;ORIENTABLE_WITH_BOTTOM:Lnet/minecraft/data/client/TexturedModel$Factory;
-
CARPET
- Mappings:
Namespace Name Mixin selector official i
Llj;i:Llj$a;
intermediary field_23044
Lnet/minecraft/class_4946;field_23044:Lnet/minecraft/class_4946$class_4947;
named CARPET
Lnet/minecraft/data/client/TexturedModel;CARPET:Lnet/minecraft/data/client/TexturedModel$Factory;
-
FLOWERBED_1
- Mappings:
Namespace Name Mixin selector official j
Llj;j:Llj$a;
intermediary field_42952
Lnet/minecraft/class_4946;field_42952:Lnet/minecraft/class_4946$class_4947;
named FLOWERBED_1
Lnet/minecraft/data/client/TexturedModel;FLOWERBED_1:Lnet/minecraft/data/client/TexturedModel$Factory;
-
FLOWERBED_2
- Mappings:
Namespace Name Mixin selector official k
Llj;k:Llj$a;
intermediary field_42953
Lnet/minecraft/class_4946;field_42953:Lnet/minecraft/class_4946$class_4947;
named FLOWERBED_2
Lnet/minecraft/data/client/TexturedModel;FLOWERBED_2:Lnet/minecraft/data/client/TexturedModel$Factory;
-
FLOWERBED_3
- Mappings:
Namespace Name Mixin selector official l
Llj;l:Llj$a;
intermediary field_42954
Lnet/minecraft/class_4946;field_42954:Lnet/minecraft/class_4946$class_4947;
named FLOWERBED_3
Lnet/minecraft/data/client/TexturedModel;FLOWERBED_3:Lnet/minecraft/data/client/TexturedModel$Factory;
-
FLOWERBED_4
- Mappings:
Namespace Name Mixin selector official m
Llj;m:Llj$a;
intermediary field_42955
Lnet/minecraft/class_4946;field_42955:Lnet/minecraft/class_4946$class_4947;
named FLOWERBED_4
Lnet/minecraft/data/client/TexturedModel;FLOWERBED_4:Lnet/minecraft/data/client/TexturedModel$Factory;
-
TEMPLATE_GLAZED_TERRACOTTA
- Mappings:
Namespace Name Mixin selector official n
Llj;n:Llj$a;
intermediary field_23045
Lnet/minecraft/class_4946;field_23045:Lnet/minecraft/class_4946$class_4947;
named TEMPLATE_GLAZED_TERRACOTTA
Lnet/minecraft/data/client/TexturedModel;TEMPLATE_GLAZED_TERRACOTTA:Lnet/minecraft/data/client/TexturedModel$Factory;
-
CORAL_FAN
- Mappings:
Namespace Name Mixin selector official o
Llj;o:Llj$a;
intermediary field_23046
Lnet/minecraft/class_4946;field_23046:Lnet/minecraft/class_4946$class_4947;
named CORAL_FAN
Lnet/minecraft/data/client/TexturedModel;CORAL_FAN:Lnet/minecraft/data/client/TexturedModel$Factory;
-
PARTICLE
- Mappings:
Namespace Name Mixin selector official p
Llj;p:Llj$a;
intermediary field_23047
Lnet/minecraft/class_4946;field_23047:Lnet/minecraft/class_4946$class_4947;
named PARTICLE
Lnet/minecraft/data/client/TexturedModel;PARTICLE:Lnet/minecraft/data/client/TexturedModel$Factory;
-
TEMPLATE_ANVIL
- Mappings:
Namespace Name Mixin selector official q
Llj;q:Llj$a;
intermediary field_23048
Lnet/minecraft/class_4946;field_23048:Lnet/minecraft/class_4946$class_4947;
named TEMPLATE_ANVIL
Lnet/minecraft/data/client/TexturedModel;TEMPLATE_ANVIL:Lnet/minecraft/data/client/TexturedModel$Factory;
-
LEAVES
- Mappings:
Namespace Name Mixin selector official r
Llj;r:Llj$a;
intermediary field_23049
Lnet/minecraft/class_4946;field_23049:Lnet/minecraft/class_4946$class_4947;
named LEAVES
Lnet/minecraft/data/client/TexturedModel;LEAVES:Lnet/minecraft/data/client/TexturedModel$Factory;
-
TEMPLATE_LANTERN
- Mappings:
Namespace Name Mixin selector official s
Llj;s:Llj$a;
intermediary field_23050
Lnet/minecraft/class_4946;field_23050:Lnet/minecraft/class_4946$class_4947;
named TEMPLATE_LANTERN
Lnet/minecraft/data/client/TexturedModel;TEMPLATE_LANTERN:Lnet/minecraft/data/client/TexturedModel$Factory;
-
TEMPLATE_HANGING_LANTERN
- Mappings:
Namespace Name Mixin selector official t
Llj;t:Llj$a;
intermediary field_23051
Lnet/minecraft/class_4946;field_23051:Lnet/minecraft/class_4946$class_4947;
named TEMPLATE_HANGING_LANTERN
Lnet/minecraft/data/client/TexturedModel;TEMPLATE_HANGING_LANTERN:Lnet/minecraft/data/client/TexturedModel$Factory;
-
TEMPLATE_SEAGRASS
- Mappings:
Namespace Name Mixin selector official u
Llj;u:Llj$a;
intermediary field_23054
Lnet/minecraft/class_4946;field_23054:Lnet/minecraft/class_4946$class_4947;
named TEMPLATE_SEAGRASS
Lnet/minecraft/data/client/TexturedModel;TEMPLATE_SEAGRASS:Lnet/minecraft/data/client/TexturedModel$Factory;
-
END_FOR_TOP_CUBE_COLUMN
- Mappings:
Namespace Name Mixin selector official v
Llj;v:Llj$a;
intermediary field_23055
Lnet/minecraft/class_4946;field_23055:Lnet/minecraft/class_4946$class_4947;
named END_FOR_TOP_CUBE_COLUMN
Lnet/minecraft/data/client/TexturedModel;END_FOR_TOP_CUBE_COLUMN:Lnet/minecraft/data/client/TexturedModel$Factory;
-
END_FOR_TOP_CUBE_COLUMN_HORIZONTAL
- Mappings:
Namespace Name Mixin selector official w
Llj;w:Llj$a;
intermediary field_23056
Lnet/minecraft/class_4946;field_23056:Lnet/minecraft/class_4946$class_4947;
named END_FOR_TOP_CUBE_COLUMN_HORIZONTAL
Lnet/minecraft/data/client/TexturedModel;END_FOR_TOP_CUBE_COLUMN_HORIZONTAL:Lnet/minecraft/data/client/TexturedModel$Factory;
-
SIDE_TOP_BOTTOM_WALL
- Mappings:
Namespace Name Mixin selector official x
Llj;x:Llj$a;
intermediary field_23057
Lnet/minecraft/class_4946;field_23057:Lnet/minecraft/class_4946$class_4947;
named SIDE_TOP_BOTTOM_WALL
Lnet/minecraft/data/client/TexturedModel;SIDE_TOP_BOTTOM_WALL:Lnet/minecraft/data/client/TexturedModel$Factory;
-
SIDE_END_WALL
- Mappings:
Namespace Name Mixin selector official y
Llj;y:Llj$a;
intermediary field_23959
Lnet/minecraft/class_4946;field_23959:Lnet/minecraft/class_4946$class_4947;
named SIDE_END_WALL
Lnet/minecraft/data/client/TexturedModel;SIDE_END_WALL:Lnet/minecraft/data/client/TexturedModel$Factory;
-
textures
- Mappings:
Namespace Name Mixin selector official z
Llj;z:Llh;
intermediary field_23058
Lnet/minecraft/class_4946;field_23058:Lnet/minecraft/class_4944;
named textures
Lnet/minecraft/data/client/TexturedModel;textures:Lnet/minecraft/data/client/TextureMap;
-
model
- Mappings:
Namespace Name Mixin selector official A
Llj;A:Llf;
intermediary field_23059
Lnet/minecraft/class_4946;field_23059:Lnet/minecraft/class_4942;
named model
Lnet/minecraft/data/client/TexturedModel;model:Lnet/minecraft/data/client/Model;
-
-
Constructor Details
-
TexturedModel
- Mappings:
Namespace Name Mixin selector official <init>
Llj;<init>(Llh;Llf;)V
intermediary <init>
Lnet/minecraft/class_4946;<init>(Lnet/minecraft/class_4944;Lnet/minecraft/class_4942;)V
named <init>
Lnet/minecraft/data/client/TexturedModel;<init>(Lnet/minecraft/data/client/TextureMap;Lnet/minecraft/data/client/Model;)V
-
-
Method Details
-
getModel
- Mappings:
Namespace Name Mixin selector official a
Llj;a()Llf;
intermediary method_25914
Lnet/minecraft/class_4946;method_25914()Lnet/minecraft/class_4942;
named getModel
Lnet/minecraft/data/client/TexturedModel;getModel()Lnet/minecraft/data/client/Model;
-
getTextures
- Mappings:
Namespace Name Mixin selector official b
Llj;b()Llh;
intermediary method_25921
Lnet/minecraft/class_4946;method_25921()Lnet/minecraft/class_4944;
named getTextures
Lnet/minecraft/data/client/TexturedModel;getTextures()Lnet/minecraft/data/client/TextureMap;
-
textures
- Mappings:
Namespace Name Mixin selector official a
Llj;a(Ljava/util/function/Consumer;)Llj;
intermediary method_25917
Lnet/minecraft/class_4946;method_25917(Ljava/util/function/Consumer;)Lnet/minecraft/class_4946;
named textures
Lnet/minecraft/data/client/TexturedModel;textures(Ljava/util/function/Consumer;)Lnet/minecraft/data/client/TexturedModel;
-
upload
- Mappings:
Namespace Name Mixin selector official a
Llj;a(Lcpn;Ljava/util/function/BiConsumer;)Lacq;
intermediary method_25916
Lnet/minecraft/class_4946;method_25916(Lnet/minecraft/class_2248;Ljava/util/function/BiConsumer;)Lnet/minecraft/class_2960;
named upload
Lnet/minecraft/data/client/TexturedModel;upload(Lnet/minecraft/block/Block;Ljava/util/function/BiConsumer;)Lnet/minecraft/util/Identifier;
-
upload
public Identifier upload(Block block, String suffix, BiConsumer<Identifier, Supplier<JsonElement>> writer) - Mappings:
Namespace Name Mixin selector official a
Llj;a(Lcpn;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lacq;
intermediary method_25915
Lnet/minecraft/class_4946;method_25915(Lnet/minecraft/class_2248;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lnet/minecraft/class_2960;
named upload
Lnet/minecraft/data/client/TexturedModel;upload(Lnet/minecraft/block/Block;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lnet/minecraft/util/Identifier;
-
makeFactory
private static TexturedModel.Factory makeFactory(Function<Block, TextureMap> texturesGetter, Model model) - Mappings:
Namespace Name Mixin selector official a
Llj;a(Ljava/util/function/Function;Llf;)Llj$a;
intermediary method_25918
Lnet/minecraft/class_4946;method_25918(Ljava/util/function/Function;Lnet/minecraft/class_4942;)Lnet/minecraft/class_4946$class_4947;
named makeFactory
Lnet/minecraft/data/client/TexturedModel;makeFactory(Ljava/util/function/Function;Lnet/minecraft/data/client/Model;)Lnet/minecraft/data/client/TexturedModel$Factory;
-
getCubeAll
- Mappings:
Namespace Name Mixin selector official a
Llj;a(Lacq;)Llj;
intermediary method_25920
Lnet/minecraft/class_4946;method_25920(Lnet/minecraft/class_2960;)Lnet/minecraft/class_4946;
named getCubeAll
Lnet/minecraft/data/client/TexturedModel;getCubeAll(Lnet/minecraft/util/Identifier;)Lnet/minecraft/data/client/TexturedModel;
-