Package net.minecraft.data.client
Class BlockStateDefinitionProvider
java.lang.Object
net.minecraft.data.client.BlockStateDefinitionProvider
- All Implemented Interfaces:
DataProvider
- Mappings:
Namespace Name official jb
intermediary net/minecraft/class_4916
named net/minecraft/data/client/BlockStateDefinitionProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DataGenerator
private static final Gson
private static final Logger
Fields inherited from interface net.minecraft.data.DataProvider
SHA1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static Path
getBlockStateJsonPath
(Path root, Block block) private static Path
getModelJsonPath
(Path root, Identifier id) getName()
void
private <T> void
writeJsons
(DataCache cache, Path root, Map<T, ? extends Supplier<JsonElement>> jsons, BiFunction<Path, T, Path> locator)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Ljb;b:Lorg/apache/logging/log4j/Logger;
intermediary field_22845
Lnet/minecraft/class_4916;field_22845:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/data/client/BlockStateDefinitionProvider;LOGGER:Lorg/apache/logging/log4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official c
Ljb;c:Lcom/google/gson/Gson;
intermediary field_22846
Lnet/minecraft/class_4916;field_22846:Lcom/google/gson/Gson;
named GSON
Lnet/minecraft/data/client/BlockStateDefinitionProvider;GSON:Lcom/google/gson/Gson;
-
generator
- Mappings:
Namespace Name Mixin selector official d
Ljb;d:Lic;
intermediary field_22847
Lnet/minecraft/class_4916;field_22847:Lnet/minecraft/class_2403;
named generator
Lnet/minecraft/data/client/BlockStateDefinitionProvider;generator:Lnet/minecraft/data/DataGenerator;
-
-
Constructor Details
-
BlockStateDefinitionProvider
- Mappings:
Namespace Name Mixin selector official <init>
Ljb;<init>(Lic;)V
intermediary <init>
Lnet/minecraft/class_4916;<init>(Lnet/minecraft/class_2403;)V
named <init>
Lnet/minecraft/data/client/BlockStateDefinitionProvider;<init>(Lnet/minecraft/data/DataGenerator;)V
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Lid;a(Lie;)V
intermediary method_10319
Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_2408;)V
named run
Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataCache;)V
-
writeJsons
private <T> void writeJsons(DataCache cache, Path root, Map<T, ? extends Supplier<JsonElement>> jsons, BiFunction<Path, T, Path> locator) - Mappings:
Namespace Name Mixin selector official a
Ljb;a(Lie;Ljava/nio/file/Path;Ljava/util/Map;Ljava/util/function/BiFunction;)V
intermediary method_25735
Lnet/minecraft/class_4916;method_25735(Lnet/minecraft/class_2408;Ljava/nio/file/Path;Ljava/util/Map;Ljava/util/function/BiFunction;)V
named writeJsons
Lnet/minecraft/data/client/BlockStateDefinitionProvider;writeJsons(Lnet/minecraft/data/DataCache;Ljava/nio/file/Path;Ljava/util/Map;Ljava/util/function/BiFunction;)V
-
getBlockStateJsonPath
- Mappings:
Namespace Name Mixin selector official a
Ljb;a(Ljava/nio/file/Path;Lbzo;)Ljava/nio/file/Path;
intermediary method_25736
Lnet/minecraft/class_4916;method_25736(Ljava/nio/file/Path;Lnet/minecraft/class_2248;)Ljava/nio/file/Path;
named getBlockStateJsonPath
Lnet/minecraft/data/client/BlockStateDefinitionProvider;getBlockStateJsonPath(Ljava/nio/file/Path;Lnet/minecraft/block/Block;)Ljava/nio/file/Path;
-
getModelJsonPath
- Mappings:
Namespace Name Mixin selector official a
Ljb;a(Ljava/nio/file/Path;Lww;)Ljava/nio/file/Path;
intermediary method_25737
Lnet/minecraft/class_4916;method_25737(Ljava/nio/file/Path;Lnet/minecraft/class_2960;)Ljava/nio/file/Path;
named getModelJsonPath
Lnet/minecraft/data/client/BlockStateDefinitionProvider;getModelJsonPath(Ljava/nio/file/Path;Lnet/minecraft/util/Identifier;)Ljava/nio/file/Path;
-
getName
- Specified by:
getName
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Lid;a()Ljava/lang/String;
intermediary method_10321
Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
named getName
Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;
-