类 BlockElement.Deserializer

java.lang.Object
net.minecraft.client.renderer.block.model.BlockElement.Deserializer
所有已实现的接口:
com.google.gson.JsonDeserializer<BlockElement>
封闭类:
BlockElement

public static class BlockElement.Deserializer extends Object implements com.google.gson.JsonDeserializer<BlockElement>
  • 字段详细资料

    • DEFAULT_SHADE

      private static final boolean DEFAULT_SHADE
      另请参阅:
    • DEFAULT_LIGHT_EMISSION

      private static final int DEFAULT_LIGHT_EMISSION
      另请参阅:
  • 构造器详细资料

    • Deserializer

      public Deserializer()
  • 方法详细资料

    • deserialize

      public BlockElement deserialize(com.google.gson.JsonElement p_111329_, Type p_111330_, com.google.gson.JsonDeserializationContext p_111331_) throws com.google.gson.JsonParseException
      指定者:
      deserialize 在接口中 com.google.gson.JsonDeserializer<BlockElement>
      抛出:
      com.google.gson.JsonParseException
    • getRotation

      @Nullable private BlockElementRotation getRotation(com.google.gson.JsonObject p_111333_)
    • getAngle

      private float getAngle(com.google.gson.JsonObject p_111343_)
    • getAxis

      private Direction.Axis getAxis(com.google.gson.JsonObject p_111345_)
    • getFaces

      private Map<Direction,BlockElementFace> getFaces(com.google.gson.JsonDeserializationContext p_111326_, com.google.gson.JsonObject p_111327_)
    • filterNullFromFaces

      private Map<Direction,BlockElementFace> filterNullFromFaces(com.google.gson.JsonDeserializationContext p_111340_, com.google.gson.JsonObject p_111341_)
    • getFacing

      private Direction getFacing(String p_111338_)
    • getTo

      private org.joml.Vector3f getTo(com.google.gson.JsonObject p_111353_)
    • getFrom

      private org.joml.Vector3f getFrom(com.google.gson.JsonObject p_111347_)
    • getVector3f

      private org.joml.Vector3f getVector3f(com.google.gson.JsonObject p_111335_, String p_111336_)