Skip to content

Commit 96f9977

Browse files
committed
v0.0.3
1 parent 76c62b9 commit 96f9977

File tree

285 files changed

+2541
-604
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

285 files changed

+2541
-604
lines changed

.gitattributes

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
# Auto detect text files and perform LF normalization
2-
* text=auto
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf
9+

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,26 @@ jobs:
1212
matrix:
1313
# Use these Java versions
1414
java: [
15-
17, # Current Java LTS & minimum supported by Minecraft
1615
21, # Current Java LTS
1716
]
18-
# and run on both Linux and Windows
19-
os: [ubuntu-22.04, windows-2022]
20-
runs-on: ${{ matrix.os }}
17+
runs-on: ubuntu-22.04
2118
steps:
2219
- name: checkout repository
2320
uses: actions/checkout@v4
2421
- name: validate gradle wrapper
25-
uses: gradle/wrapper-validation-action@v1
22+
uses: gradle/wrapper-validation-action@v2
2623
- name: setup jdk ${{ matrix.java }}
2724
uses: actions/setup-java@v4
2825
with:
2926
java-version: ${{ matrix.java }}
3027
distribution: 'microsoft'
3128
- name: make gradle wrapper executable
32-
if: ${{ runner.os != 'Windows' }}
3329
run: chmod +x ./gradlew
3430
- name: build
3531
run: ./gradlew build
3632
- name: capture build artifacts
37-
if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
38-
uses: actions/upload-artifact@v3
33+
if: ${{ matrix.java == '21' }} # Only upload artifacts built from latest java
34+
uses: actions/upload-artifact@v4
3935
with:
4036
name: Artifacts
4137
path: build/libs/

build.gradle

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'fabric-loom' version '1.9-SNAPSHOT'
2+
id 'fabric-loom' version '1.10-SNAPSHOT'
33
id 'maven-publish'
44
}
55

@@ -20,15 +20,29 @@ repositories {
2020

2121
loom {
2222
accessWidenerPath = file("src/main/resources/homelawnsecurity.accesswidener")
23+
24+
/*runs{
25+
datagen {
26+
client()
27+
28+
name "Minecraft Datagen"
29+
vmArg "-Dfabric-api.datagen"
30+
vmArg "-Dfabric-api.datagen.output-dir=${file('src/main/generated')}"
31+
32+
runDir "build/datagen"
33+
}
34+
}*/
2335
}
2436

2537
fabricApi {
26-
configureDataGeneration()
38+
configureDataGeneration {
39+
client = true
40+
}
2741
}
2842

2943
dependencies {
3044
// To change the versions see the gradle.properties file
31-
minecraft "com.mojang:minecraft:${project.minecraft_version}"
45+
minecraft "net.minecraft:minecraft:${project.minecraft_version}"
3246
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
3347
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
3448

@@ -40,14 +54,14 @@ dependencies {
4054

4155
// modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
4256

43-
include(implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:0.2.0")))
57+
//include(implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:0.4.1")))
4458
}
4559

4660
processResources {
4761
inputs.property "version", project.version
4862

4963
filesMatching("fabric.mod.json") {
50-
expand "version": project.version
64+
expand "version": inputs.properties.version
5165
}
5266
}
5367

@@ -66,15 +80,18 @@ java {
6680
}
6781

6882
jar {
83+
inputs.property "archivesName", project.base.archivesName
84+
6985
from("LICENSE") {
70-
rename { "${it}_${project.base.archivesName.get()}"}
86+
rename { "${it}_${inputs.properties.archivesName}"}
7187
}
7288
}
7389

7490
// configure the maven publication
7591
publishing {
7692
publications {
77-
mavenJava(MavenPublication) {
93+
create("mavenJava", MavenPublication) {
94+
artifactId = project.archives_base_name
7895
from components.java
7996
}
8097
}

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ org.gradle.parallel=true
55
# Fabric Properties
66
# check these on https://fabricmc.net/develop
77
minecraft_version=1.21.4
8-
yarn_mappings=1.21.4+build.1
9-
loader_version=0.16.9
8+
yarn_mappings=1.21.4+build.8
9+
loader_version=0.16.10
1010

1111
# Mod Properties
12-
mod_version=0.0.2
12+
mod_version=0.0.3
1313
maven_group=net.db64.homelawnsecurity
1414
archives_base_name=homelawnsecurity
1515

1616
# Dependencies
17-
fabric_version=0.110.5+1.21.4
17+
fabric_version=0.119.0+1.21.4

gradle/wrapper/gradle-wrapper.jar

121 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,7 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
8890

8991
# Use the maximum available, or set MAX_FD != -1 to use that value.
9092
MAX_FD=maximum

gradlew.bat

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################
@@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
4345
%JAVA_EXE% -version >NUL 2>&1
4446
if %ERRORLEVEL% equ 0 goto execute
4547

46-
echo.
47-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48-
echo.
49-
echo Please set the JAVA_HOME variable in your environment to match the
50-
echo location of your Java installation.
48+
echo. 1>&2
49+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
50+
echo. 1>&2
51+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
52+
echo location of your Java installation. 1>&2
5153

5254
goto fail
5355

@@ -57,11 +59,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5759

5860
if exist "%JAVA_EXE%" goto execute
5961

60-
echo.
61-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62-
echo.
63-
echo Please set the JAVA_HOME variable in your environment to match the
64-
echo location of your Java installation.
62+
echo. 1>&2
63+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
64+
echo. 1>&2
65+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
66+
echo location of your Java installation. 1>&2
6567

6668
goto fail
6769

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
// 1.21.3 2024-11-30T13:49:41.6561244 Home Lawn Security/Tags for minecraft:worldgen/biome
1+
// 1.21.4 -999999999-01-01T00:00:00 Home Lawn Security/Tags for minecraft:worldgen/biome
Lines changed: 21 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,21 @@
1-
// 1.21.3 2024-11-30T13:49:41.6529237 Home Lawn Security/Tags for minecraft:block
2-
2d1c67bf9b1eb73bed6e29ce3efd40c81e5d1e79 data\homelawnsecurity\tags\block\zombie_path_2.json
3-
f0b540c4505200fa97780d011093a3500b72ecf7 data\homelawnsecurity\tags\block\zombie_path_2_markers.json
4-
169aa89bded9a0ced367dc026fd0ba09c0891d7e data\homelawnsecurity\tags\block\plant_placeable_path_markers.json
5-
6ab77a27104a6da052855efed540f5c0e6d81193 data\homelawnsecurity\tags\block\zombie_path_1_markers.json
6-
1a9c7e9fff96b93050c5e23e1968723e6f111dca data\homelawnsecurity\tags\block\zombie_goal.json
7-
1a9c7e9fff96b93050c5e23e1968723e6f111dca data\homelawnsecurity\tags\block\lawn_mower_start.json
8-
945c9a60d83fd3eab25b4d39cbc28083d1ade34f data\homelawnsecurity\tags\block\lawn_mower_placeable_markers.json
9-
2e54aab9b0559feb62f09dfe329c547aaa333325 data\homelawnsecurity\tags\block\lawn_mower_goal.json
10-
e83396fbba332e8c6dcc794a5f1a9184b31d4aaa data\homelawnsecurity\tags\block\plant_placeable_path.json
11-
e1f68e4a7a1eb3b0a5057c6e00f3aefdbac38038 data\homelawnsecurity\tags\block\lawn_mower_start_markers.json
12-
8b24ee592b355b6d2e52f7895933fb300b5fdeee data\homelawnsecurity\tags\block\zombie_placeable.json
13-
34aac379bbe02463cea12ec8bd47c24d2b9268d5 data\homelawnsecurity\tags\block\zombie_start_markers.json
14-
e1f68e4a7a1eb3b0a5057c6e00f3aefdbac38038 data\homelawnsecurity\tags\block\zombie_goal_markers.json
15-
34aac379bbe02463cea12ec8bd47c24d2b9268d5 data\homelawnsecurity\tags\block\lawn_mower_goal_markers.json
16-
88fb3609653c40ff26568302560b8989b6ea129a data\homelawnsecurity\tags\block\markers.json
17-
431a2e08825cf3444f54f6411bd6ddb631e9cb44 data\homelawnsecurity\tags\block\lawn_mower_path_cross_markers.json
18-
71fa9dd7f303ec144b301dc2601c5419d30d1a93 data\homelawnsecurity\tags\block\zombie_path_1.json
19-
dd42bd6e03f8a3ebcdeb413e4c120eb06945bb00 data\homelawnsecurity\tags\block\zombie_path_cross.json
20-
f0b540c4505200fa97780d011093a3500b72ecf7 data\homelawnsecurity\tags\block\lawn_mower_path_2_markers.json
21-
d8c1b8f88765f74678310b2e5bb8a98f8cb0242d data\homelawnsecurity\tags\block\lawn_mower_placeable.json
22-
71fa9dd7f303ec144b301dc2601c5419d30d1a93 data\homelawnsecurity\tags\block\lawn_mower_path_1.json
23-
431a2e08825cf3444f54f6411bd6ddb631e9cb44 data\homelawnsecurity\tags\block\zombie_path_cross_markers.json
24-
3585587ac17fc5109168cf49f43c8a433c52cabe data\homelawnsecurity\tags\block\plant_placeable_lawn.json
25-
99cb5b834f01ae09d18b31b7a88f844ab876033f data\minecraft\tags\block\mineable\shovel.json
26-
ab7ad27303932659e97cbe690a3f4fbe9af34d0f data\homelawnsecurity\tags\block\zombie_placeable_markers.json
27-
6ab77a27104a6da052855efed540f5c0e6d81193 data\homelawnsecurity\tags\block\lawn_mower_path_1_markers.json
28-
fc45d810208420129a0b3e0d1cfb3f903dd60012 data\homelawnsecurity\tags\block\plant_placeable_lawn_markers.json
29-
2d1c67bf9b1eb73bed6e29ce3efd40c81e5d1e79 data\homelawnsecurity\tags\block\lawn_mower_path_2.json
30-
2e54aab9b0559feb62f09dfe329c547aaa333325 data\homelawnsecurity\tags\block\zombie_start.json
31-
dd42bd6e03f8a3ebcdeb413e4c120eb06945bb00 data\homelawnsecurity\tags\block\lawn_mower_path_cross.json
1+
// 1.21.4 -999999999-01-01T00:00:00 Home Lawn Security/Tags for minecraft:block
2+
1a9c7e9fff96b93050c5e23e1968723e6f111dca data/homelawnsecurity/tags/block/lawn_mower_placeable.json
3+
e1f68e4a7a1eb3b0a5057c6e00f3aefdbac38038 data/homelawnsecurity/tags/block/lawn_mower_placeable_markers.json
4+
88fb3609653c40ff26568302560b8989b6ea129a data/homelawnsecurity/tags/block/markers.json
5+
3585587ac17fc5109168cf49f43c8a433c52cabe data/homelawnsecurity/tags/block/plant_placeable_lawn.json
6+
fc45d810208420129a0b3e0d1cfb3f903dd60012 data/homelawnsecurity/tags/block/plant_placeable_lawn_markers.json
7+
e83396fbba332e8c6dcc794a5f1a9184b31d4aaa data/homelawnsecurity/tags/block/plant_placeable_path.json
8+
169aa89bded9a0ced367dc026fd0ba09c0891d7e data/homelawnsecurity/tags/block/plant_placeable_path_markers.json
9+
1a9c7e9fff96b93050c5e23e1968723e6f111dca data/homelawnsecurity/tags/block/zombie_goal.json
10+
e1f68e4a7a1eb3b0a5057c6e00f3aefdbac38038 data/homelawnsecurity/tags/block/zombie_goal_markers.json
11+
71fa9dd7f303ec144b301dc2601c5419d30d1a93 data/homelawnsecurity/tags/block/zombie_path_1.json
12+
6ab77a27104a6da052855efed540f5c0e6d81193 data/homelawnsecurity/tags/block/zombie_path_1_markers.json
13+
2d1c67bf9b1eb73bed6e29ce3efd40c81e5d1e79 data/homelawnsecurity/tags/block/zombie_path_2.json
14+
f0b540c4505200fa97780d011093a3500b72ecf7 data/homelawnsecurity/tags/block/zombie_path_2_markers.json
15+
dd42bd6e03f8a3ebcdeb413e4c120eb06945bb00 data/homelawnsecurity/tags/block/zombie_path_cross.json
16+
431a2e08825cf3444f54f6411bd6ddb631e9cb44 data/homelawnsecurity/tags/block/zombie_path_cross_markers.json
17+
e83396fbba332e8c6dcc794a5f1a9184b31d4aaa data/homelawnsecurity/tags/block/zombie_placeable.json
18+
ab7ad27303932659e97cbe690a3f4fbe9af34d0f data/homelawnsecurity/tags/block/zombie_placeable_markers.json
19+
2e54aab9b0559feb62f09dfe329c547aaa333325 data/homelawnsecurity/tags/block/zombie_start.json
20+
34aac379bbe02463cea12ec8bd47c24d2b9268d5 data/homelawnsecurity/tags/block/zombie_start_markers.json
21+
99cb5b834f01ae09d18b31b7a88f844ab876033f data/minecraft/tags/block/mineable/shovel.json

0 commit comments

Comments
 (0)