if(object.has("obfuscated")) component.decoration(TextDecoration.OBFUSCATED, object.get("obfuscated").getAsBoolean()); if(object.has("color")) component.color(context.deserialize(object.get("color"), TextColor.class)); if(object.has("insertion")) component.insertion(object.get("insertion").getAsString()); if(object.has("clickEvent")) { final JsonObject clickEvent = object.getAsJsonObject("clickEvent");
if(object.has("obfuscated")) component.decoration(TextDecoration.OBFUSCATED, object.get("obfuscated").getAsBoolean()); if(object.has("color")) component.color(context.deserialize(object.get("color"), TextColor.class)); if(object.has("insertion")) component.insertion(object.get("insertion").getAsString()); if(object.has("clickEvent")) { final JsonObject clickEvent = object.getAsJsonObject("clickEvent");