Update Java API to match current coremod version

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>