Skip to content

GufliMC/BrickMath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BrickMath

Implements some math functionality that can be used universally with a minecraft platform dependency.

Platforms

  • Minestom
  • Spigot / Paper

Usage

Gradle

repositories {
    maven { url "https://repo.jorisg.com/snapshots" }
}
dependencies {
    // universal
    implementation 'com.guflimc.brick.math:api:1.0-SNAPSHOT'
    
    // database converters
    implementation 'com.guflimc.brick.math:database:1.0-SNAPSHOT'
    
    // minestom converters
    implementation 'com.guflimc.brick.math:minestom:1.0-SNAPSHOT'
    
    // spigot converters
    implementation 'com.guflimc.brick.math:spigot:1.0-SNAPSHOT'
}

Javadoc

You can find the javadocs for all platforms here

Examples

Location position = new Location("world", 1, 1, 1, 0, 0);

org.bukkit.Location loc = SpigotMath.toLocation(position);

Pos pos = MinesomMath.toPos(position);

About

A Minecraft server library with common used mathematics for a blocky 3d world.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages