Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
cf10c6a
update deps
C0bra5 Nov 20, 2024
d505294
add layout to git ignore
C0bra5 Nov 20, 2024
ade846e
nuke non-gtnh mod dependencies part 1
C0bra5 Nov 20, 2024
9450349
nuke non-gtnh mod dependencies part 2
C0bra5 Nov 20, 2024
8748389
update build script, apply spotless
C0bra5 Nov 20, 2024
a9df491
refactoring
C0bra5 Nov 20, 2024
82a961e
Agricraft gutting completed
C0bra5 Nov 26, 2024
9435ebe
build pass + spotless
C0bra5 Nov 27, 2024
2bec15b
desync fix + better stage tracking
C0bra5 Nov 27, 2024
679a2a9
temp drop logic added
C0bra5 Nov 28, 2024
5de5fef
checkpoint
C0bra5 Dec 9, 2024
4fe992b
spade init fix
C0bra5 Dec 9, 2024
2d1bcc4
mo spade fixing
C0bra5 Dec 9, 2024
d8b3b4b
mo fixes
C0bra5 Dec 9, 2024
ab871db
mo fixes
C0bra5 Dec 9, 2024
61183b6
mo fixes
C0bra5 Dec 9, 2024
a8c9017
better waila handling
C0bra5 Dec 10, 2024
8682a2d
icon templating and waila fixes
C0bra5 Dec 10, 2024
30ea81c
seed shape todos
C0bra5 Dec 10, 2024
c5d44d1
re-add vanilla bonsais
C0bra5 Dec 11, 2024
a63d9ba
bonsai id restructure
C0bra5 Dec 11, 2024
b00e46d
make nei order consistent
C0bra5 Dec 11, 2024
e2bb06a
sick crop rendering
C0bra5 Dec 11, 2024
9c6dd93
prevent weeds from overriding weeds
C0bra5 Dec 11, 2024
3441a0d
add vanilla crops
C0bra5 Dec 11, 2024
77af8e1
trim unused deps
C0bra5 Dec 11, 2024
fa60fd3
remove unused textures
C0bra5 Dec 11, 2024
ef2daf1
crop transfer fixes
C0bra5 Dec 12, 2024
fd6a0fb
ged rid of unused crop card constructor
C0bra5 Dec 12, 2024
e1d9368
add vanilla flowers
C0bra5 Dec 12, 2024
2c0ee53
add ic2 crops
C0bra5 Dec 12, 2024
eb2a64c
Add GT from Crops++
C0bra5 Dec 14, 2024
66828f9
implement crop collision handling and collision damage
C0bra5 Dec 14, 2024
23e0150
add all ore berries
C0bra5 Dec 14, 2024
5e51b22
add witchery crops
C0bra5 Dec 17, 2024
d947948
spotless apply
C0bra5 Dec 17, 2024
f586a80
add bop crops
C0bra5 Dec 17, 2024
27eca9f
spotless apply
C0bra5 Dec 17, 2024
6bdf844
add bop glowshrooms and compound soil list
C0bra5 Dec 17, 2024
6f584e2
add natura dep
C0bra5 Dec 17, 2024
1d7d9aa
un comment commit deps
C0bra5 Dec 17, 2024
1451034
somthing about capitalisation
C0bra5 Dec 17, 2024
55685df
Update CropKnightmetalBerries.java
C0bra5 Dec 17, 2024
572c91a
prevent re 31 crops from turning into weeds
C0bra5 Dec 17, 2024
3287355
add natura crops
C0bra5 Dec 17, 2024
8c16654
fix magic seed shape base
C0bra5 Dec 17, 2024
6a4e982
trim unused configs and make crop tile use them
C0bra5 Dec 18, 2024
4daba95
more config cleanup
C0bra5 Dec 18, 2024
7b5685b
On this day, we welcome his screaminess back into the realm of the cube
C0bra5 Dec 18, 2024
067ca76
hodgepodge and angelica compat
C0bra5 Dec 18, 2024
30f2003
make essence berries animate again
C0bra5 Dec 18, 2024
a50c397
add config to disable the stepped on cries
C0bra5 Dec 18, 2024
11d27eb
remaining core crops++ crops
C0bra5 Dec 19, 2024
b006e2a
add the last crops++ crops
C0bra5 Dec 21, 2024
540162d
prep for gt crop import
C0bra5 Dec 31, 2024
b6c1893
angelica compat
C0bra5 Dec 31, 2024
40129d2
port hemp and salty root
C0bra5 Jan 1, 2025
9095777
all gregtech crops added
C0bra5 Jan 4, 2025
e6710ec
nei and creative tab fix
C0bra5 Jan 4, 2025
d78a1bf
misc fixes
C0bra5 Jan 4, 2025
8a88d93
fixes pt2
C0bra5 Jan 4, 2025
aadb7e3
breeding system
C0bra5 Jan 5, 2025
1d62385
add dumpers
C0bra5 Jan 10, 2025
47fe821
better names for the dump files
C0bra5 Jan 10, 2025
161e263
add starwart material leaf, clarify loader function names
C0bra5 Jan 11, 2025
cedf860
nei crop list check
C0bra5 Jan 11, 2025
946febc
Stop NEI from acting as a budget scanner
C0bra5 Jan 12, 2025
4fb704e
update milkwart sprite to spore shape
C0bra5 Jan 12, 2025
e9a3fa6
make starwart drop new material leaf
C0bra5 Jan 12, 2025
996ac58
move starwart skull drop to witheread
C0bra5 Jan 12, 2025
af58e8f
add note for wither skull drop for future consideration
C0bra5 Jan 12, 2025
53d2e3e
add rubber wood sappling
C0bra5 Jan 12, 2025
ac3a0a5
deterministic breeding tree
C0bra5 Jan 13, 2025
b6d3adc
mutation rebalancing
C0bra5 Jan 13, 2025
5b7df11
reuse old attributes for mutation pool
C0bra5 Jan 15, 2025
017630b
spotless apply
C0bra5 Jan 15, 2025
bb1b42e
NEI breeding compat
C0bra5 Jan 16, 2025
5fb27ff
crop card housekeeping
C0bra5 Jan 16, 2025
f2d1780
cleanup
C0bra5 Jan 17, 2025
15049ae
add simulate to crop sticky apply functions
C0bra5 Jan 17, 2025
0448396
crop manager v2 added
C0bra5 Jan 19, 2025
bbe6409
spotless apply
C0bra5 Jan 19, 2025
7dad1f0
add fertilizer fluid and override ic2 fert item in recipes pt1
C0bra5 Jan 20, 2025
40efbe4
update build script add core mod runtime dep for testing
C0bra5 Jan 20, 2025
17d68e4
recipe transfer checkpoint
C0bra5 Apr 12, 2025
982a130
dep update, crop manager fix + upgrade.
C0bra5 Apr 12, 2025
db1c101
recipe jail continues
C0bra5 Apr 27, 2025
22fbbab
spotless apply
C0bra5 Apr 27, 2025
78c8ae4
fix buildscript
C0bra5 Nov 18, 2025
3280847
add item aspects
C0bra5 Nov 19, 2025
ba06c9e
remove argentia from reed pool
C0bra5 Nov 19, 2025
11d13d5
update buildscripts, update code to match dependency changes
C0bra5 Nov 19, 2025
fc55aa4
add circuit option to get impure dust from material leaves
C0bra5 Nov 19, 2025
ab6da18
recipe fixes
C0bra5 Nov 19, 2025
336b857
add seed replicator single block
C0bra5 Nov 20, 2025
67f9a7b
enforce no-cross and no breed thresholds
C0bra5 Nov 20, 2025
3e9efc0
add duplication catalysts for existing material crops
C0bra5 Nov 20, 2025
312e201
fix meta map
C0bra5 Nov 22, 2025
e19ad83
fix broken permutations in crop produce nei tab
C0bra5 Nov 22, 2025
694952a
add seed generator to nei
C0bra5 Nov 22, 2025
b57b697
update bop dep
C0bra5 Nov 22, 2025
f7f6f06
update buildscript
C0bra5 Nov 22, 2025
f61e275
cleanup compat
C0bra5 Nov 22, 2025
c806a43
cleanup unused utils and item renderers
C0bra5 Nov 22, 2025
a419fa0
Fix duplicated mutation parent and add verification.
C0bra5 Nov 23, 2025
d9fc17e
fix incorrect nbt reading for gain
C0bra5 Nov 23, 2025
f7e9f6e
add crop breeder single block and NEI tab
C0bra5 Nov 23, 2025
d5437c2
add crop breeder recipe
C0bra5 Nov 24, 2025
6df06a3
spotless apply
C0bra5 Nov 24, 2025
b0f5f77
Make breeding machine recipe tier a crop component
C0bra5 Nov 24, 2025
bb10fdf
Fix Enderbloom growth requirements
C0bra5 Nov 24, 2025
9a74938
remove call to marked for removal function.
C0bra5 Nov 26, 2025
0f47a8a
Add Crop Gene Extractor
C0bra5 Nov 26, 2025
41ef542
refactor frontend and backend packages
C0bra5 Nov 26, 2025
a9fcd65
simplify lang ids
C0bra5 Nov 26, 2025
28f88df
Add Seed Synthesizer
C0bra5 Nov 26, 2025
707d434
get renderer fixes
C0bra5 Nov 27, 2025
a9318d2
make the item list IItemContainer compatible
C0bra5 Nov 27, 2025
1cf4d2d
Organise TE files before multi implementation begins
C0bra5 Nov 27, 2025
5a1d80c
fix broken resources
C0bra5 Nov 27, 2025
f58d93f
Add Structure for Industrial Farm
C0bra5 Nov 27, 2025
d864332
spotless apply
C0bra5 Nov 27, 2025
4e0a159
rebalances, bug fixes, cleanups, multi-prep
C0bra5 Dec 8, 2025
c6f181c
better tooltips and fix seed capacity calculations
C0bra5 Dec 8, 2025
dbda994
spotless apply
C0bra5 Dec 8, 2025
7e0e758
add environmental modules, improve IF GUI
C0bra5 Dec 23, 2025
94656ec
update deps to latest for MUI2 stuff
C0bra5 Dec 24, 2025
6026297
remove unnecessary mod buttons from IF UI.
C0bra5 Dec 24, 2025
183a6c6
add structure lib runtime dep.
C0bra5 Dec 24, 2025
6b45ab2
add growth mechanics
C0bra5 Dec 25, 2025
42bb9a0
implement farm mode processing logic
C0bra5 Dec 27, 2025
8236a6b
Remove lang files that aren't being worked on.
C0bra5 Dec 27, 2025
bf1b708
cleanup mod id references
C0bra5 Dec 27, 2025
d82502f
standardize mod id references
C0bra5 Dec 27, 2025
0d94c19
spotless apply
C0bra5 Dec 27, 2025
e8f84f4
bug fixing, remove unused code from agricraft
C0bra5 Dec 27, 2025
fdeaac8
apply nutrient scale in growth speed function
C0bra5 Dec 27, 2025
aff4171
growth formula bug fixes
C0bra5 Dec 27, 2025
c1a2ad0
add scanner descriptions
C0bra5 Dec 27, 2025
b306074
scan results, machine only reqs, refactors and more QA stuff
C0bra5 Dec 28, 2025
4d5cc6e
dumper improvements
C0bra5 Dec 28, 2025
3e7d3f0
add liked biomes to crops
C0bra5 Dec 29, 2025
25c0b70
more dumper fixes
C0bra5 Dec 29, 2025
b557530
Texture updates for IC2 textures.
C0bra5 Dec 30, 2025
3c8f3bc
update hemp texture
C0bra5 Dec 30, 2025
0a9577b
forgot the first textrure
C0bra5 Dec 30, 2025
6f4ddb6
fix missing drops count at low gain
C0bra5 Dec 30, 2025
bfb2c2b
typo fixes
C0bra5 Dec 30, 2025
2fcc467
add recipes for the multi
C0bra5 Dec 30, 2025
c01fe49
fix micadia material leaf name
C0bra5 Dec 31, 2025
81a9f9b
The great naming refactor + 2 more stone lilies
C0bra5 Dec 31, 2025
fb00d8b
cleanup unused crop textures from agricraft
C0bra5 Dec 31, 2025
61cf2dc
removed unused seed textures from agricraft
C0bra5 Dec 31, 2025
586e300
remove all unused agricraft textures
C0bra5 Dec 31, 2025
40fc471
unyeet the cropstick texture
C0bra5 Dec 31, 2025
7b764bf
fix deepslate lily growth req
C0bra5 Dec 31, 2025
85562c9
add trampling mechanic + spotless apply
C0bra5 Jan 1, 2026
eb8a82e
TiC Scythe Compat
C0bra5 Jan 1, 2026
c5e6ec2
fix startwart
C0bra5 Jan 1, 2026
03b6cde
add plant cure
C0bra5 Jan 1, 2026
3ed2f20
remove water module
C0bra5 Jan 1, 2026
5524c9f
add recipes for environmental modules
C0bra5 Jan 1, 2026
fd7aef5
fix invalid drop count on ardite berry
C0bra5 Jan 1, 2026
50007b4
fix broken textures
C0bra5 Jan 2, 2026
91f84e9
fix load order for ore dicts and crops
C0bra5 Jan 2, 2026
05df4d2
fix broken milk recipe
C0bra5 Jan 2, 2026
6e523cf
fix EIG compat
C0bra5 Jan 2, 2026
b7f6e86
remove debugger
C0bra5 Jan 2, 2026
c3e64aa
Remove NAN Certificate
C0bra5 Jan 2, 2026
79e4e9b
rename magnifying glass to plant lens
C0bra5 Jan 2, 2026
0a6b2f3
spotless apply + build fix
C0bra5 Jan 2, 2026
d238375
reduce slimy bonsai drop to 4 logs per drop
C0bra5 Jan 3, 2026
5ea896b
add weed-ex can and poison powder + some fertilizer recipe fixes
C0bra5 Jan 3, 2026
85a6a90
build fix
C0bra5 Jan 3, 2026
bc3e528
add textures for weedex + poison powder
C0bra5 Jan 3, 2026
7e60de0
make sb machines not use ic2 noises
C0bra5 Jan 3, 2026
c0950cc
lessen reliance on some GT APIs
C0bra5 Jan 3, 2026
b863d7f
bug fixes
C0bra5 Jan 5, 2026
068136f
add reinforced spade
C0bra5 Jan 5, 2026
0c014c8
spade feature parity
C0bra5 Jan 5, 2026
d7167c5
fix scythe weed clearing
C0bra5 Jan 5, 2026
c98ce81
doc
C0bra5 Jan 5, 2026
74e8197
Migrate liquid fert to CropsNH
C0bra5 Jan 5, 2026
72a1289
final gt5u fertilizer recipes migration, automatic migrations, bug fixes
C0bra5 Jan 6, 2026
a53de31
fix bad config values
C0bra5 Jan 6, 2026
407839c
sicken crops instead of replacing them with weeds.
C0bra5 Jan 6, 2026
e078cbd
spotless apply
C0bra5 Jan 6, 2026
a09072f
Merge remote-tracking branch 'upstream/master'
C0bra5 Jan 6, 2026
25a2637
remove ccc dep
C0bra5 Jan 6, 2026
d68aaba
name standardizations
C0bra5 Jan 7, 2026
f026d7e
fix bad config
C0bra5 Jan 7, 2026
e0b0920
yeet debug code
C0bra5 Jan 7, 2026
2387f43
hide weed and migrator crop in nei
C0bra5 Jan 7, 2026
15733da
fix glowshroom soil type
C0bra5 Jan 7, 2026
831153d
make global soil list available for weeds and migrator
C0bra5 Jan 7, 2026
0603e66
fix coffe drop?
C0bra5 Jan 7, 2026
95a1c19
add vine as alternative seed
C0bra5 Jan 7, 2026
3620248
add soil type to crop dump
C0bra5 Jan 7, 2026
1a5756e
Make bamboo use the same soil type as bonsai crops.
C0bra5 Jan 7, 2026
3896345
spotless apply
C0bra5 Jan 7, 2026
b328e15
move ore dict registration to pre-init
C0bra5 Jan 7, 2026
dc4ae2b
ensure pams loads before cropsnh
C0bra5 Jan 7, 2026
91426a1
Add support for ExtraUtils watering can compat for watering
C0bra5 Jan 7, 2026
dfaaabe
Beginnings of UiE Compat
C0bra5 Jan 7, 2026
7611c8b
add missing alternate seeds
C0bra5 Jan 7, 2026
60b8d44
migrate terra wart recipes from gt5u
C0bra5 Jan 7, 2026
1e2a57c
add migration for gtpp crop manager
C0bra5 Jan 7, 2026
ab35edd
add machine type to single block machine tooltips
C0bra5 Jan 7, 2026
19de916
migrate more stuff over from gt5u and core mod
C0bra5 Jan 7, 2026
814291b
fix crash/typo
C0bra5 Jan 7, 2026
ed81f5f
spotless apply
C0bra5 Jan 7, 2026
ab4498a
server crash fix
C0bra5 Jan 7, 2026
b0f4ea1
spotless apply
C0bra5 Jan 7, 2026
088bcd3
add sugar beet mortar recipe
C0bra5 Jan 16, 2026
df07d0d
update weedex reference to crops nh's
C0bra5 Jan 16, 2026
07fa413
add seed scanner fake recipe
C0bra5 Jan 16, 2026
c911e46
update coffee references
C0bra5 Jan 18, 2026
b5e813b
standardize all mod id references to lower case
C0bra5 Jan 18, 2026
f5d4949
call em by what people call em
C0bra5 Jan 18, 2026
61140e4
add ore dict for tea leaf
C0bra5 Jan 18, 2026
1e28182
add breeding for slimy bonsai
C0bra5 Jan 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ end_of_line = crlf

[*.{dtd,json,info,mcmeta,md,sh,svg,xml,xsd,xsl,yaml,yml}]
indent_size = 2

[*.lang]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ src/main/resources/mixins.*.json
*.bat
*.DS_Store
!gradlew.bat
/layout.json
81 changes: 81 additions & 0 deletions addons.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
compileJava {
options.encoding = "UTF-8"
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}

minecraft {
def vMajor, vMinor, vPatch, logLevel = LogLevel.INFO
try {
String version = project.version
def (five,major,minor,patch)= version.split("[.-]", 5)

vMajor = 500 + major.toInteger()
vMinor = minor.toInteger()
vPatch = patch.toInteger()
} catch (Exception ex) {
try {
String version = "git describe".execute().text
def (five,major,minor,patch)= version.split("[.-]", 5)
vMajor = 500 + major.toInteger()
vMinor = minor.toInteger()
vPatch = patch.toInteger()
logLevel = LogLevel.LIFECYCLE
} catch (Exception ex2) {
def err = "Cannot automatically determine NBT version. Using defaults hardcoded in buildscript. This could break your world!"
project.logger.error(err)
vMajor = 509
vMinor = 44
vPatch = 0
logLevel = LogLevel.WARN
}
}
injectedTags.put 'VERSION_MAJOR', vMajor
injectedTags.put 'VERSION_MINOR', vMinor
injectedTags.put 'VERSION_PATCH', vPatch
project.logger.log(logLevel, 'Using ({}, {}, {}) as NBT version', vMajor, vMinor, vPatch)
}

SourceSet functionalTestSet = null

sourceSets {
functionalTestSet = create("functionalTest") {
java {
srcDir("src/functionalTest/java")
compileClasspath += sourceSets.patchedMc.output + sourceSets.main.output
}
}
}

configurations { configs ->
// Keep all dependencies from the main mod in the functional test mod
named(functionalTestSet.compileClasspathConfigurationName).configure {it.extendsFrom(named("compileClasspath").get())}
named(functionalTestSet.runtimeClasspathConfigurationName).configure {it.extendsFrom(named("runtimeClasspath").get())}
named(functionalTestSet.annotationProcessorConfigurationName).configure {it.extendsFrom(named("annotationProcessor").get())}
}

tasks.register(functionalTestSet.jarTaskName, Jar) {
from(functionalTestSet.output)
archiveClassifier.set("functionalTests")
// we don't care about the version number here, keep it stable to avoid polluting the tmp directory
archiveVersion.set("1.0")
destinationDirectory.set(new File(buildDir, "tmp"))
}
tasks.named("assemble").configure {
dependsOn(functionalTestSet.jarTaskName)
}

// Run tests in the default runServer/runClient configurations
tasks.named("runServer", JavaExec).configure {
dependsOn(functionalTestSet.jarTaskName)
classpath(configurations.named(functionalTestSet.runtimeClasspathConfigurationName), tasks.named(functionalTestSet.jarTaskName))
}

tasks.named("runClient", JavaExec).configure {
dependsOn(functionalTestSet.jarTaskName)
classpath(configurations.named(functionalTestSet.runtimeClasspathConfigurationName), tasks.named(functionalTestSet.jarTaskName))
}
Binary file added art/environmental_modules.psd
Binary file not shown.
Binary file added art/hemp.psd
Binary file not shown.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//version: 1707058017

plugins {
id 'com.gtnewhorizons.gtnhconvention'
Expand Down
72 changes: 55 additions & 17 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,26 +1,64 @@
// Add your dependencies here

dependencies {
api("com.github.GTNewHorizons:CodeChickenCore:1.4.3:dev")
api("com.github.GTNewHorizons:NotEnoughItems:2.5.4-GTNH:dev")
api("com.github.GTNewHorizons:ForgeMultipart:1.4.7:dev")
api("com.github.GTNewHorizons:waila:1.6.5:dev")
compileOnlyApi("com.github.GTNewHorizons:Botania:1.10.4-GTNH:dev")
compileOnlyApi("com.github.GTNewHorizons:ForestryMC:4.8.2:dev")
compileOnlyApi("com.github.GTNewHorizons:OpenComputers:1.10.6-GTNH:dev")
compileOnlyApi("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") { transitive = false }
compileOnlyApi("com.github.GTNewHorizons:BloodMagic:1.5.0:dev")
compileOnlyApi('curse.maven:minefactory-reloaded-66672:2366150') { transitive = false }
compileOnlyApi('curse.maven:computercraft-67504:2269339')
compileOnlyApi('curse.maven:HydCraft-223036:2279482')
compileOnlyApi('curse.maven:Ancient-Warfare-224602:2285132')
compileOnlyApi('curse.maven:ResourcefulCrops-232365:2268518')

compileOnly("com.github.GTNewHorizons:CraftTweaker:3.3.0:dev") {
devOnlyNonPublishable("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.170:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:TinkersConstruct:1.14.17-GTNH:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:twilightforest:2.7.13:dev") {
transitive = false
}
devOnlyNonPublishable("com.github.GTNewHorizons:Natura:2.8.9:dev") {
transitive = false
}
devOnlyNonPublishable(rfg.deobf("curse.maven:biomes-o-plenty-220318:2499612"))
devOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.8.44-GTNH:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.9.15:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:Botania:1.13.6-GTNH:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:ForestryMC:4.11.4:dev")
devOnlyNonPublishable("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev")
compileOnly("com.github.GTNewHorizons:Galacticraft:3.4.14-GTNH:dev") {
transitive = false
}
compileOnly("com.github.GTNewHorizons:AppleCore:3.3.0:dev") {
compileOnly("com.github.GTNewHorizons:GalacticGregGT5:1.1.0:dev") {
transitive = false
}
compileOnly("com.github.GTNewHorizons:Galaxy-Space-GTNH:1.1.123-GTNH:dev") {
transitive = false
}
devOnlyNonPublishable("ganymedes01.etfuturum:Et-Futurum-Requiem:2.6.2.21-GTNH-daily") {
transitive = false
}

// for testing purposes
runtimeOnlyNonPublishable("com.github.GTNewHorizons:twilightforest:2.7.13:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:ThaumicBases:1.9.6:dev")
runtimeOnlyNonPublishable(deobfCurse('witchery-69673:2234410'))
runtimeOnlyNonPublishable(rfg.deobf("curse.maven:biomes-o-plenty-220318:2499612"))
runtimeOnlyNonPublishable("com.github.GTNewHorizons:Natura:2.8.9:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:Galacticraft:3.4.14-GTNH:dev")
// gtnh core mod let me load sheaniganery
runtimeOnlyNonPublishable("com.github.GTNewHorizons:NewHorizonsCoreMod:2.8.74:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:WitcheryExtras:1.4.7:dev")
// for comparing to ic2 stuff only
runtimeOnlyNonPublishable("com.github.GTNewHorizons:ServerUtilities:2.2.9:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:Crops-plus-plus:1.9.4:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:WAILAPlugins:0.7.2:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:BeeBetterAtBees-GTNH:0.4.3-GTNH:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:neiaddons:1.17.0:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:StructureLib:1.4.25:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:BlockRenderer6343:1.4.4:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:worldedit-gtnh:v0.0.8:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:Random-Things:2.7.1:dev")
runtimeOnlyNonPublishable("ganymedes01.etfuturum:Et-Futurum-Requiem:2.6.2.21-GTNH-daily")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:Hodgepodge:2.7.27:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:Angelica:1.0.0-beta68a:dev")
}

project.getConfigurations()
.all(c -> {
final DependencySubstitutions ds = c.getResolutionStrategy()
.getDependencySubstitution();
ds.substitute(ds.module("com.github.GTNewHorizons:Baubles"))
.using(ds.module("com.github.GTNewHorizons:Baubles-Expanded:2.2.6-GTNH"))
.withClassifier("dev")
.because("Baubles-Expanded replaces Baubles");
});
46 changes: 30 additions & 16 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ modId = cropsnh
modGroup = com.gtnewhorizon.cropsnh

# Whether to use modGroup as the maven publishing group.
# Due to a history of using JitPack, the default is com.github.GTNewHorizons for all mods.
# When false, com.github.GTNewHorizons is used.
useModGroupForPublishing = false

# Updates your build.gradle and settings.gradle automatically whenever an update is available.
Expand All @@ -33,19 +33,19 @@ channel = stable
mappingsVersion = 12

# Defines other MCP mappings for dependency deobfuscation.
remoteMappings = https://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/conf/
remoteMappings = https\://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/conf/

# Select a default username for testing your mod. You can always override this per-run by running
# `./gradlew runClient --username=AnotherPlayer`, or configuring this command in your IDE.
developmentEnvironmentUserName = Developer

# Enables using modern Java syntax (up to version 17) via Jabel, while still targeting JVM 8.
# See https://github.com/bsideup/jabel for details on how this works.
enableModernJavaSyntax = false
enableModernJavaSyntax = true

# Enables injecting missing generics into the decompiled source code for a better coding experience.
# Turns most publicly visible List, Map, etc. into proper List<E>, Map<K, V> types.
enableGenericInjection = false
enableGenericInjection = true

# Generate a class with a String field for the mod version named as defined below.
# If generateGradleTokenClass is empty or not missing, no such class will be generated.
Expand All @@ -55,11 +55,8 @@ generateGradleTokenClass =
# Name of the token containing the project's current version to generate/replace.
gradleTokenVersion = GRADLETOKEN_VERSION

# [DEPRECATED] Mod ID replacement token.
gradleTokenModId = GRADLETOKEN_MODID

# [DEPRECATED] Mod name replacement token.
gradleTokenModName = GRADLETOKEN_MODNAME
# [DEPRECATED] Mod Group replacement token.
gradleTokenGroupName = GRADLETOKEN_GROUPNAME

# [DEPRECATED]
# Multiple source files can be defined here by providing a comma-separated list: Class1.java,Class2.java,Class3.java
Expand All @@ -82,13 +79,20 @@ accessTransformersFile =
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
usesMixins = false

# Set to a non-empty string to configure mixins in a separate source set under src/VALUE, instead of src/main.
# This can speed up compile times thanks to not running the mixin annotation processor on all input sources.
# Mixin classes will have access to "main" classes, but not the other way around.
separateMixinSourceSet =

# Adds some debug arguments like verbose output and class export.
usesMixinDebug = false

# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
mixinPlugin =

# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
# Specify the package that contains all of your Mixins. The package must exist or
# the build will fail. If you have a package property defined in your mixins.<modid>.json,
# it must match with this or the build will fail.
mixinsPackage =

# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
Expand All @@ -114,16 +118,22 @@ minimizeShadowedDependencies = true
# If disabled, won't rename the shadowed classes.
relocateShadowedDependencies = true

# Adds the GTNH maven, CurseMaven, IC2/Player maven, and some more well-known 1.7.10 repositories.
# Adds CurseMaven, Modrinth, and some more well-known 1.7.10 repositories.
includeWellKnownRepositories = true

# A list of repositories to exclude from the includeWellKnownRepositories setting. Should be a space separated
# list of strings, with the acceptable keys being(case does not matter):
# cursemaven
# modrinth
excludeWellKnownRepositories =

# Change these to your Maven coordinates if you want to publish to a custom Maven repository instead of the default GTNH Maven.
# Authenticate with the MAVEN_USER and MAVEN_PASSWORD environment variables.
# If you need a more complex setup disable maven publishing here and add a publishing repository to addon.gradle.
usesMavenPublishing = true

# Maven repository to publish the mod to.
# mavenPublishUrl = https://nexus.gtnewhorizons.com/repository/releases/
# mavenPublishUrl = https\://nexus.gtnewhorizons.com/repository/releases/

# Publishing to Modrinth requires you to set the MODRINTH_TOKEN environment variable to your current Modrinth API token.
#
Expand All @@ -137,7 +147,7 @@ modrinthProjectId =
# type can be one of [project, version],
# and the name is the Modrinth project or version slug/id of the other mod.
# Example: required-project:fplib;optional-project:gasstation;incompatible-project:gregtech
# Note: GTNH Mixins is automatically set as a required dependency if usesMixins = true
# Note: UniMixins is automatically set as a required dependency if usesMixins = true.
modrinthRelations =

# Publishing to CurseForge requires you to set the CURSEFORGE_TOKEN environment variable to one of your CurseForge API tokens.
Expand All @@ -158,6 +168,12 @@ curseForgeRelations =
# projects. New projects should not use this parameter.
# customArchiveBaseName =

# Optional parameter to customize the default working directory used by the runClient* tasks. Relative to the project directory.
# runClientWorkingDirectory = run/client

# Optional parameter to customize the default working directory used by the runServer* tasks. Relative to the project directory.
# runServerWorkingDirectory = run/server

# Optional parameter to have the build automatically fail if an illegal version is used.
# This can be useful if you e.g. only want to allow versions in the form of '1.1.xxx'.
# The check is ONLY performed if the version is a git tag.
Expand All @@ -170,7 +186,7 @@ curseForgeRelations =
# Uncomment this to disable Spotless checks.
# This should only be uncommented to keep it easier to sync with upstream/other forks.
# That is, if there is no other active fork/upstream, NEVER change this.
disableSpotless = true
# disableSpotless = true

# Uncomment this to disable Checkstyle checks (currently wildcard import check).
# disableCheckstyle = true
Expand All @@ -187,5 +203,3 @@ disableSpotless = true
# This is meant to be set in $HOME/.gradle/gradle.properties.
# ideaCheckSpotlessOnBuild = true

# Non-GTNH properties
gradleTokenGroupName = GRADLETOKEN_GROUPNAME
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
12 changes: 7 additions & 5 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading