Draylar / get-off-my-lawn

Keep people off your lawn with claims! Built for Fabric.
https://www.curseforge.com/minecraft/mc-mods/get-off-my-lawn
MIT License
4 stars 18 forks source link
fabric fabricmc hacktoberfest minecraft modding rtree

Get Off My Lawn

Get Off My Lawn is a take on the popular concept of claims. It helps protect your stuff! It is built for Fabric on 1.15.2.

To get started, you'll have to craft a Claim Anchor. Each anchor has a different claim radius; after placing one, a box around it will be formed. This box is yours!

Makeshift, radius of 10

Reinforced, radius of 25

Glistening, radius of 50

Crystal, radius of 75

Emeradic, radius of 125

Withered, radius of 200

[NYI] To configure your claim, you can interact with the anchor block. A UI will appear that offers several configuration options:

[NYI] To upgrade your claim, place an Anchor Augment next to the core Claim Anchor. Anchor Augments available include:

To see claim areas, you'll have to craft a Goggles of (Claim) Revealing:

When this item equipped in the helmet slot, claim outlines become visible.

Protection Checks

Get Off My Lawn currently checks for claims when the following actions occur:

If the player does not own the claim, they are not allowed to finish (/start) the action. In the case of explosions, no blocks break.

Installation: Users

You'll need to install the Fabric Loader, Fabric API, and appropriate mod jar from the releases tab (or the CurseForge page).

Drop the mod jar and Fabric API into your /mods folder and boot up the game.

Installation: Developers

[NYI] Get Off My Lawn offers an API that allows you to:

To install the mod to your development environment:

build.gradle

repositories {
    maven { url 'https://jitpack.io' }
}

build.gradle

dependencies {
    modImplementation 'com.github.Draylar:get-off-my-lawn:${project.goml_version}'
}

gradle.properties

goml_version=master-SNAPSHOT

License

Get Off My Lawn is available under the MIT license. The project, code, and assets found in this repository are available for free public use.