public static class ForgeBlockStateV1.Deserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<ForgeBlockStateV1>
Modifier and Type | Field and Description |
---|---|
(package private) static ForgeBlockStateV1.Deserializer |
INSTANCE |
Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
ForgeBlockStateV1 |
deserialize(com.google.gson.JsonElement element,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
private com.google.common.collect.Multimap<java.lang.String,ForgeBlockStateV1.Variant> |
getPermutations(java.util.List<java.lang.String> sorted,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,ForgeBlockStateV1.Variant>> base,
int depth,
java.lang.String prefix,
com.google.common.collect.Multimap<java.lang.String,ForgeBlockStateV1.Variant> ret,
ForgeBlockStateV1.Variant parent) |
private com.google.common.collect.Multimap<java.lang.String,ForgeBlockStateV1.Variant> |
getPermutations(java.util.Map<java.lang.String,java.util.Map<java.lang.String,ForgeBlockStateV1.Variant>> base) |
private java.util.List<ForgeBlockStateV1.Variant> |
getSubmodelPermutations(ForgeBlockStateV1.Variant baseVar,
java.util.List<java.lang.String> sorted,
java.util.Map<java.lang.String,java.util.List<ForgeBlockStateV1.Variant>> map,
int depth,
java.util.Map<java.lang.String,ForgeBlockStateV1.Variant> parts,
java.util.List<ForgeBlockStateV1.Variant> ret) |
private java.util.List<ForgeBlockStateV1.Variant> |
getSubmodelPermutations(ForgeBlockStateV1.Variant baseVar,
java.util.Map<java.lang.String,java.util.List<ForgeBlockStateV1.Variant>> variants) |
static ForgeBlockStateV1.Deserializer INSTANCE
public ForgeBlockStateV1 deserialize(com.google.gson.JsonElement element, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<ForgeBlockStateV1>
com.google.gson.JsonParseException
private com.google.common.collect.Multimap<java.lang.String,ForgeBlockStateV1.Variant> getPermutations(java.util.List<java.lang.String> sorted, java.util.Map<java.lang.String,java.util.Map<java.lang.String,ForgeBlockStateV1.Variant>> base, int depth, java.lang.String prefix, com.google.common.collect.Multimap<java.lang.String,ForgeBlockStateV1.Variant> ret, @Nullable ForgeBlockStateV1.Variant parent)
private com.google.common.collect.Multimap<java.lang.String,ForgeBlockStateV1.Variant> getPermutations(java.util.Map<java.lang.String,java.util.Map<java.lang.String,ForgeBlockStateV1.Variant>> base)
private java.util.List<ForgeBlockStateV1.Variant> getSubmodelPermutations(ForgeBlockStateV1.Variant baseVar, java.util.List<java.lang.String> sorted, java.util.Map<java.lang.String,java.util.List<ForgeBlockStateV1.Variant>> map, int depth, java.util.Map<java.lang.String,ForgeBlockStateV1.Variant> parts, java.util.List<ForgeBlockStateV1.Variant> ret)
private java.util.List<ForgeBlockStateV1.Variant> getSubmodelPermutations(ForgeBlockStateV1.Variant baseVar, java.util.Map<java.lang.String,java.util.List<ForgeBlockStateV1.Variant>> variants)