Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1923 commits
Select commit Hold shift + click to select a range
2f5d646
Fix #658. Thanks implicit fallthrough!
bs2609 Nov 26, 2018
3375a14
Clean up a couple of switch blocks
bs2609 Nov 26, 2018
22d4c0e
Add support for creating maven artifacts
AtomicBlom Nov 28, 2018
631caaf
Dependency update
Drullkus Nov 29, 2018
6f451df
Add moar Emissive stuff
Drullkus Nov 29, 2018
d8a61a7
Groundwork for Magic Tree related Bee species for Forestry
Drullkus Nov 30, 2018
a8c4575
Some code cleanup for the magic trees
bs2609 Nov 30, 2018
46ad3f9
More magic tree tweaks
bs2609 Dec 1, 2018
4d48212
Update trophy pedestal to use status bar messages
bs2609 Dec 2, 2018
e4e8d51
Add option for extra portal creation checks, slightly WIP still
bs2609 Dec 2, 2018
d413ddb
Some portal code fixes and cleanup
bs2609 Dec 6, 2018
74e33b7
More tweaking
bs2609 Dec 6, 2018
cd3c117
Finish tidying
bs2609 Dec 7, 2018
160a71e
Reorganise a bit of teleporter code
bs2609 Dec 9, 2018
36474a9
Only register ruins with valid weights
bs2609 Dec 11, 2018
d21bdb8
More ruin list fixes
bs2609 Dec 11, 2018
9c48038
Fix broken advancement reference
bs2609 Dec 13, 2018
0907cc4
Improve custom spawn type logic
bs2609 Dec 14, 2018
8eb7014
Move raven feathers into the OreDictionary and remove extraneous arro…
noobanidus Dec 17, 2018
9f75e13
Fix another broken advancement reference (#674)
Andromander Dec 18, 2018
cc868ab
Commit some other refactors after ragequitting the Druid Hut refactor
Drullkus Dec 18, 2018
99d812f
Cleanup of 4 am programming: Why did I put suppliers?
Drullkus Dec 18, 2018
93a0155
Custom Bighorn Loot Tables
Drullkus Dec 19, 2018
3c440de
Add Unbreaking Glass Swords to JEI/Creative, changes to Patchouli as …
Drullkus Dec 19, 2018
e8f088a
Tower Devices
Andromander Dec 18, 2018
79face7
Restrict "Twilight Hunter" achievement to the Twilight Forest dimension.
noobanidus Dec 16, 2018
335d68d
New Item Usage Trigger which will activate when certain items are use…
Drullkus Dec 21, 2018
c1ebbd4
Localizations are why we can't have nice things
Drullkus Dec 21, 2018
9d61eb3
Patchouli pages on Phantom Armor
Drullkus Dec 21, 2018
65c4117
Edit Charms' entry, and add page stuffs for Crumble Horn
Drullkus Dec 21, 2018
dfdbc3c
Add support for colour mixing to bighorn sheep
bs2609 Dec 22, 2018
0f10b24
Musical Beans - and other Patchouli edits
Drullkus Dec 22, 2018
39bad7e
Terrorcotta!
Drullkus Dec 27, 2018
6a4bc22
A silly, nonsensual, and totally awesome pun
Drullkus Dec 29, 2018
caf82ea
Add recipe condition to disable Uncrafting Table crafting if disabled
Drullkus Jan 2, 2019
f80ad05
Quick edit for Death Tome's hurt loottable
Drullkus Jan 2, 2019
227d1ec
Simple uncrafting condition that doesn't make people yell at you
bs2609 Jan 11, 2019
856f16a
Always compile using UTF-8
bs2609 Jan 11, 2019
dd74495
Tidier formatting
bs2609 Jan 11, 2019
cbbc6ac
Version :b:ump
Drullkus Jan 12, 2019
bd8604f
Cut some cruft from naga entry, for now, until we get proper content
Drullkus Jan 12, 2019
957b202
Pages for fire_jet blocks
Andromander Jan 6, 2019
d87dbd2
Wrong advancements
Andromander Jan 6, 2019
69c9da3
Do I fix this absolutely tiny typo? Answer is yes
Andromander Jan 6, 2019
8ecab45
Rename Highlands Center to Final Plateau
Andromander Nov 11, 2018
dcfc16f
Update zh_cn.lang
3TUSK Sep 24, 2018
1433f5d
Update zh_cn.lang
3TUSK Sep 24, 2018
78841fb
Fix CME in armour trigger and tidy up code a bit
bs2609 Jan 20, 2019
80e6624
Fix indentation
bs2609 Jan 20, 2019
89fae3c
Fix all structures losing conquer status
bs2609 Jan 20, 2019
e35ef0d
More advancement trigger fixes
bs2609 Jan 20, 2019
295ca1a
Big cleanup in lich renderer, properly separate lich model from shiel…
williewillus Jan 23, 2019
6c4ebef
Actually add new file
williewillus Jan 23, 2019
9dc5780
Minor DRY in models
williewillus Jan 23, 2019
74874dc
Stop Tree of Transformation slowing down too much due to randomness
bs2609 Jan 24, 2019
98fff6a
Small code cleanup
bs2609 Jan 25, 2019
2fbf144
Update some variable names to more current mappings
bs2609 Jan 26, 2019
809130d
Add missing properties to wooden (trap)doors
bs2609 Jan 27, 2019
c3af636
Add map colours to new wood blocks
bs2609 Jan 27, 2019
05e0416
Add correct item drops to wooden doors
bs2609 Jan 27, 2019
9bf29f6
Add custom map colours for some compressed blocks, plus tidying
bs2609 Jan 28, 2019
c587036
Bump Forge version and clean up game rule handling
bs2609 Jan 29, 2019
3810931
Make ravens also count towards the 'twilight_hunter' advancement
bs2609 Jan 30, 2019
fb0f012
Fix magic leaves inheriting vanilla sapling drops, resolves #698
bs2609 Jan 31, 2019
fadc9a7
Fix up some map colours, closes #700
bs2609 Jan 31, 2019
dd286af
Some code tidying
bs2609 Feb 2, 2019
07a80cd
Some more map colour work
bs2609 Feb 2, 2019
02cf5ee
Some fixes for troll roots
bs2609 Feb 3, 2019
e45efe3
Fix the ore map checks to work like the ore magnet
bs2609 Feb 6, 2019
7ec84f3
Tidy up some stray copypasta
bs2609 Feb 7, 2019
b7058d5
Couple more map colour tweaks
bs2609 Feb 7, 2019
72d10ef
Fix minor porting mistake in some block drop code
bs2609 Feb 8, 2019
4016aad
Small cleanup of some other block drop code
bs2609 Feb 8, 2019
5d1c718
More code updates
bs2609 Feb 8, 2019
1f52e07
Move some structure-based advancements to being data-driven
bs2609 Feb 8, 2019
d5246e8
Adjust hollow hill structure box to better fit hill size
bs2609 Feb 8, 2019
69bdf67
Bit more tweaking
bs2609 Feb 8, 2019
df06416
Replace umlaut-o with plain o. Resolves build/compilation issues. (#692)
noobanidus Feb 11, 2019
36b8fe2
Clean up a few translation keys
bs2609 Feb 12, 2019
4167ea2
Fix some bad item model handling
bs2609 Feb 12, 2019
5861651
Merge branch '1.12.x' of https://github.com/TeamTwilight/twilightfore…
bs2609 Feb 12, 2019
93991ef
Add other boss spawner variants to the creative menu
bs2609 Feb 12, 2019
36d3ddc
Clean up some model registration code
bs2609 Feb 12, 2019
788b3a4
1.13 future thing
Drullkus Feb 18, 2019
974d1fd
Initial commit for Twisted Stone Pillars, still WIP
Drullkus Feb 24, 2019
8d21e20
Fix FOV-changing logic for bows
bs2609 Mar 4, 2019
26c77af
Add forwards-compatibility handling to FOV changes
bs2609 Mar 4, 2019
7e4ae5b
Improve protection box handling a bit
bs2609 Mar 8, 2019
84d13d0
Small harvest check code cleanup
bs2609 Mar 10, 2019
5295e87
Clean up a bunch of model/rendering code
bs2609 Mar 11, 2019
3e469bb
Add some missing WorldProvider overrides, fixes #713
bs2609 Mar 15, 2019
685f952
Apply magic map fixes to maze map
bs2609 Mar 17, 2019
5e91f85
Far too much time blown on these dang pillars
Drullkus Mar 18, 2019
cefe030
Some clean-up, because by the good lord, I made a mess
Drullkus Mar 18, 2019
bbadbe3
Update item colour handler list to match item registration
bs2609 Mar 20, 2019
3d46647
Improve some structure generator handling
bs2609 Mar 21, 2019
d9384d7
Fix some unresolved texture errors
bs2609 Mar 21, 2019
2be1b61
Some small GL state cleanups
bs2609 Mar 22, 2019
9bc6f75
Add missing class check to upper goblin knight, fixes #720
bs2609 Mar 24, 2019
f9d75c7
Fix the other data fixer class name
bs2609 Mar 26, 2019
a848a99
Clean up a lot of ResourceLocation handling
bs2609 Mar 27, 2019
6c943e9
More structure generator cleanups
bs2609 Mar 29, 2019
70e43ff
Couple of random fixes
bs2609 Mar 30, 2019
d18a42c
Use HTTPS for Maven URLs where applicable
bs2609 Mar 31, 2019
43a768d
Clean up some particle handling
bs2609 Mar 31, 2019
f8f663b
Add some missing isRemote checks
bs2609 Mar 31, 2019
cb7d232
Clean up handling for protected entities, spawn particles properly
bs2609 Mar 31, 2019
70c423d
Code cleanup and minor improvements for boss spawners
bs2609 Apr 11, 2019
86da693
Clean up another block type cast
bs2609 Apr 15, 2019
689afa1
Quick size optimisation pass over new textures
bs2609 Apr 18, 2019
223675c
Add missing lang file entries for world-gen settings
bs2609 Apr 19, 2019
f5c6e26
Tidy up a couple of translation keys
bs2609 Apr 19, 2019
389d2ce
Don't forget this file
bs2609 Apr 19, 2019
17c74b5
Fix some tree feature generators being broken
bs2609 Apr 19, 2019
6f25c74
Clean up a bunch of biome code
bs2609 Apr 19, 2019
63ef7ea
Fix some block flags used in world generation
bs2609 Apr 19, 2019
c043187
Some fixes for vine generator, closes #732
bs2609 Apr 22, 2019
c251e00
Add y-level check to some world-gen spawning code
bs2609 Apr 25, 2019
bec0361
Some extra checks for existing portals
bs2609 Apr 27, 2019
c4fd4dc
Fix particles spawned via item interactions
bs2609 May 7, 2019
ae86866
Tidy up unused imports
bs2609 May 8, 2019
e537862
Nullability fixes and some small tidying
bs2609 May 9, 2019
3102cfb
Some code de-duplication
bs2609 May 9, 2019
82255e4
Some more code cleanup
bs2609 May 9, 2019
daf0c25
fix isPositionOccupied and reduce a little bit of dupe code
Tamaized May 9, 2019
e8f6002
am big dum
Tamaized May 9, 2019
b2c569f
fr_fr.lang (#734)
Neerwan May 9, 2019
857a4ec
Bump Forge version, fix #602
bs2609 May 10, 2019
d848582
Couple of quick fixes
bs2609 May 10, 2019
6470c7a
jredfox is stupid, closes #737
Tamaized May 15, 2019
512b68a
Some code cleanups and renaming for weather renderer
bs2609 May 16, 2019
db67bc2
Quick sweep over sky renderer too
bs2609 May 16, 2019
7fd2e5a
Improve weather effect update logic
bs2609 May 16, 2019
6213052
Spinny sliders
bs2609 May 16, 2019
c14143a
More renames
bs2609 May 16, 2019
a2341bd
Another small cleanup pass
bs2609 May 18, 2019
688a332
Tidy up logging statements
bs2609 May 19, 2019
4203a17
More ResourceLocation cleanup
bs2609 May 19, 2019
b061ed3
Some repackaging
bs2609 May 19, 2019
c2d48b4
Fix a missed reference
bs2609 May 19, 2019
0b711f4
illegal deviance
bs2609 May 19, 2019
b6b93f4
More cleanups
bs2609 May 19, 2019
72986b9
added 5 more music tracks, closes #405
Tamaized May 21, 2019
7c636d3
new alpha yeti sounds #269
Tamaized May 22, 2019
d510517
added higher pitch throw sounds to the yetis too
Tamaized May 22, 2019
6f7f6ee
alpha yeti will now stop shooting ice bombs if the player is too close
Tamaized May 22, 2019
e676d0d
IMC and config support for hollow hill stalactites (#729)
Hubry May 22, 2019
fc5cb8f
Small post-merge cleanup
bs2609 May 22, 2019
fa3d0ef
Tidy up some giant block logic and a couple of other things
bs2609 May 22, 2019
c562de1
add deer sounds #269 closes #362
Tamaized May 22, 2019
57280df
give yeti's higher pitch alpha yeti idle/hurt/death sounds #269
Tamaized May 22, 2019
c3a54a4
add wolf sounds #269
Tamaized May 23, 2019
a565a89
add death tome sounds #269
Tamaized May 23, 2019
a8451df
Merge branch '1.12.x' of https://github.com/TeamTwilight/twilightfore…
Tamaized May 23, 2019
4d2673b
anotha one
Tamaized May 23, 2019
3c3d2c7
FULL BLAST
Tamaized May 23, 2019
affa2e7
Generify some AI tasks
bs2609 May 24, 2019
ffd6812
Some material tweaks
bs2609 May 25, 2019
2cbcd6c
Minor tidying of chisel support
bs2609 May 27, 2019
bec08e9
More random block variants for minotaur maze walls
bs2609 May 27, 2019
a925a71
Small improvements to cave generators
bs2609 May 31, 2019
6e0579c
Chunk primer optimisations
bs2609 May 31, 2019
1d1ec52
Move some client classes to client package
bs2609 Jun 2, 2019
b883fb6
Another small uncrafting cleanup
bs2609 Jun 7, 2019
f36ba9d
Bump Forge version, fix issues with items that take damage during use
bs2609 Jun 8, 2019
767a343
Clean up bow code
bs2609 Jun 8, 2019
6e85c59
Couple of config handling fixes
bs2609 Jun 12, 2019
0fd4040
Small code tidy for advancement checks
bs2609 Jun 13, 2019
cd8bb5d
Small logic fix and tidying for portal formation code
bs2609 Jun 15, 2019
cd00e3a
Also clean up portal logic in tick handler
bs2609 Jun 16, 2019
4d09d96
Tidy up progression rule checks a bit
bs2609 Jun 16, 2019
81a8edb
Another event handler tidy-up
bs2609 Jun 21, 2019
a3af944
Small improvements to seeker arrows
bs2609 Jun 23, 2019
2cc08fd
Proper parrot sound events
bs2609 Jun 24, 2019
26cc082
Fix wrong effect ID for hydra mortars, fixes #752
bs2609 Jun 24, 2019
eb7edaf
Add custom biome type to twilight forest biomes
bs2609 Jun 28, 2019
254bd7f
Clean up a bunch of chunk generator checks
bs2609 Jun 28, 2019
f927727
IntelliJ please remember my selected changes :<
bs2609 Jun 28, 2019
e03b368
Mark labyrinth as completed on Minoshroom kill
bs2609 Jun 28, 2019
a02a778
Fully address #520, rename a few params and methods properly
Drullkus Jun 28, 2019
17f0359
Merge branch '1.12.x' of https://github.com/TeamTwilight/twilightfore…
Drullkus Jun 28, 2019
79d71a2
Small ray-trace logic improvements
bs2609 Jun 30, 2019
1523c3c
Not sure what this clone() is doing here
Drullkus Jul 2, 2019
1ce69fa
Improve critter placement logic, should resolve #759
bs2609 Jul 3, 2019
c9d5e90
Make animated item renderers a bit safer
bs2609 Jul 3, 2019
8a3ccd4
Clean up animated stack rendering code too
bs2609 Jul 3, 2019
e1c6dc0
Make Fire Beetle immune to fire, closes #765
bs2609 Jul 5, 2019
3ab2ef5
Add missing capability check
bs2609 Jul 5, 2019
575d253
Clean up this item handling code too
bs2609 Jul 5, 2019
42d4964
Update bauble handling code to better match main inventory equivalent
bs2609 Jul 6, 2019
20858d2
add naga eye close when naga Dazed (#762)
baguchi Jul 14, 2019
76efbd1
Additional loot tables as per #741 (#742)
noobanidus Jul 14, 2019
fd4b77e
Small statemapper cleanup
bs2609 Jul 15, 2019
575a60b
Fix a few mismatches with vanilla code for triple bow
bs2609 Jul 16, 2019
cf2507e
Small pathfinding update
bs2609 Jul 25, 2019
b2146a5
More texture optimisations
bs2609 Jul 25, 2019
5abe679
More AI task updating
bs2609 Jul 25, 2019
a87e67e
One Phantom Knight spawns with a shield on Hard (#782)
baguchi Jul 28, 2019
ccd2788
add guard cooldown and add blocking sound (#783)
baguchi Jul 31, 2019
17f02cb
Modified ru_ru.lang. Corrected translation (#785)
klmendor Jul 31, 2019
cd53bf4
Improve terrain generation times slightly (#787)
jellysquid3 Jul 31, 2019
346f4cf
Reduce the amount of CPU time spent in TFFeature (#786)
jellysquid3 Jul 31, 2019
c6e97d6
Fix biome block replacement
bs2609 Jul 31, 2019
1c72a22
Fix incomplete feature generation
bs2609 Jul 31, 2019
aa5c54c
Feature lookup fixes
bs2609 Jul 31, 2019
a07c859
Alpha Yeti now throws ice bombs during a rampage
Tamaized Aug 1, 2019
f191539
Deer now flee from players
Tamaized Aug 1, 2019
c19a168
Version Bump
Tamaized Aug 8, 2019
fdcf0b0
The Snow Queen now handles attacking non-player correctly also Ice Co…
baguchi Aug 10, 2019
e5ee00f
New Minoshroom smash ground attack (#761)
baguchi Aug 10, 2019
35ca33c
Flesh out the new Minoshroom attack
Tamaized Aug 10, 2019
bbe0f88
BlockGoblins will now launch their spiky block flails towards a targe…
baguchi Aug 10, 2019
b67fd0f
More improvements for dark forest canopy generation
bs2609 Aug 12, 2019
40f0169
Clean up biome/feature mapping
bs2609 Aug 13, 2019
a8f31cb
Fix some leaf placement by tree generators
bs2609 Aug 13, 2019
d4779d1
Tweak shield capability handling (and fix typo)
bs2609 Aug 14, 2019
1469851
Bit more shield cleanup
bs2609 Aug 14, 2019
18e984e
Improve chunk creation speed a bit
bs2609 Aug 15, 2019
952abf7
Clean up terrain deformation for structures
bs2609 Aug 15, 2019
adf0be0
Bit more cave-gen tidying up
bs2609 Aug 15, 2019
2c4b594
Move some creature-spawning code around
bs2609 Aug 15, 2019
05ff92e
Clean out some old instanceof checks
bs2609 Aug 17, 2019
7d152e5
Some trait adjustment
bs2609 Aug 23, 2019
84cfa6e
Bit more shield code tweaking
bs2609 Aug 23, 2019
6f92877
birbs will try their very best to avoid drowning
Tamaized Aug 24, 2019
f44de78
Fixed uberous soil render without CTM
Tamaized Aug 25, 2019
a1dfc08
Improve death checks for phantom knights
bs2609 Aug 25, 2019
d1adfed
Fix some wood door/trapdoor recipes (#812)
comp500 Aug 26, 2019
91e8f29
Fix another door recipe
bs2609 Aug 27, 2019
2c21da4
Add advancement conditions
bs2609 Aug 29, 2019
91ed374
guys i added the final boss OH MY GODDDDD
Tamaized Sep 1, 2019
a9af32d
Trust in birbs to float
bs2609 Sep 2, 2019
164d6ce
Urghast tweaks
Tamaized Sep 9, 2019
399ba62
Spooky Forest WIP
Tamaized Oct 18, 2019
d59af0a
finalized spoop
Tamaized Oct 28, 2019
07aeb44
OOPSIES
Tamaized Oct 28, 2019
801c77a
update ru_ru.lang (#799)
Alepod Oct 28, 2019
b183c02
More pages, swamp theme
Andromander Oct 4, 2019
e78accc
Requested edits
Andromander Oct 21, 2019
657a775
Update zh_cn.lang (#815)
3TUSK Oct 28, 2019
d2c9a6f
Version Bump
Tamaized Oct 28, 2019
637d89e
bruh
Tamaized Dec 3, 2019
2ccf6f8
Pre-change indentation fix
bs2609 Dec 3, 2019
25c4f2c
Cleanup advancement trigger checks
bs2609 Dec 3, 2019
e6037b4
bump jei and forge
Tamaized Dec 3, 2019
a436b18
absolute bruh moment
Tamaized Dec 3, 2019
f8fc94c
hopefully this pom works... :eyes:
Tamaized Jan 6, 2020
fd5c2f0
haha doesnt work.. worth the shot
Tamaized Jan 6, 2020
50ca2e9
Quick shortcircuit for Bresenham line
Drullkus Aug 23, 2020
87574e3
Filter Charms to players only
Drullkus Sep 7, 2020
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
49 changes: 20 additions & 29 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,23 @@
/download
/eclipseBin
# eclipse
bin
*.launch
.settings
.metadata
.classpath
.project

## gradle
/.gradle
/build
/gradle
/gradlew
/gradlew.bat
/libs
# idea
out
*.ipr
*.iws
*.iml
.idea

## ForgeGradle
/run
# gradle
build
.gradle

## eclipse
/eclipse
/.settings
/.metadata
/.classpath
/.project
/bin

## intellij
/out
/.idea
/*.iml
/*.ipr
/*.iws
/atlassian-ide-plugin.xml

# Mac OS X
.DS_Store
# other
eclipse
run
classes
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Contributing
============

* Use appropriate formatting
* Name all variables correctly
* Prefer deferring to vanilla methods as much as possible instead of copying
* When copying, copy EXACTLY as is and make small comments to note tweaks made
* Comment the class somewhere with [VanillaCopy] to signal that that region needs to be looked at whenever updates happen
* Remove dead code. Git exists for a reason
* Commented code is dead code!
* For the love of god use @Override.
11 changes: 11 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

Forge version:
Twilight Forest version: (this is the build number)
Link to crash log: (please use a paste site such as [gist](https://gist.github.com/), do not attach the .txt or paste the log inline)

Steps to reproduce:
1.

What I expected to happen:

What happened instead:
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
twilightforest
Twilight Forest [![Discord](https://img.shields.io/discord/313006291012288521.svg?colorB=7289DA&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHYAAABWAgMAAABnZYq0AAAACVBMVEUAAB38%2FPz%2F%2F%2F%2Bm8P%2F9AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfhBxwQJhxy2iqrAAABoElEQVRIx7WWzdGEIAyGgcMeKMESrMJ6rILZCiiBg4eYKr%2Fd1ZAfgXFm98sJfAyGNwno3G9sLucgYGpQ4OGVRxQTREMDZjF7ILSWjoiHo1n%2BE03Aw8p7CNY5IhkYd%2F%2F6MtO3f8BNhR1QWnarCH4tr6myl0cWgUVNcfMcXACP1hKrGMt8wcAyxide7Ymcgqale7hN6846uJCkQxw6GG7h2MH4Czz3cLqD1zHu0VOXMfZjHLoYvsdd0Q7ZvsOkafJ1P4QXxrWFd14wMc60h8JKCbyQvImzlFjyGoZTKzohwWR2UzSONHhYXBQOaKKsySsahwGGDnb%2FiYPJw22sCqzirSULYy1qtHhXGbtgrM0oagBV4XiTJok3GoLoDNH8ooTmBm7ZMsbpFzi2bgPGoXWXME6XT%2BRJ4GLddxJ4PpQy7tmfoU2HPN6cKg%2BledKHBKlF8oNSt5w5g5o8eXhu1IOlpl5kGerDxIVT%2BztzKepulD8utXqpChamkzzuo7xYGk%2FkpSYuviLXun5bzdRf0Krejzqyz7Z3p0I1v2d6HmA07dofmS48njAiuMgAAAAASUVORK5CYII%3D)](https://discord.gg/6v3z26B) [![Curseforge](http://cf.way2muchnoise.eu/full_the-twilight-forest_downloads.svg)](https://minecraft.curseforge.com/projects/the-twilight-forest) [![Curseforge](http://cf.way2muchnoise.eu/versions/For%20MC_the-twilight-forest_all.svg)](https://minecraft.curseforge.com/projects/the-twilight-forest)
==============

Twilight Forest repository
This is the home of the Twilight Forest mod for Minecraft 1.12 and beyond.

## Downloads
Releases will be available on [CurseForge](https://minecraft.curseforge.com/projects/the-twilight-forest) when ready.

Alternatively, grab your experimental builds from our [Discord](https://discord.gg/6v3z26B). See the #faq channel for more details.

## Community
We have a [Discord channel](https://discord.gg/6v3z26B)!

## YourKit
![](https://www.yourkit.com/images/yklogo.png)

We appreciate YourKit, LLC for providing the project developers licenses of its profiler to help us improve performance!

YourKit supports open source projects with its full-featured Java Profiler.
YourKit, LLC is the creator of [YourKit Java Profiler](https://www.yourkit.com/java/profiler/)
and [YourKit .NET Profiler](https://www.yourkit.com/.net/profiler/),
innovative and intelligent tools for profiling Java and .NET applications.
177 changes: 142 additions & 35 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,65 +1,172 @@
// define the properties file
ext.configFile = file "gradle.properties"
configFile.withReader {
// read config. it shall from now on be referenced as simply config or as project.config
def prop = new Properties()
prop.load(it)
project.ext.config = new ConfigSlurper().parse prop
}

// For those who want the bleeding edge
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'maven'

apply plugin: 'forge'
///////////////////////////////////////////////////
// IDE Settings
///////////////////////////////////////////////////
idea {
project {
languageLevel = '1.8'
}
}

version = "2.3.8dev"
group= "twilightforest" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "twilightforest-1.7.10"
///////////////////////////////////////////////////
// ForgeGradle
///////////////////////////////////////////////////
version = (hasProperty("CIRevision") ? CIRevision : config.mod_version)
group = config.group_name
archivesBaseName = "${config.mod_id}-${config.minecraft_version}"
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

minecraft {
version = "1.7.10-10.13.4.1558-1.7.10"
runDir = "eclipse"
}
version = config.minecraft_version + "-" + config.forge_version // grab latest forge
runDir = "run"

dependencies {
// you may put jars on which you depend on in ./libs
// or you may define them like so..
//compile "some.group:artifact:version:classifier"
//compile "some.group:artifact:version"

// real examples
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env

// for more info...
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
// http://www.gradle.org/docs/current/userguide/dependency_management.html

compile files('libs/Thaumcraft-deobf-1.7.10-4.2.3.5.jar')

mappings = config.mcp_mappings
makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.

replace '@mod_version@', version
replace '@mod_id@', config.mod_id
replace '@ci_build@', hasProperty("CIRevision") ? 'true' : 'false'

replaceIn 'TwilightForestMod.java'
replace '@VERSION@', project.version
}

processResources
{
processResources {
//replaceIn 'assets/twilightforest/patchouli_books/guide/book.json'
//replace '@EDITION@', project.version

// this will ensure that this task is redone when the versions change.
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version

// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'

include '**/*.info'
//include '**/*.properties'
include 'assets/twilightforest/patchouli_books/guide/book.json'

// replace version and mcversion
expand 'version':project.version, 'mcversion':project.minecraft.version
expand ([
'version':project.version,
'mcversion':project.minecraft.version,
'forge_version': config.forge_version,
'mod_version': config.mod_version,
'minecraft_version': config.minecraft_version,
'edition': (project.version - (config.mod_version + '.')),
's': '$'
])
}

// copy everything else, thats not the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
exclude 'assets/twilightforest/patchouli_books/guide/book.json'
}
}

compileJava {
options.encoding = 'UTF-8'
}

jar {
classifier = 'universal'
manifest {
attributes 'FMLAT': 'tf_at.cfg'
}
}

repositories {
maven {
name 'progwm\'s Maven' // JEI + Mantle + TCon
url 'https://dvs1.progwml6.com/files/maven'
}
maven {
name 'tterrag\'s Maven' // CTM
url 'https://maven.tterrag.com/'
}
maven {
name 'Jared\'s Maven' // Immersive Engineering + Patchouli
url 'https://blamejared.com/maven'
}
maven {
name 'player\'s Maven' // Forestry
url 'http://maven.ic2.player.to/'
}
maven {
name 'Curseforge Maven' // Baubles + Thaumcraft
url 'https://minecraft.curseforge.com/api/maven/'
}
}

dependencies {
// progwml6
deobfCompile "mezz.jei:jei_${minecraft_version}:${jei_version}"

deobfCompile "slimeknights.mantle:Mantle:${minecraft_sub_version}-${mantle_version}"
deobfCompile "slimeknights:TConstruct:${minecraft_version}-${tcon_version}"

// tterrag
deobfCompile "team.chisel.ctm:CTM:MC${minecraft_version}-${ctm_version}"
//deobfCompile "team.chisel:Chisel:MC${minecraft_version}-${chisel_version}"

// blamejared
deobfCompile "blusunrize:ImmersiveEngineering:${immersive_engineering_version}"
deobfCompile "vazkii.patchouli:Patchouli:${patchouli_version}"

// player
deobfCompile "net.sengir.forestry:forestry_${minecraft_version}:${forestry_version}"

// curseforge
deobfCompile "baubles:Baubles:${minecraft_sub_version}:${baubles_version}"
deobfCompile "thaumcraft:Thaumcraft:${minecraft_version}:${thaumcraft_version}"
}

task createPom {
doLast {
pom {
project {
groupId project.group
artifactId project.archivesBaseName
version project.version

inceptionYear '2012'
licenses {
license {
name 'LGPL 2.1'
url 'https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html'
distribution 'repo'
}
}
}
}.writeTo(libsDir.path + "/" + project.archivesBaseName + "-" + project.version + ".pom")
}
}

build.dependsOn createPom
33 changes: 33 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 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

# suppress inspection "UnusedProperty" for whole file
# Mod Properties
mod_version=3.11
mod_id=twilightforest
group_name=com.github.teamtwilight.twilightforest

#Versions
minecraft_version=1.12.2
minecraft_sub_version=1.12

mcp_mappings=stable_39
forge_version=14.23.5.2847

jei_version=4.15.+

ctm_version=0.3.2.21
chisel_version=+

mantle_version=+
tcon_version=+

immersive_engineering_version=+

patchouli_version=1.0-+

forestry_version=5.8.2.354

baubles_version=1.5.2
thaumcraft_version=6.1.BETA26
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Sun Aug 05 16:14:35 BST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
Loading