dart_minecraft 0.1.1

Dart native
Flutter Android iOS

Brings Minecraft and Mojang APIs to Dart.

dart_minecraft #

Pub Package GitHub Issues GitHub Stars GitHub License

A simple Dart library for interfacing with the Mojang and Minecraft APIs.

Examples #

Skin/Cape of a player #

void main() async {
    Pair player = await Mojang.getUuid('<your username>');
    Profile profile = await Mojang.getProfile(player.getSecond);
    String url = profile.getTextures.getSkinUrl();
}

Name history of a player #

void main() async {
    String uuid = await Mojang.getUuid('<your username>');
    List<Name> history = await Mojang.getNameHistory(uuid);
    history.forEach((Name name) => print(name.getName));
}

Planned #

  • [x] Support for all the Minecraft and Minecraft Launcher APIs.
  • [ ] Support for launching Minecraft itself.
  • [ ] Support for seeing and joining a Minecraft Server.

License #

The MIT License, see LICENSE.

1
likes
70
pub points
6%
popularity

Brings Minecraft and Mojang APIs to Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

sean165@outlook.de

License

MIT (LICENSE)

Dependencies

uuid

More

Packages that depend on dart_minecraft