Git Product home page Git Product logo

zerite / craftlib Goto Github PK

View Code? Open in Web Editor NEW
82.0 2.0 5.0 587 KB

๐ŸŽฎ CraftLib wraps the entire Minecraft codebase as a Java / Kotlin library. Supports protocol, NBT, chat and schematics. 1.7.x - 1.8.x

Home Page: https://zerite.dev

License: GNU Lesser General Public License v3.0

Kotlin 100.00%
minecraft minecraft-api craftlib minecraft-nbt minecraft-chat minecraft-protocol protocol kotlin java nbt schematic minecraft-codebase

craftlib's Introduction

Header

CraftLib

The entire Minecraft codebase as a library, with protocol, NBT, chat and schematic file support.

Issues License Latest Version Support

Contents

  1. What IS CraftLib?
  2. Using it
  3. Special Thanks

1. What IS CraftLib?

CraftLib is a simple Kotlin library which aims to completely recreate many of the essential concepts of Minecraft. This includes protocol, NBT, chat, localization, schematics and more to come!

This library includes full support for Kotlin's features out of the box with additional functions being introduced to ensure Java interoperability is simple and straightforward.

2. Using it.

To include CraftLib into your project, add the Maven Central repository to your project. Then add the appropriate dependency notation for your build system to include our package.

Note: The wiki is currently a WIP. This file will be updated accordingly once it is sufficiently complete.

Maven

<dependency>
    <groupId>dev.zerite.craftlib</groupId>
    <artifactId>craftlib-protocol</artifactId>
    <version>0.1.4</version>
</dependency>

Gradle

implementation 'dev.zerite.craftlib:craftlib-protocol:0.1.4'

3. Special Thanks

MCDevs

Wiki.vg

A HUGE thank you to the team at #mcdevs (Freenode IRC) and their wiki. Without their work documenting the Minecraft codebase, this project wouldn't be possible. Some comments from their wiki pages (particularly protocol) have been used throughout the codebase and all rights to those texts belong to their team.

YourKit

YourKit Java Profiler

YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.

craftlib's People

Contributors

chachydev avatar dependabot-preview[bot] avatar dependabot[bot] avatar kodingdev avatar my-name-is-jeff avatar sychic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

craftlib's Issues

documentation pls

I can't compare it to regular minecraft protocol, idk how to implement it.

Move from craftlib-chat to adventure

Is your feature request related to a problem? Please describe.
Adventure appears to be more established when it comes to dealing with chat messages. It has many features that this project can inherit from using it.

It abstracts Text components, boss-bars, sounds, and they even have an NBT API if you need (provided you also want to migrate from yours).

Describe the solution you'd like
Stop using craftlib-chat and move to adventure.

Although, I understand if you don't want to make the move into something made by another person/team.
Either way, thanks for the time and effort you put into this project!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.