-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e34c8bb
Showing
37 changed files
with
1,632 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# gradle | ||
|
||
.gradle/ | ||
build/ | ||
out/ | ||
classes/ | ||
|
||
# eclipse | ||
|
||
*.launch | ||
|
||
# idea | ||
|
||
.idea/ | ||
*.iml | ||
*.ipr | ||
*.iws | ||
|
||
# vscode | ||
|
||
.settings/ | ||
.vscode/ | ||
bin/ | ||
.classpath | ||
.project | ||
|
||
# macos | ||
|
||
*.DS_Store | ||
|
||
# fabric | ||
|
||
run/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Meteor Addon Template | ||
|
||
A template to allow easy usage of the Meteor Addon API. | ||
|
||
### How to use: | ||
- Clone this project | ||
- Use the template and API to create new modules/commands | ||
- Run the mod with Meteor. | ||
|
||
### Documentation | ||
Check the [wiki](https://github.com/MeteorDevelopment/meteor-addon-template/wiki). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
plugins { | ||
id 'fabric-loom' version '0.6-SNAPSHOT' | ||
id 'maven-publish' | ||
} | ||
|
||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
|
||
archivesBaseName = project.archives_base_name | ||
version = project.mod_version | ||
group = project.maven_group | ||
|
||
repositories { | ||
maven { url "https://jitpack.io" } | ||
} | ||
|
||
dependencies { | ||
//Minecraft | ||
minecraft "com.mojang:minecraft:${project.minecraft_version}" | ||
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" | ||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" | ||
|
||
//Meteor | ||
modImplementation "com.github.MeteorDevelopment:meteor-client:master-SNAPSHOT" | ||
} | ||
|
||
processResources { | ||
inputs.property "version", project.version | ||
|
||
filesMatching("fabric.mod.json") { | ||
expand "version": project.version | ||
} | ||
} | ||
|
||
tasks.withType(JavaCompile).configureEach { | ||
it.options.encoding = "UTF-8" | ||
|
||
def targetVersion = 8 | ||
if (JavaVersion.current().isJava9Compatible()) { | ||
it.options.release = targetVersion | ||
} | ||
} | ||
|
||
java { | ||
withSourcesJar() | ||
} | ||
|
||
jar { | ||
from("LICENSE") { | ||
rename { "${it}_${project.archivesBaseName}"} | ||
} | ||
} | ||
|
||
publishing { | ||
publications { | ||
mavenJava(MavenPublication) { | ||
artifact(remapJar) { | ||
builtBy remapJar | ||
} | ||
artifact(sourcesJar) { | ||
builtBy remapSourcesJar | ||
} | ||
} | ||
} | ||
} |
Binary file added
BIN
+1022 Bytes
build/classes/java/main/net/xolt/addons/packetfly/PacketFlyAddon.class
Binary file not shown.
Binary file added
BIN
+1.6 KB
build/classes/java/main/net/xolt/addons/packetfly/mixins/ClientPlayerEntityMixin.class
Binary file not shown.
Binary file added
BIN
+1.33 KB
build/classes/java/main/net/xolt/addons/packetfly/mixins/EntityMixin.class
Binary file not shown.
Binary file added
BIN
+986 Bytes
build/classes/java/main/net/xolt/addons/packetfly/modules/PacketFly$IDtime.class
Binary file not shown.
Binary file added
BIN
+13.3 KB
build/classes/java/main/net/xolt/addons/packetfly/modules/PacketFly.class
Binary file not shown.
Binary file added
BIN
+1.46 KB
build/classes/java/main/net/xolt/addons/packetfly/utils/world/Timer.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"mappings": { | ||
"net/xolt/addons/packetfly/mixins/ClientPlayerEntityMixin": { | ||
"pushOutOfBlocks": "Lnet/minecraft/class_746;method_30673(DD)V" | ||
}, | ||
"net/xolt/addons/packetfly/mixins/EntityMixin": { | ||
"pushAwayFrom": "Lnet/minecraft/class_1297;method_5697(Lnet/minecraft/class_1297;)V" | ||
} | ||
}, | ||
"data": { | ||
"named:intermediary": { | ||
"net/xolt/addons/packetfly/mixins/ClientPlayerEntityMixin": { | ||
"pushOutOfBlocks": "Lnet/minecraft/class_746;method_30673(DD)V" | ||
}, | ||
"net/xolt/addons/packetfly/mixins/EntityMixin": { | ||
"pushAwayFrom": "Lnet/minecraft/class_1297;method_5697(Lnet/minecraft/class_1297;)V" | ||
} | ||
} | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v1 named intermediary |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"schemaVersion": 1, | ||
"id": "packetfly-addon", | ||
"version": "1.0", | ||
|
||
"name": "Meteor Packet Fly Addon", | ||
"description": "A Packet Fly module for Meteor Client", | ||
"authors": [ | ||
"xolt" | ||
], | ||
"contact": { | ||
}, | ||
|
||
"license": "GPL-3.0", | ||
"icon": "assets/packetfly/icon.png", | ||
|
||
"environment": "client", | ||
"entrypoints": { | ||
"meteor": [ | ||
"net.xolt.addons.packetfly.PacketFlyAddon" | ||
] | ||
}, | ||
"mixins": [ | ||
"packetfly.mixins.json" | ||
], | ||
"depends": { | ||
"fabricloader": ">=0.7.4", | ||
"fabric": "*", | ||
"minecraft": "1.16.x", | ||
"meteor-client": "*" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"required": true, | ||
"package": "net.xolt.addons.packetfly.mixins", | ||
"compatibilityLevel": "JAVA_8", | ||
"client": [ | ||
"ClientPlayerEntityMixin", | ||
"EntityMixin" | ||
], | ||
"injectors": { | ||
"defaultRequire": 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
net/xolt/addons/packetfly/modules/PacketFly.java | ||
net.xolt.addons.packetfly.modules.PacketFly | ||
net.xolt.addons.packetfly.modules.PacketFly$IDtime | ||
net/xolt/addons/packetfly/utils/world/Timer.java | ||
net.xolt.addons.packetfly.utils.world.Timer | ||
net/xolt/addons/packetfly/PacketFlyAddon.java | ||
net.xolt.addons.packetfly.PacketFlyAddon | ||
net/xolt/addons/packetfly/mixins/ClientPlayerEntityMixin.java | ||
net.xolt.addons.packetfly.mixins.ClientPlayerEntityMixin | ||
net/xolt/addons/packetfly/mixins/EntityMixin.java | ||
net.xolt.addons.packetfly.mixins.EntityMixin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Manifest-Version: 1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Manifest-Version: 1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Manifest-Version: 1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Done to increase the memory available to gradle. | ||
org.gradle.jvmargs=-Xmx2G | ||
|
||
# Minecraft | ||
minecraft_version=1.16.5 | ||
|
||
# Fabric Properties | ||
fabric_version=0.34.0+1.16 | ||
yarn_mappings=1.16.5+build.8 | ||
loader_version=0.11.3 | ||
|
||
# Mod Properties | ||
mod_version = 1.0 | ||
maven_group = net.xolt.addons | ||
archives_base_name = packetfly | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.