forked from CreativeMD/LittleTiles
-
-
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
Showing
132 changed files
with
730 additions
and
3,086 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,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
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 @@ | ||
# IntelliJ Idea | ||
out | ||
*.ipr | ||
*.iws | ||
*.iml | ||
.idea | ||
|
||
# Gradle | ||
build | ||
.gradle | ||
|
||
# Minecraft | ||
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,25 +1,25 @@ | ||
[![Curse Forge](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/littletiles) | ||
[![patreon-singular](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/donate/patreon-singular_vector.svg)](https://www.patreon.com/creativemd) | ||
[![discord-plural](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/social/discord-plural_vector.svg)](https://discord.com/invite/W9QM3fS) | ||
|
||
|
||
# LittleTiles | ||
|
||
***This mod allows you to build anything you want. It adds a way to add more detail to everything. You can hammer blocks into tiles which can be 4096 (or even more) times smaller than an ordinary minecraft block. You can combine your tiles together to create doors, chairs, ladders, no-clip, storage and any kind of furniture structure. There are endless possibilities as shown in the [trailer]. So [download this mod] and start to go crazy (and maybe post some pics of your work).*** | ||
This mod allows you to build anything you want. It adds a way to add more detail to everything. | ||
|
||
You can hammer blocks into tiles which can be 4096 (or even more) times smaller than an ordinary minecraft block. | ||
|
||
You can combine your tiles together to create doors, chairs, ladders, no-clip, storage and any kind of furniture structure. | ||
There are endless possibilities as shown in the [trailer](https://youtu.be/2Hrn4pdV_ac). | ||
|
||
So download this mod and start to go crazy (and maybe post some pics of your work). | ||
|
||
*Development for this mod started 2015, since then it has grown to a massive collection of features. Many things needed a lot of tweaking and time to fix all the bugs.* | ||
|
||
## Addons | ||
|
||
- [Kiros Basic Blocks] (by [Kiro]) | ||
- [ALET] (by [_Doc]) | ||
- [LittleTiles 3d Importer] (by [Timardo]) | ||
- [LittleOpener] (by [Alleluid]) | ||
- [LittleFrames] | ||
|
||
[trailer]: https://youtu.be/2Hrn4pdV_ac | ||
[download this mod]: https://www.curseforge.com/minecraft/mc-mods/littletiles | ||
[Kiros Basic Blocks]: https://www.curseforge.com/minecraft/mc-mods/kiros-basic-blocks | ||
[Kiro]: https://www.curseforge.com/members/kirokadura/projects | ||
[ALET]: https://www.curseforge.com/minecraft/mc-mods/alet | ||
[_Doc]: https://www.curseforge.com/members/ll_doc/projects | ||
[LittleTiles 3d Importer]: https://www.curseforge.com/minecraft/mc-mods/littletiles-3d-importer | ||
[Timardo]: https://www.curseforge.com/members/timardo/projects | ||
[LittleOpener]: https://www.curseforge.com/minecraft/mc-mods/little-opener | ||
[Alleluid]: https://www.curseforge.com/members/alleluid/projects | ||
[LittleFrames]: https://www.curseforge.com/minecraft/mc-mods/littleframes | ||
# Addons | ||
|
||
- [Kiro's Basic Blocks](https://www.curseforge.com/minecraft/mc-mods/kiros-basic-blocks) by [Kiro](https://www.curseforge.com/members/kirokadura/projects) | ||
- [A Little Extra Tiles](https://www.curseforge.com/minecraft/mc-mods/alet) by [_Doc](https://www.curseforge.com/members/ll_doc/projects) | ||
- [LittleTiles 3D Importer & Exporter](https://www.curseforge.com/minecraft/mc-mods/littletiles-3d-importer) by [Timardo](https://www.curseforge.com/members/timardo/projects) | ||
- [LittleOpener](https://www.curseforge.com/minecraft/mc-mods/little-opener) by [Lunyaaaaaaaaa](https://legacy.curseforge.com/members/Lunyaaaaaaaaa/projects) | ||
- [LittlePictureFrames](https://www.curseforge.com/minecraft/mc-mods/littleframes) |
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,128 @@ | ||
import org.jetbrains.gradle.ext.Gradle | ||
|
||
plugins { | ||
id 'java' | ||
id 'java-library' | ||
id 'org.jetbrains.gradle.plugin.idea-ext' version '1.1.7' | ||
id 'com.gtnewhorizons.retrofuturagradle' version '1.+' | ||
id 'com.matthewprenger.cursegradle' version '1.4.0' | ||
} | ||
|
||
// Add version to the jar name | ||
version project.version | ||
|
||
// Set the toolchain version to decouple the Java we run Gradle with from the Java used to compile and run the mod | ||
java { | ||
toolchain { | ||
languageVersion.set(JavaLanguageVersion.of(8)) | ||
vendor.set(JvmVendorSpec.AZUL) | ||
} | ||
// Generate sources jar when building and publishing | ||
withSourcesJar() | ||
} | ||
|
||
tasks.withType(JavaCompile).configureEach { | ||
options.encoding = 'UTF-8' | ||
options.fork = true | ||
options.forkOptions.jvmArgs += '-Xmx4G' | ||
} | ||
|
||
minecraft { | ||
mcVersion = '1.12.2' | ||
|
||
extraRunJvmArguments.addAll('-Xmx4G', '-Dforge.logging.console.level=debug', '-Dfml.coreMods.load=com.creativemd.littletiles.LittlePatchingLoader') | ||
|
||
injectedTags.put('ID', project.id) | ||
injectedTags.put('VERSION', project.version) | ||
} | ||
|
||
// Generate a my.project.Tags class with the version number as a field | ||
tasks.injectTags.configure { | ||
outputClassName.set('com.creativemd.littletiles.Tags') | ||
} | ||
|
||
repositories { | ||
maven { | ||
name 'Curse Maven' | ||
url 'https://cursemaven.com' | ||
content { | ||
includeGroup 'curse.maven' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation rfg.deobf('curse.maven:creativecore-257814:3626833') | ||
|
||
implementation rfg.deobf('curse.maven:ctm-267602:2915363') | ||
implementation rfg.deobf('curse.maven:coloredlux-347912:4055506') | ||
implementation rfg.deobf('curse.maven:chiselandbits-231095:2720655') | ||
implementation rfg.deobf('curse.maven:flatcoloredblocks-238590:2715827') | ||
implementation rfg.deobf('curse.maven:hammerlib-247401:3611193') | ||
implementation rfg.deobf('curse.maven:warpdrive-233565:3762066') | ||
implementation rfg.deobf('curse.maven:albedo-275300:2714505') | ||
implementation rfg.deobf('curse.maven:theoneprobe-245211:2667280') | ||
implementation rfg.deobf('curse.maven:hwyla-253449:2568751') | ||
} | ||
|
||
// Replace version and id in `mcmod.info` | ||
processResources { | ||
inputs.property 'id', project.id | ||
inputs.property 'version', project.version | ||
filesMatching(['mcmod.info', 'pack.mcmeta']) { fcd -> | ||
include 'mcmod.info' | ||
fcd.expand ( | ||
'id': project.id, | ||
'version': project.version | ||
) | ||
} | ||
} | ||
|
||
jar { | ||
manifest.attributes([ | ||
'ModSide': 'BOTH', | ||
'FMLCorePlugin': "com.creativemd.littletiles.LittlePatchingLoader", | ||
'FMLCorePluginContainsFMLMod': true, | ||
'ForceLoadAsMod': true | ||
]) | ||
} | ||
|
||
idea { | ||
module { inheritOutputDirs = true } | ||
|
||
module { excludeDirs = [file('.github'), file('.gradle'), file('.idea'), file('build'), file('gradle'), file('run')] } | ||
|
||
project { settings { | ||
runConfigurations { | ||
'Client'(Gradle) { | ||
taskNames = ['runClient'] | ||
} | ||
'Server'(Gradle) { | ||
taskNames = ['runServer'] | ||
} | ||
'Obfuscated Client'(Gradle) { | ||
taskNames = ['runObfClient'] | ||
} | ||
'Obfuscated Server'(Gradle) { | ||
taskNames = ['runObfServer'] | ||
} | ||
'Vanilla Client'(Gradle) { | ||
taskNames = ['runVanillaClient'] | ||
} | ||
'Vanilla Server'(Gradle) { | ||
taskNames = ['runVanillaServer'] | ||
} | ||
} | ||
|
||
compiler.javac { | ||
afterEvaluate { | ||
javacAdditionalOptions = '-encoding utf8' | ||
moduleJavacAdditionalOptions = [ (project.id + '.main'): tasks.compileJava.options.compilerArgs.collect { ''' + it + ''' }.join(' ') ] | ||
} | ||
} | ||
}} | ||
} | ||
|
||
tasks.named('processIdeaSettings').configure { | ||
dependsOn('injectTags') | ||
} |
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 @@ | ||
# Sets default memory used for Gradle commands. Can be overridden by user or command line properties. | ||
# This is required to provide enough memory for the Minecraft decompilation process. | ||
org.gradle.jvmargs = -Xmx4G | ||
# Allow Gradle to use multi threading. | ||
org.gradle.parallel = true | ||
# Allow Gradle to cache build to avoid recompiling classes that did not change. | ||
org.gradle.caching = true | ||
|
||
# Mod Constants | ||
# Versioning must follow Ragnarök versioning convention: https://shor.cz/ragnarok_versioning_convention | ||
id = littletiles | ||
version = 1.5.77 |
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,6 @@ | ||
#Fri May 26 01:59:37 CEST 2023 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.