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 named net/minecraft/client/sound/SoundEntryDeserializer
intermediary net/minecraft/class_1115
official gso
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) private Sound
deserializeSound
(JsonObject json) deserializeSounds
(JsonObject json) private Sound.RegistrationType
deserializeType
(JsonObject json, Sound.RegistrationType fallback)
-
Field Details
-
ONE
- Mappings:
Namespace Name Mixin selector named ONE
Lnet/minecraft/client/sound/SoundEntryDeserializer;ONE:Lnet/minecraft/util/math/floatprovider/FloatProvider;
intermediary field_38801
Lnet/minecraft/class_1115;field_38801:Lnet/minecraft/class_5863;
official a
Lgso;a:Lbpz;
-
-
Constructor Details
-
SoundEntryDeserializer
public SoundEntryDeserializer()
-
-
Method Details
-
deserialize
public SoundEntry deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Specified by:
deserialize
in interfaceJsonDeserializer<SoundEntry>
- Throws:
JsonParseException
- Mappings:
Namespace Name Mixin selector named deserialize
Lnet/minecraft/client/sound/SoundEntryDeserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/sound/SoundEntry;
intermediary method_4791
Lnet/minecraft/class_1115;method_4791(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_1110;
official a
Lgso;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lgsn;
-
deserializeSounds
- Mappings:
Namespace Name Mixin selector named deserializeSounds
Lnet/minecraft/client/sound/SoundEntryDeserializer;deserializeSounds(Lcom/google/gson/JsonObject;)Ljava/util/List;
intermediary method_4792
Lnet/minecraft/class_1115;method_4792(Lcom/google/gson/JsonObject;)Ljava/util/List;
official a
Lgso;a(Lcom/google/gson/JsonObject;)Ljava/util/List;
-
deserializeSound
- Mappings:
Namespace Name Mixin selector named deserializeSound
Lnet/minecraft/client/sound/SoundEntryDeserializer;deserializeSound(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/sound/Sound;
intermediary method_4790
Lnet/minecraft/class_1115;method_4790(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1111;
official b
Lgso;b(Lcom/google/gson/JsonObject;)Lgsm;
-
deserializeType
- Mappings:
Namespace Name Mixin selector named deserializeType
Lnet/minecraft/client/sound/SoundEntryDeserializer;deserializeType(Lcom/google/gson/JsonObject;Lnet/minecraft/client/sound/Sound$RegistrationType;)Lnet/minecraft/client/sound/Sound$RegistrationType;
intermediary method_4789
Lnet/minecraft/class_1115;method_4789(Lcom/google/gson/JsonObject;Lnet/minecraft/class_1111$class_1112;)Lnet/minecraft/class_1111$class_1112;
official a
Lgso;a(Lcom/google/gson/JsonObject;Lgsm$a;)Lgsm$a;
-