Package net.minecraftforge.debug
Class DataGeneratorTest.SoundDefinitions
java.lang.Object
net.minecraftforge.common.data.SoundDefinitionsProvider
net.minecraftforge.debug.DataGeneratorTest.SoundDefinitions
- All Implemented Interfaces:
IDataProvider
- Enclosing class:
- DataGeneratorTest
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ExistingFileHelper
private static final org.apache.logging.log4j.Logger
Fields inherited from interface net.minecraft.data.IDataProvider
SHA1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncompare
(com.google.gson.JsonElement vanilla, 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.void
run
(DirectoryCache 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 interfaceIDataProvider
- Overrides:
run
in classSoundDefinitionsProvider
- Throws:
IOException
-
test
- Throws:
IOException
-
reflect
- Throws:
ReflectiveOperationException
-
compareAndGatherErrors
-
compare
-
comparePrimitives
-
compareObjects
-
compareArrays
-