YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.gui.ChatClickData Class Reference

Public Member Functions

 ChatClickData (FontRenderer par1FontRenderer, ChatLine par2ChatLine, int par3, int par4)
 
String getClickedUrl ()
 
URI getURI ()
 

Static Public Attributes

static final Pattern pattern = Pattern.compile("^(?:(https?)://)?([-\\w_\\.]{2,}\\.[a-z]{2,4})(/\\S*)?$")
 

Constructor & Destructor Documentation

net.minecraft.client.gui.ChatClickData.ChatClickData ( FontRenderer  par1FontRenderer,
ChatLine  par2ChatLine,
int  par3,
int  par4 
)

Member Function Documentation

String net.minecraft.client.gui.ChatClickData.getClickedUrl ( )

Gets the URL which was clicked on.

URI net.minecraft.client.gui.ChatClickData.getURI ( )

computes the URI from the clicked chat data object

Member Data Documentation

final Pattern net.minecraft.client.gui.ChatClickData.pattern = Pattern.compile("^(?:(https?)://)?([-\\w_\\.]{2,}\\.[a-z]{2,4})(/\\S*)?$")
static

The documentation for this class was generated from the following file: