Source:
<code>public boolean modifyEvent(String key, Construct value, BindableEvent event) { if (event instanceof MCPlayerChatEvent) { MCPlayerChatEvent e = (MCPlayerChatEvent)event; if("message".equals(key)){ e.setMessage(value.nval()); } if("recipients".equals(key)){ if(value instanceof CArray){ List<MCPlayer> list = new ArrayList<MCPlayer>(); for(String index : ((CArray)value).stringKeySet()){ Construct v = ((CArray)value).get(index, Target.UNKNOWN); try{ list.add(Static.GetPlayer(v, Target.UNKNOWN)); } catch(ConfigRuntimeException ex){ } } e.setRecipients(list); } else { throw ConfigRuntimeException.BuildException("recipients must be an array", CRECastException.class, value.getTarget()); } } if("format".equals(key)){ String format = value.nval(); if(format == null) { <START> throw new CRENullPointerException("The \"format\" key in " + modify_event.class.getSimpleName() + " for the " + this.getName() <END> + " event may not be null.", Target.UNKNOWN); } else if(format.replaceAll("%%", "").replaceAll("\\%\\%|\\%[12]\\$s", "").contains("%")) { throw new CREFormatException("The \"format\" key in " + modify_event.class.getSimpleName() + " for the " + this.getName() + " event only accepts %1$s and %1$s as format specifiers. Use a \"%%\" to display a single \"%\".", Target.UNKNOWN); } try{ e.setFormat(format); } catch(UnknownFormatConversionException | IllegalFormatConversionException | FormatFlagsConversionMismatchException ex){ throw new CREFormatException(ex.getMessage(), Target.UNKNOWN); } } return true; } return false; }</code><technical_language>new modify_event().getName(). based class name</technical_language>

Target:
public boolean modifyEvent(String key, Construct value, BindableEvent event) { if (event instanceof MCPlayerChatEvent) { MCPlayerChatEvent e = (MCPlayerChatEvent)event; if("message".equals(key)){ e.setMessage(value.nval()); } if("recipients".equals(key)){ if(value instanceof CArray){ List<MCPlayer> list = new ArrayList<MCPlayer>(); for(String index : ((CArray)value).stringKeySet()){ Construct v = ((CArray)value).get(index, Target.UNKNOWN); try{ list.add(Static.GetPlayer(v, Target.UNKNOWN)); } catch(ConfigRuntimeException ex){ } } e.setRecipients(list); } else { throw ConfigRuntimeException.BuildException("recipients must be an array", CRECastException.class, value.getTarget()); } } if("format".equals(key)){ String format = value.nval(); if(format == null) { throw new CRENullPointerException("The \"format\" key in " + new modify_event().getName() + " for the " + this.getName() + " event may not be null.", Target.UNKNOWN); } try{ e.setFormat(format); } catch(Exception ex){ if(format.replaceAll("%%", "").replaceAll("\\%\\%|\\%[12]\\$s", "").contains("%")) { throw new CREFormatException("The \"format\" key in " + modify_event.class.getSimpleName() + " for the " + this.getName() + " event only accepts %1$s and %2$s as format specifiers. Use a \"%%\" to display a single \"%\".", Target.UNKNOWN); } else { throw new CREFormatException("The \"format\" key in " + modify_event.class.getSimpleName() + " for the " + this.getName() + " event was set to an invalid value: " + format + ". The original exception message is: " + ex.getMessage(), Target.UNKNOWN); } } } return true; } return false; }