Package net.minecraft.client.audio
Class SoundListSerializer
- java.lang.Object
-
- net.minecraft.client.audio.SoundListSerializer
-
-
Constructor Summary
Constructors Constructor Description SoundListSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoundList
deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)
private Sound
getSound(com.google.gson.JsonObject p_188734_1_)
private java.util.List<Sound>
getSounds(com.google.gson.JsonObject p_188733_1_)
private Sound.Type
getType(com.google.gson.JsonObject p_188732_1_, Sound.Type p_188732_2_)
-
-
-
Method Detail
-
deserialize
public SoundList deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException
- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<SoundList>
- Throws:
com.google.gson.JsonParseException
-
getSounds
private java.util.List<Sound> getSounds(com.google.gson.JsonObject p_188733_1_)
-
getSound
private Sound getSound(com.google.gson.JsonObject p_188734_1_)
-
getType
private Sound.Type getType(com.google.gson.JsonObject p_188732_1_, Sound.Type p_188732_2_)
-
-