Skip to content

Commit 49da6ea

Browse files
committed
1.21.8-1
1 parent 4516092 commit 49da6ea

File tree

78 files changed

+2282
-1073
lines changed

Some content is hidden

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

78 files changed

+2282
-1073
lines changed

.github/workflows/build.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build on PR and Push
2+
3+
on: [pull_request, push, workflow_dispatch]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout Repository
11+
uses: actions/checkout@v4
12+
with:
13+
persist-credentials: false
14+
15+
- name: Set up Java
16+
uses: actions/setup-java@v4
17+
with:
18+
distribution: 'temurin'
19+
java-version: '21'
20+
21+
- name: Make Gradle Executable
22+
run: chmod +x ./gradlew
23+
24+
- name: Set up Gradle
25+
uses: gradle/actions/setup-gradle@v4
26+
27+
- name: Build
28+
run: ./gradlew build
29+
30+
- name: Upload Artifact
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: build-artifact
34+
path: build/libs/
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Extract Meteorist Info to Website
2+
3+
on: [push, workflow_dispatch]
4+
5+
jobs:
6+
extract-meteorist-info:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout Code
10+
uses: actions/checkout@v4
11+
12+
- name: Checkout Website Repository
13+
uses: actions/checkout@v4
14+
with:
15+
repository: Zgoly/zgoly.github.io
16+
token: ${{ secrets.WEBSITE_REPO_TOKEN }}
17+
path: ./website-repo
18+
19+
- name: Set up Java
20+
uses: actions/setup-java@v4
21+
with:
22+
distribution: 'temurin'
23+
java-version: '21'
24+
25+
- name: Make Gradle Executable
26+
run: chmod +x ./gradlew
27+
28+
- name: Run MeteoristInfoParser
29+
run: ./gradlew generateMeteoristInfo
30+
31+
- name: Commit and Push Meteorist Info to Website
32+
run: |
33+
git config user.name "github-actions[bot]"
34+
git config user.email "github-actions[bot]@users.noreply.github.com"
35+
git add ./website-repo/meteorist/generated/meteorist-info.json
36+
git commit -m "Update latest Meteorist info [automated]" || exit 0
37+
git push
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Extract Release Info to Website
2+
3+
on:
4+
release:
5+
types: [published, edited]
6+
7+
jobs:
8+
extract-release-info:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Website Repository
12+
uses: actions/checkout@v4
13+
with:
14+
repository: Zgoly/zgoly.github.io
15+
token: ${{ secrets.WEBSITE_REPO_TOKEN }}
16+
path: ./website-repo
17+
18+
- name: Write Release Info to File
19+
run: |
20+
mkdir -p ./website-repo/meteorist/generated
21+
echo '${{ toJSON(github.event.release) }}' > ./website-repo/meteorist/generated/release-info.json
22+
23+
- name: Commit and Push Release Info to Website
24+
run: |
25+
git config user.name "github-actions[bot]"
26+
git config user.email "github-actions[bot]@users.noreply.github.com"
27+
git add ./website-repo/meteorist/generated/release-info.json
28+
git commit -m "Update latest release info [automated]" || exit 0
29+
git push

README.md

Lines changed: 3 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -53,62 +53,21 @@ To download the addon, follow these steps:
5353
[![Join Discord][shield-discord-server]][discord]
5454
[![Join Discord][shield-discord-members]][discord]
5555

56-
|| Module | Description |
57-
|----|-------------------------------------------------------------------|--------------------------------------------------------------------------------|
58-
| 1 | [Auto Crafter](../../wiki/modules#auto-crafter) | Automatically craft items. |
59-
| 2 | [Auto Feed](../../wiki/modules#auto-feed) | Writes command in chat when hunger level is low. |
60-
| 3 | [Auto Fix](../../wiki/modules#auto-fix) | Writes command in chat when item close to break. |
61-
| 4 | [Auto Heal](../../wiki/modules#auto-heal) | Writes command in chat when health level is low. |
62-
| 5 | [Auto Interact](../../wiki/modules#auto-interact) | Automatically interacts with interactable blocks like doors, trapdoors, etc. |
63-
| 6 | [Auto Leave](../../wiki/modules#auto-leave) | Automatically leaves if player with specific name joins the server. |
64-
| 7 | [Auto Login](../../wiki/modules#auto-login) | Automatically logs in your account using /login. |
65-
| 8 | [Auto Mud](../../wiki/modules#auto-mud) | Automatically uses water bottle on dirt variants to get mud. |
66-
| 9 | [Auto Sleep](../../wiki/modules#auto-sleep) | Gets into bed automatically for you. |
67-
| 10 | [Auto Sneak](../../wiki/modules#auto-sneak) | Automatically sneaks at block edge (idea by kokqi). |
68-
| 11 | [Auto Trade](../../wiki/modules#auto-trade) | Automatically trades items with villagers (idea by Hiradpi). |
69-
| 12 | [Boat Control](../../wiki/modules#boat-control) | Automatically controls the boat for you. |
70-
| 13 | [Disconnect Sound](../../wiki/modules#disconnect-sound) | Plays a sound when the Disconnected Screen appears (e.g., when kicked). |
71-
| 14 | [Dm Spam](../../wiki/modules#dm-spam) | Spams messages in players direct messages. |
72-
| 15 | [Double Doors Interact](../../wiki/modules#double-doors-interact) | Open both doors with one interaction. |
73-
| 16 | [Entity Interact](../../wiki/modules#entity-interact) | Automatically interacts with entities in range. |
74-
| 17 | [Grid](../../wiki/modules#grid) | Allows you to place blocks on a grid. |
75-
| 18 | [Instructions](../../wiki/modules#instructions) | Runs commands with different delays and number of cycles. Supports Starscript. |
76-
| 19 | [Item Sucker](../../wiki/modules#item-sucker) | Automatically picks up dropped items. |
77-
| 20 | [Jump Flight](../../wiki/modules#jump-flight) | Flight that using jumps for fly. No fall recommended. |
78-
| 21 | [Jump Jump](../../wiki/modules#jump-jump) | Makes you jump higher than normal using multiple jumps. |
79-
| 22 | [Nerd Vision](../../wiki/modules#nerd-vision) | Allows you to visualize various game mechanics/farms. |
80-
| 23 | [Placer](../../wiki/modules#placer) | Places blocks in range. |
81-
| 24 | [Range Actions](../../wiki/modules#range-actions) | Combined functionality of different range actions. |
82-
| 25 | [Slot Click](../../wiki/modules#slot-click) | Module that automates clicking on slots. |
83-
| 26 | [Z Aimbot](../../wiki/modules#z-aimbot) | Smart aimbot that takes many settings into account when targeting. |
84-
| 27 | [Z Kill Aura](../../wiki/modules#z-kill-aura) | Killaura which only attacks target if you aim at it. |
85-
| 28 | [Zoom Plus](../../wiki/modules#zoom-plus) | Advanced Zoom module with more customizable settings. |
56+
Info will be added soon.
8657

8758
## 📘 Commands
8859

8960
[![Join Discord][shield-discord-server]][discord]
9061
[![Join Discord][shield-discord-members]][discord]
9162

92-
|| Command | Description |
93-
|---|----------------------------------------------------|---------------------------------------------------------------------------|
94-
| 1 | [`data`](../../wiki/commands#data) | Gets NBT data of entities or blocks. |
95-
| 2 | [`instructions`](../../wiki/commands#instructions) | Runs saved instructions from the "Instructions" module. |
96-
| 3 | [`interact`](../../wiki/commands#interact) | Interact with closest block. |
97-
| 4 | [`playersinfo`](../../wiki/commands#playersinfo) | Saves in file / copies to clipboard info about players on current server. |
63+
Info will be added soon.
9864

9965
## 🎨 Presets
10066

10167
[![Join Discord][shield-discord-server]][discord]
10268
[![Join Discord][shield-discord-members]][discord]
10369

104-
Additional presets for Meteor.
105-
106-
|| Title | Text |
107-
|---|-----------------------------------------------------------|----------------------------------------------------------------|
108-
| 1 | [Fall Damage](../../wiki/presets#fall-damage) | `Fall damage: #1{round(meteorist.fall_damage) / 2} ❤` |
109-
| 2 | [Fall Distance](../../wiki/presets#fall-distance) | `Fall distance: #1{round(meteorist.fall_distance, 1)}` |
110-
| 3 | [Max Fall Damage](../../wiki/presets#max-fall-damage) | `Max fall damage: #1{round(meteorist.max_fall_damage) / 2} ❤` |
111-
| 4 | [Max Fall Distance](../../wiki/presets#max-fall-distance) | `Max fall distance: #1{round(meteorist.max_fall_distance, 1)}` |
70+
Info will be added soon.
11271

11372

11473

build.gradle

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
plugins {
2+
id 'fabric-loom' version "${loom_version}"
3+
}
4+
5+
base {
6+
archivesName = project.archives_base_name
7+
group = project.maven_group
8+
version = "$minecraft_version-$mod_version"
9+
}
10+
11+
repositories {
12+
maven {
13+
name = 'meteor-maven'
14+
url = uri('https://maven.meteordev.org/releases')
15+
}
16+
maven {
17+
name = 'meteor-maven-snapshots'
18+
url = uri('https://maven.meteordev.org/snapshots')
19+
}
20+
}
21+
22+
sourceSets {
23+
dev {
24+
java.srcDir 'src/dev/java'
25+
compileClasspath += main.output + configurations.runtimeClasspath
26+
runtimeClasspath += output + compileClasspath
27+
}
28+
}
29+
30+
dependencies {
31+
// Fabric
32+
minecraft "com.mojang:minecraft:${project.properties['minecraft_version']}"
33+
mappings "net.fabricmc:yarn:${project.properties['yarn_mappings']}:v2"
34+
modImplementation "net.fabricmc:fabric-loader:${project.properties['loader_version']}"
35+
36+
// Meteor
37+
modImplementation "meteordevelopment:meteor-client:${project.properties['minecraft_version']}-SNAPSHOT"
38+
39+
// Baritone
40+
modCompileOnly "meteordevelopment:baritone:${project.properties['baritone_version']}-SNAPSHOT"
41+
42+
// JavaParser
43+
devImplementation 'com.github.javaparser:javaparser-core:3.27.0'
44+
}
45+
46+
tasks.withType(JavaCompile).configureEach {
47+
options.encoding = 'UTF-8'
48+
options.release = 21
49+
}
50+
51+
processResources {
52+
filesMatching('fabric.mod.json') {
53+
expand(version: project.version, mc_version: minecraft_version, commit: System.getenv('GITHUB_SHA') ?: '')
54+
}
55+
}
56+
57+
jar {
58+
inputs.property "archivesName", project.base.archivesName
59+
60+
from('LICENSE') {
61+
rename { "${it}_${inputs.properties.archivesName}" }
62+
}
63+
64+
exclude('src/dev/**')
65+
}
66+
67+
tasks.register('generateMeteoristInfo', JavaExec) {
68+
description = 'Generates a JSON file with metadata about Meteorist modules, commands, and presets.'
69+
group = 'development'
70+
71+
mainClass = 'MeteoristInfoParser'
72+
classpath = sourceSets.dev.runtimeClasspath
73+
workingDir = project.projectDir
74+
standardOutput = System.out
75+
}
76+
77+
java {
78+
sourceCompatibility = JavaVersion.VERSION_21
79+
targetCompatibility = JavaVersion.VERSION_21
80+
}

build.gradle.kts

Lines changed: 0 additions & 67 deletions
This file was deleted.

gradle.properties

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
org.gradle.jvmargs=-Xmx1G
22

33
# Fabric Properties (https://fabricmc.net/develop)
4-
minecraft_version=1.21.5
5-
yarn_mappings=1.21.5+build.1
4+
minecraft_version=1.21.8
5+
yarn_mappings=1.21.8+build.1
66
loader_version=0.16.14
7+
loom_version=1.11-SNAPSHOT
78

89
# Mod Properties
9-
mod_version=1.12
10+
mod_version=1
1011
maven_group=zgoly
1112
archives_base_name=meteorist
1213

1314
# Dependencies
1415
# Baritone (https://github.com/MeteorDevelopment/baritone)
15-
baritone_version=1.21.4
16+
baritone_version=1.21.8

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.12.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

settings.gradle.kts renamed to settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
pluginManagement {
22
repositories {
33
maven {
4-
name = "Fabric"
5-
url = uri("https://maven.fabricmc.net/")
4+
name = 'Fabric'
5+
url = 'https://maven.fabricmc.net/'
66
}
77
mavenCentral()
88
gradlePluginPortal()

0 commit comments

Comments
 (0)