Skip to content

Translate mob (EntityType)

PikaMug edited this page Jan 13, 2021 · 2 revisions

To send the message "Pig is best mob?" use (p is the Player):

localeManager.sendMessage(p, "<mob> is best mob?", EntityType.PIG, null);

Or, to send the message "The Killer Bunny strikes again!" use:

localeManager.sendMessage(p, "<mob> strikes again!", EntityType.RABBIT, Rabbit.Type.THE_KILLER_BUNNY);
Clone this wiki locally