Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/li0ard/stronghold.py
Some utils for find Minecraft stronghold
https://github.com/li0ard/stronghold.py
minecraft stronghold-location
Last synced: about 2 months ago
JSON representation
Some utils for find Minecraft stronghold
- Host: GitHub
- URL: https://github.com/li0ard/stronghold.py
- Owner: li0ard
- License: apache-2.0
- Created: 2023-12-29T18:17:33.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-07-22T06:10:51.000Z (5 months ago)
- Last Synced: 2024-07-22T21:50:47.684Z (5 months ago)
- Topics: minecraft, stronghold-location
- Language: Python
- Homepage: http://li0ard.is-cool.dev/stronghold.py/
- Size: 143 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stronghold.py
Some utils for find Minecraft stronghold[![Python package](https://github.com/li0ard/stronghold.py/actions/workflows/python-package.yml/badge.svg)](https://github.com/li0ard/stronghold.py/actions/workflows/python-package.yml)
### Classes
- `Point(x, y, z, angle)`
### Methods
- `getPointIntersection` - Calculate the location of the stronghold using two points with angles
- `getAngleAtoB` - Gets the angle from one point to the next
- `getDistanceBetweenPoints` - Gets the distance from one point to another
- `getLineIntersectionOnCircle` - Takes a point and angle and returns the coordinates of where it intersects with a circle of the given radius
- `findClosestPointInCircle`
- `getPointIntersection`
- `checkInRing`
- `applyX4Z4Rule`