-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
53 changed files
with
4,065 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,25 @@ | ||
# gradle | ||
|
||
.gradle/ | ||
build/ | ||
out/ | ||
classes/ | ||
|
||
# idea | ||
|
||
.idea/ | ||
*.iml | ||
*.ipr | ||
*.iws | ||
|
||
# vscode | ||
|
||
.settings/ | ||
.vscode/ | ||
bin/ | ||
.classpath | ||
.project | ||
|
||
# fabric | ||
|
||
run/ |
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 |
---|---|---|
@@ -1,2 +1,92 @@ | ||
# quick-carpet | ||
Very small subset of carpet mod features that allows to very quickly update to new versions and snapshots | ||
|
||
## commandPlayer | ||
Enables /player command to spawn players | ||
* Type: `String` | ||
* Default value: `true` | ||
* Suggested options: `true`, `false` | ||
* Categories: `COMMAND` | ||
* Additional notes: | ||
* It has an accompanying command | ||
* Can be limited to 'ops' only, or a custom permission level | ||
|
||
## commandSpawn | ||
Enables /spawn command for mobcaps information | ||
* Type: `String` | ||
* Default value: `true` | ||
* Suggested options: `true`, `false` | ||
* Categories: `COMMAND` | ||
* Additional notes: | ||
* It has an accompanying command | ||
* Can be limited to 'ops' only, or a custom permission level | ||
|
||
## commandTick | ||
Enables /tick command to control game clocks | ||
Available functions: warp, rate and health | ||
* Type: `String` | ||
* Default value: `true` | ||
* Suggested options: `true`, `false` | ||
* Categories: `COMMAND` | ||
* Additional notes: | ||
* It has an accompanying command | ||
* Can be limited to 'ops' only, or a custom permission level | ||
|
||
## explosionNoBlockDamage | ||
Explosions won't destroy blocks | ||
* Type: `boolean` | ||
* Default value: `false` | ||
* Required options: `true`, `false` | ||
* Categories: `CREATIVE` | ||
|
||
## fillLimit | ||
Customizable fill/clone volume limit | ||
* Type: `int` | ||
* Default value: `32768` | ||
* Suggested options: `32768`, `250000`, `1000000` | ||
* Categories: `CREATIVE` | ||
* Additional notes: | ||
* You must choose a value from 1 to 20M | ||
|
||
## fillUpdates | ||
fill/clone/setblock and structure blocks cause block updates | ||
* Type: `boolean` | ||
* Default value: `true` | ||
* Required options: `true`, `false` | ||
* Categories: `CREATIVE` | ||
|
||
## hopperCounters | ||
hoppers pointing to wool will count items passing through them | ||
Enables /counter command, and actions while placing red and green carpets on wool blocks | ||
Use /counter <color?> reset to reset the counter, and /counter <color?> to query | ||
Counters are global and shared between players, 16 channels available | ||
Items counted are destroyed, count up to one stack per tick per hopper | ||
* Type: `boolean` | ||
* Default value: `false` | ||
* Required options: `true`, `false` | ||
* Categories: `COMMAND`, `CREATIVE` | ||
* Additional notes: | ||
* It has an accompanying command | ||
|
||
## interactionUpdates | ||
placing blocks cause block updates | ||
* Type: `boolean` | ||
* Default value: `true` | ||
* Required options: `true`, `false` | ||
* Categories: `CREATIVE` | ||
|
||
## smoothClientAnimations | ||
smooth client animations with low tps settings | ||
works only in SP, and will slow down players | ||
* Type: `boolean` | ||
* Default value: `false` | ||
* Required options: `true`, `false` | ||
* Categories: `CREATIVE` | ||
|
||
## superSecretSetting | ||
Gbhs sgnf sadsgras fhskdpri! | ||
* Type: `boolean` | ||
* Default value: `false` | ||
* Required options: `true`, `false` | ||
* Categories: `CREATIVE` | ||
|
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,77 @@ | ||
plugins { | ||
id 'fabric-loom' version '0.2.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 | ||
|
||
minecraft { | ||
} | ||
|
||
dependencies { | ||
//to change the versions see the gradle.properties file | ||
minecraft "com.mojang:minecraft:${project.minecraft_version}" | ||
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" | ||
modCompile "net.fabricmc:fabric-loader:${project.loader_version}" | ||
|
||
// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs. | ||
// You may need to force-disable transitiveness on them. | ||
} | ||
|
||
processResources { | ||
inputs.property "version", project.version | ||
|
||
from(sourceSets.main.resources.srcDirs) { | ||
include "fabric.mod.json" | ||
expand "version": project.version | ||
} | ||
|
||
from(sourceSets.main.resources.srcDirs) { | ||
exclude "fabric.mod.json" | ||
} | ||
} | ||
|
||
// ensure that the encoding is set to UTF-8, no matter what the system default is | ||
// this fixes some edge cases with special characters not displaying correctly | ||
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html | ||
tasks.withType(JavaCompile) { | ||
options.encoding = "UTF-8" | ||
} | ||
|
||
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task | ||
// if it is present. | ||
// If you remove this task, sources will not be generated. | ||
task sourcesJar(type: Jar, dependsOn: classes) { | ||
classifier = "sources" | ||
from sourceSets.main.allSource | ||
} | ||
|
||
jar { | ||
from "LICENSE" | ||
} | ||
|
||
// configure the maven publication | ||
publishing { | ||
publications { | ||
mavenJava(MavenPublication) { | ||
// add all the jars that should be included when publishing to maven | ||
artifact(remapJar) { | ||
builtBy remapJar | ||
} | ||
artifact(sourcesJar) { | ||
builtBy remapSourcesJar | ||
} | ||
} | ||
} | ||
|
||
// select the repositories you want to publish to | ||
repositories { | ||
// uncomment to publish to the local maven | ||
// mavenLocal() | ||
} | ||
} |
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,13 @@ | ||
# Done to increase the memory available to gradle. | ||
org.gradle.jvmargs=-Xmx1G | ||
|
||
# Fabric Properties | ||
# check these on https://fabricmc.net/use | ||
minecraft_version=1.15.2 | ||
yarn_mappings=1.15.2+build.8 | ||
loader_version=0.7.6+build.180 | ||
|
||
# Mod Properties | ||
mod_version = 1.0.0 | ||
maven_group = carpet | ||
archives_base_name = quick-carpet |
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-5.5.1-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.