Package net.minecraft.client.sound
Class SoundEntryDeserializer
java.lang.Object
net.minecraft.client.sound.SoundEntryDeserializer
- All Implemented Interfaces:
JsonDeserializer<SoundEntry>
@Environment(CLIENT)
public class SoundEntryDeserializer
extends Object
implements JsonDeserializer<SoundEntry>
- Mappings:
Namespace Name official fpnintermediary net/minecraft/class_1115named net/minecraft/client/sound/SoundEntryDeserializer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate SounddeserializeSound(JsonObject json) deserializeSounds(JsonObject json) private Sound.RegistrationTypedeserializeType(JsonObject json, Sound.RegistrationType fallback) method_4791(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gson.JsonDeserializer
deserialize
-
Field Details
-
ONE
- Mappings:
Namespace Name Mixin selector official aLfpn;a:Lbax;intermediary field_38801Lnet/minecraft/class_1115;field_38801:Lnet/minecraft/class_5863;named ONELnet/minecraft/client/sound/SoundEntryDeserializer;ONE:Lnet/minecraft/util/math/floatprovider/FloatProvider;
-
-
Constructor Details
-
SoundEntryDeserializer
public SoundEntryDeserializer()
-
-
Method Details
-
method_4791
public SoundEntry method_4791(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Throws:
JsonParseException- Mappings:
Namespace Name Mixin selector official aLfpn;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lfpm;intermediary method_4791Lnet/minecraft/class_1115;method_4791(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_1110;named method_4791Lnet/minecraft/client/sound/SoundEntryDeserializer;method_4791(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/sound/SoundEntry;
-
deserializeSounds
- Mappings:
Namespace Name Mixin selector official aLfpn;a(Lcom/google/gson/JsonObject;)Ljava/util/List;intermediary method_4792Lnet/minecraft/class_1115;method_4792(Lcom/google/gson/JsonObject;)Ljava/util/List;named deserializeSoundsLnet/minecraft/client/sound/SoundEntryDeserializer;deserializeSounds(Lcom/google/gson/JsonObject;)Ljava/util/List;
-
deserializeSound
- Mappings:
Namespace Name Mixin selector official bLfpn;b(Lcom/google/gson/JsonObject;)Lfpl;intermediary method_4790Lnet/minecraft/class_1115;method_4790(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1111;named deserializeSoundLnet/minecraft/client/sound/SoundEntryDeserializer;deserializeSound(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/sound/Sound;
-
deserializeType
- Mappings:
Namespace Name Mixin selector official aLfpn;a(Lcom/google/gson/JsonObject;Lfpl$a;)Lfpl$a;intermediary method_4789Lnet/minecraft/class_1115;method_4789(Lcom/google/gson/JsonObject;Lnet/minecraft/class_1111$class_1112;)Lnet/minecraft/class_1111$class_1112;named deserializeTypeLnet/minecraft/client/sound/SoundEntryDeserializer;deserializeType(Lcom/google/gson/JsonObject;Lnet/minecraft/client/sound/Sound$RegistrationType;)Lnet/minecraft/client/sound/Sound$RegistrationType;
-