Class BlockFaceUV.Deserializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<BlockFaceUV>
    Enclosing class:
    BlockFaceUV

    public static class BlockFaceUV.Deserializer
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<BlockFaceUV>
    • Constructor Summary

      Constructors 
      Constructor Description
      Deserializer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BlockFaceUV deserialize​(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)  
      protected int getRotation​(com.google.gson.JsonObject p_178291_1_)  
      private float[] getUVs​(com.google.gson.JsonObject p_178292_1_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Deserializer

        public Deserializer()
    • Method Detail

      • deserialize

        public BlockFaceUV 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 interface com.google.gson.JsonDeserializer<BlockFaceUV>
        Throws:
        com.google.gson.JsonParseException
      • getRotation

        protected int getRotation​(com.google.gson.JsonObject p_178291_1_)
      • getUVs

        @Nullable
        private float[] getUVs​(com.google.gson.JsonObject p_178292_1_)