Package net.minecraftforge.debug
Class DataGeneratorTest.SoundDefinitions
java.lang.Object
net.minecraftforge.common.data.SoundDefinitionsProvider
net.minecraftforge.debug.DataGeneratorTest.SoundDefinitions
- All Implemented Interfaces:
DataProvider
- Enclosing class:
- DataGeneratorTest
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ExistingFileHelper
private static final org.apache.logging.log4j.Logger
Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompare
(com.google.gson.JsonElement vanilla, @Nullable com.google.gson.JsonElement generated) compareAndGatherErrors
(org.apache.commons.lang3.tuple.Triple<String, com.google.gson.JsonElement, com.google.gson.JsonElement> triple) compareArrays
(com.google.gson.JsonArray vanilla, com.google.gson.JsonElement generated) compareObjects
(com.google.gson.JsonObject vanilla, com.google.gson.JsonElement generated) comparePrimitives
(com.google.gson.JsonPrimitive vanilla, com.google.gson.JsonElement generated) private com.google.gson.JsonObject
reflect()
void
Registers the sound definitions that should be generated via one of theadd
methods.run
(CachedOutput cache) private void
test()
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
helper
-
-
Constructor Details
-
SoundDefinitions
-
-
Method Details
-
registerSounds
public void registerSounds()Description copied from class:SoundDefinitionsProvider
Registers the sound definitions that should be generated via one of theadd
methods.- Specified by:
registerSounds
in classSoundDefinitionsProvider
-
run
- Specified by:
run
in interfaceDataProvider
- Overrides:
run
in classSoundDefinitionsProvider
-
test
private void test() -
reflect
- Throws:
ReflectiveOperationException
-
compareAndGatherErrors
-
compare
-
comparePrimitives
-
compareObjects
-
compareArrays
-