Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 Dungeon Ideas #81

Open
wants to merge 2,270 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2270 commits
Select commit Hold shift + click to select a range
8e16ee3
Um...yes...we were totally on 1.15.2
Andromander Feb 21, 2020
7809172
Sweepin' blocks again
Andromander Feb 21, 2020
ff56f58
Features again, featuring Tree Features
Andromander Feb 26, 2020
2d572c8
Most of BiomeProvider sweeped
Andromander Mar 2, 2020
0b5ae1d
Initial porting of Structure Pieces.
Andromander Mar 2, 2020
840c1a9
Some porting in Models
Andromander Mar 13, 2020
acc18dc
Models - super calls in constructors
Andromander Mar 14, 2020
b0003a5
Move setTextureOffset to correct places
Andromander Mar 14, 2020
02a0181
More cleanups in Models
Andromander Mar 14, 2020
62ddd51
Fix access clashes in entity renderers
Andromander Mar 14, 2020
507270e
Various porting in client classes
Andromander Mar 15, 2020
201f2c4
Some porting of entity renderers
Andromander Mar 16, 2020
57b257c
Renderer render in doubt
Andromander Mar 16, 2020
c79bb9a
Move certain Features into disabled
Andromander Mar 21, 2020
28feb19
More work on some Features, create Registry
Andromander Mar 21, 2020
48fe563
Port Biome decoration. Not 100% complete
Andromander Mar 21, 2020
3202721
Some GLStateManager -> RenderSystem refactors
Andromander Mar 21, 2020
7468a76
Also a part of decoration porting
Andromander Mar 21, 2020
b2882e2
Putting some Pieces together.
Andromander Mar 24, 2020
671e6eb
Move more things into disabled
Andromander Mar 24, 2020
ff72caf
Move entity rendering out of Proxy
Andromander Mar 24, 2020
644f337
What look like attempts at sweeping errors in general
Andromander Mar 24, 2020
29cc467
AT file with more active transforms
Andromander Mar 24, 2020
65ef7e3
A bit of an ugly swee in tree Features
Andromander Mar 30, 2020
53b6331
Every time I load this workspace up I actually want to cry. Fix some …
williewillus Apr 3, 2020
323d73d
Noobly changes (#868)
noobanidus Apr 3, 2020
a44f193
Just a whole bunch of changes because I died
Andromander Apr 4, 2020
8be12eb
Fat trimming
Andromander Apr 4, 2020
2bcb134
Add renderBrokenItemStack to AT file
Andromander Apr 4, 2020
fc5c541
More noobly (#872)
noobanidus Apr 7, 2020
a20cef4
Add Wood variants of our Logs
Andromander Apr 7, 2020
670776e
Use EntityType for Mob Spawners
Andromander Apr 7, 2020
ce14359
Quick and not-so-dirty sweep
Andromander Apr 7, 2020
7e370ad
Now there are Trees
Andromander Apr 10, 2020
cd3715f
Fix constructor and references to structure pieces
Andromander Apr 10, 2020
1d87340
Generating Features in Structures
Andromander Apr 10, 2020
0f512ee
Various other fixes
Andromander Apr 10, 2020
87a503e
Get Processors working
Andromander Apr 16, 2020
99c57bf
Fix Lever gen
Andromander Apr 16, 2020
8c2ace7
More writeStructureNBT to comment out
Andromander Apr 16, 2020
b2e722c
Some more fixes I am satisfied with
Andromander Apr 16, 2020
15081c0
LayerShields no longer errors
Tamaized Apr 16, 2020
bb6c8bb
look ma, the main mod class compiles
Tamaized Apr 16, 2020
7f789e6
AT prevVignetteBrightness
Andromander Apr 16, 2020
ad40c98
Hopefully this should cover particles now
Andromander Apr 16, 2020
d4c3839
Rip RuinEntry a new one. Fully ported decorator
Andromander Apr 21, 2020
1b77ec3
Introducing MushroomUtil
Andromander Apr 21, 2020
4d5d61d
Weeding out more rednering things
Andromander Apr 21, 2020
516b188
Making Stalactites more modern
Andromander Apr 21, 2020
cb04715
More things for structures
Andromander Apr 21, 2020
55100d5
Layers are weird and ugly
Andromander Apr 21, 2020
1c594f4
Throw more things at the wall
Andromander Apr 21, 2020
4e55aab
Transform more things
Andromander Apr 21, 2020
de76d81
Throw more stuff in the disabled bin
Andromander Apr 21, 2020
bb5d903
*Andro's goin' crazy here*
Andromander Apr 21, 2020
2ece240
Taking out the trash
Andromander Apr 26, 2020
c89c702
nope nope nope mope, so much nope
Andromander Apr 26, 2020
2359428
I tried
Andromander Apr 26, 2020
79d2b1a
Preliminary int -> DimensionType
Andromander Apr 26, 2020
06c967c
Newfangled registries
Andromander Apr 26, 2020
ce967dd
More ATs
Andromander Apr 26, 2020
6f61c33
New Tags
Andromander Apr 26, 2020
de35c5a
...aaaaaaaaAAAAAAGH
Andromander Apr 26, 2020
a5f110b
You, you need to go. Go...
Andromander Apr 28, 2020
7cad41a
How much more rendering can I fix?
Andromander Apr 28, 2020
daeeed9
Straight up torture...
Andromander Apr 28, 2020
bf6187c
Just some modifications here. Fixes a little
Andromander Apr 28, 2020
0e4a314
Bagu changes (#881)
baguchi May 16, 2020
7ea8deb
Out with you for now
Andromander May 16, 2020
bdd62a6
Throw E V E R Y T H I N G at the wall
Andromander May 16, 2020
2b67b97
Disabling these purely for convenience
Andromander May 21, 2020
c7e325c
The safer changes
Andromander May 21, 2020
32be005
chaos
Andromander May 21, 2020
501d110
Loot tables are already preloaded now
williewillus Apr 3, 2020
d8cfaf9
Brief pass
williewillus May 22, 2020
e9b5fe9
WoolUtil to COlorUtil
williewillus May 22, 2020
8b40620
Another pass
williewillus May 22, 2020
df89247
Another pass
williewillus May 22, 2020
9b2d881
'Fix' area protection entity
williewillus May 22, 2020
67adcc8
Fix quest ram
williewillus May 22, 2020
0e967db
Fix mosquito spawn check
williewillus May 22, 2020
3263e7d
yeet rendertfyeti
williewillus May 22, 2020
9eb3f15
Fix bad compare
williewillus May 22, 2020
41d6314
Fix chain and spike oops
williewillus May 22, 2020
de02a49
Fix maps
williewillus May 23, 2020
8e7ea8c
Discard basic loot tables from entities. Move to JSON
Andromander May 23, 2020
7103d58
Give spawn placements to most entities
Andromander May 23, 2020
08a6804
Fix incorrect check
Andromander May 23, 2020
f85f767
The closest fix for Magic Map item
Andromander May 23, 2020
7af50c0
Compiling and fix a bunch of issues causing startup crashes. more to go.
williewillus May 23, 2020
0b30faa
Call super fillStateContainer everywhere, more lifecycle stuff
williewillus May 23, 2020
15e4c61
Some biomes
williewillus May 23, 2020
c8c1963
Mute TFFeature causing null registry object crashes
Andromander May 23, 2020
81517d1
Move features and spawns out of biome ctors
Andromander May 23, 2020
12f02ad
Put required values into Biomes
Andromander May 24, 2020
7d2a436
Particle jsons
williewillus May 24, 2020
e5f75d0
Maytbe we should be calling these, hm?
williewillus May 24, 2020
9c59c19
Some entity renderers
williewillus May 24, 2020
76e536a
One more particle json
Andromander May 25, 2020
bd3d362
Maybe we should have these registries
Andromander May 25, 2020
1598b5a
disable createPom for now
Tamaized May 25, 2020
bb52331
Set up CI with Azure Pipelines
AtomicBlom May 25, 2020
9dc8ead
Update azure-pipelines.yml for Azure Pipelines
AtomicBlom May 25, 2020
1fd67a3
Merge pull request #884 from TeamTwilight/azure-pipelines
AtomicBlom May 25, 2020
90cd10c
Flatten Boss Spawners
Andromander May 26, 2020
2e9b748
Forgot the tile entities
Andromander May 26, 2020
4fcb3ba
On second thought, keep it together
Andromander May 26, 2020
402531c
Flatten trophies
Andromander May 26, 2020
44ca9ce
Stop modifying Item.Properties in constructors, pass them in fully-fo…
williewillus May 26, 2020
bbca3fd
Remove all bespoke getRarity overrides
williewillus May 26, 2020
fd23de0
Delete unneeded item base classes
williewillus May 26, 2020
e6ecfc9
Run lang2json
williewillus May 26, 2020
afb1e04
Clean up a ton of block props. Still more to do.
williewillus May 26, 2020
152fa31
Begin reinstating itemblocks, starting with the wood blocks
williewillus May 26, 2020
752aabd
Datagen planks and their slabs/stairs/buttons. more to come.
williewillus May 26, 2020
8078db4
Update forge
williewillus May 26, 2020
87bfa82
Generate wooden plate blockstates, fix button generation
williewillus May 26, 2020
9926ece
Add plate models
williewillus May 26, 2020
fd3a8e2
Data generate door blockstates, placeholder texture for trans door bl…
williewillus May 26, 2020
414e0d7
Generate trapdoor blockstates and models
williewillus May 26, 2020
b888d28
Datagenerate wooden fences
williewillus May 26, 2020
126137a
Generate wooden fence gates
williewillus May 26, 2020
7dc6697
Remove _0 from some models for easier item generation. Generate wood …
williewillus May 27, 2020
cf2d206
Generate majority of block and item tags
williewillus May 27, 2020
00134c7
Data generate wooden block loot
williewillus May 27, 2020
5d69e9e
Fix inadvertently removed slabs and stairs.json tags
williewillus May 27, 2020
52de101
Fix existing loot tables
williewillus May 27, 2020
21570ad
A little work on scepters
Andromander May 27, 2020
c9e60c3
Fix wands being breakable. I swear I fixed this before
williewillus May 27, 2020
d8663c9
partial block cleanup pass
williewillus May 27, 2020
3601e06
Checkpoint for adding back mundane logs and wood
williewillus May 27, 2020
95aeb6c
Rename textures/blocks to textures/block to match vanilla. Regen data.
williewillus May 27, 2020
1a5cdb7
Mundane logs woods and saplings fully back
williewillus May 27, 2020
20941f1
Restore magic logs, woods, saplings
williewillus May 27, 2020
af4d8f0
Create a location for rendertype lookups to be registered
williewillus May 27, 2020
0525633
Firefly jar
williewillus May 27, 2020
0a58b67
Mass rename blocks/ to block/ in models
williewillus May 27, 2020
8d0e1c7
The three ministructures, also fix color handlers not regisering
williewillus May 27, 2020
92c773a
Fix naga courtyard mini
williewillus May 27, 2020
0109917
Lang fixes, register commands earlier so functions work, start on leaves
williewillus May 27, 2020
862c600
Leaves, rainbow sapling. No leaf loot tables yet
williewillus May 28, 2020
4667c5f
Remove generated cache file and gitignore it
williewillus May 28, 2020
f7fc5bb
Massive regex-powered snake case fixes in lang files. Might be some f…
williewillus May 28, 2020
a088d44
Fix leafrune particle size
williewillus May 28, 2020
dda1989
Leaf loot tables
williewillus May 28, 2020
20dd505
Generate blockstates for twilight portal. Barrier looks a bit weird.
williewillus May 28, 2020
0c29b8b
Minor clean
williewillus May 28, 2020
afad5c3
Experiment 115 ported
williewillus May 29, 2020
2f953b6
Fix iron ladders (someone didn't know what clockwise is ;p)
williewillus May 29, 2020
5bb6314
Fix castle doors. Item jsons manually made for now since the builder …
williewillus May 29, 2020
e7200a5
Castle rune bricks
williewillus May 29, 2020
dc18a68
Storage blocks
williewillus May 29, 2020
41bed4f
Castle pillars
williewillus May 29, 2020
4a6f2aa
Castle stairs
williewillus May 29, 2020
c7d9580
Castle bricks, and stonecutting recipes to the stairs
williewillus May 30, 2020
70285e2
Minor cleanups, and fix bark blocks having too many blockstate proper…
williewillus May 30, 2020
5b18d15
Some Canopy tree-based fixes
Andromander May 30, 2020
b262413
Remove saplings from magic leaves loot tables
williewillus May 30, 2020
81f6447
Tower woods
williewillus May 30, 2020
786b94f
Clouds
williewillus May 30, 2020
d4cea1f
Fake gold and diamond
williewillus May 30, 2020
e8d75ad
Experiment 115 hitbox is now accurate to 1/4 the cake
williewillus May 30, 2020
cef1bcf
Fix a few places where wrong argument passed to sendBreakAnimation
williewillus May 30, 2020
ff7497a
Underbrick
williewillus May 30, 2020
0dfd3cd
TreeConfig-based tweaks
Andromander May 30, 2020
99ed9a9
Put scheduleTick back into Miner's Tree
Andromander May 30, 2020
d423079
Make branch setter use correct provider
Andromander May 30, 2020
5e4131f
Fix firefly renderer and critter placement logic. Other bugs coming soon
williewillus May 30, 2020
75fdec3
Fix all of cicada moonworm and firefly. Item form transforms need som…
williewillus May 31, 2020
47d893a
Remove critter hyperoptimization, as it was never tested properly and…
williewillus May 31, 2020
3b4284e
Cinder log/wood/furnace visuals restored
williewillus May 31, 2020
c75c726
Deadrock
williewillus May 31, 2020
bfeea6e
Fix escape sequences in lang files
williewillus May 31, 2020
a1db96a
Fix a bunch of advancements
williewillus May 31, 2020
42eb80e
Cleanups, terrorcotta
williewillus May 31, 2020
10844ce
Aurora blocks
williewillus May 31, 2020
035313f
Fix leaf particle not using factory. Make all particle constructors p…
williewillus Jun 1, 2020
dfdaf3c
huge stalk, uberous soil
williewillus Jun 1, 2020
9811282
Hedge
williewillus Jun 1, 2020
e5862c7
Thorn leaves, beanstalk leaves, thorn rose
williewillus Jun 1, 2020
aefca91
Maze stones
williewillus Jun 1, 2020
99d9cfa
Root and liveroot blocks
williewillus Jun 1, 2020
ba2ac66
Root and torchberry plants
williewillus Jun 1, 2020
8c1d80a
Fix custom arrows not spawning clientside, move ender bow logic to it…
williewillus Jun 1, 2020
909ccdf
Minor pass through items
williewillus Jun 1, 2020
a79260e
Magic log cores
williewillus Jun 5, 2020
214f3f4
Missed magic log core loot tables
williewillus Jun 5, 2020
db3a2f1
Remove tf's bespoke dead bush and grass blocks, which seem to have no…
williewillus Jun 5, 2020
ad262ef
Misc cleanup, rename torchberry plant so it doesn't clash with torchb…
williewillus Jun 5, 2020
92be5e4
Most of the plants fixed
williewillus Jun 5, 2020
452ac7d
All plants now render
williewillus Jun 5, 2020
2495282
Clean up the plant class finally
williewillus Jun 5, 2020
77b4272
Magic log cores should drop their corresponding magic log
williewillus Jun 5, 2020
7dddb2a
Flame jets and smokers, with big cleanup to flame jet TE's
williewillus Jun 5, 2020
de5ef69
Finish firejets and smokers
williewillus Jun 5, 2020
f1dcd2e
Don't special case clover_patch_0 since the item doesnt need it
williewillus Jun 5, 2020
e8fadbe
Stronghold shield
williewillus Jun 5, 2020
8c167ed
Stone twist and lapis block
williewillus Jun 5, 2020
3bc972c
Uncrafting container cleanups
williewillus Jun 5, 2020
128597e
uncraf table models
williewillus Jun 5, 2020
371a57c
Delete a bunch of stuff unused even in 1.12
williewillus Jun 5, 2020
80ef41a
Reintroduce JEI compat
williewillus Jun 5, 2020
0969771
Readd ctm, fix ctm texture references
williewillus Jun 5, 2020
897f5c3
Trophy pedestal
williewillus Jun 5, 2020
f0ee507
giant pick and sword. fix from 9f69bfc needs to be reimplmed
williewillus Jun 5, 2020
4751054
Add ctm loader type to several models
williewillus Jun 5, 2020
a8d0c88
Clean up giant block code
williewillus Jun 6, 2020
e7f115c
Fix ctm_version key
williewillus Jun 6, 2020
7777cab
Giant blocks done
williewillus Jun 6, 2020
17a5ac8
cleanup in features (remove a bunch of unnecessary paramterization in…
williewillus Jun 6, 2020
c50a734
Cleanups all around
williewillus Jun 6, 2020
255ceb4
worldgen related renames and cleanups
williewillus Jun 6, 2020
682c9a9
Lilypads and waterlily fixed
williewillus Jun 6, 2020
c4e75ae
Fully fix nagastone
williewillus Jun 6, 2020
a643e4e
Chain Stuff And Naga and another mob render (#885)
baguchi Jun 6, 2020
2135159
etched nagastone
williewillus Jun 7, 2020
7409834
nagastone pillars
williewillus Jun 7, 2020
794c09d
Nagastone stairs
williewillus Jun 7, 2020
1ba5be8
Large Mushglooms
williewillus Jun 7, 2020
7a09918
Trollsteinn
williewillus Jun 7, 2020
f4c3637
one (1) missed entity renderer register
Tamaized Jun 7, 2020
5492823
lets not spawn our minions inside the block
Tamaized Jun 7, 2020
8cdbd1a
partial progress on tower devices
williewillus Jun 7, 2020
3142ef6
Remove unused stair util models
williewillus Jun 7, 2020
d8e4519
Replace blocknagastonehead with blocktfhorizontal
williewillus Jun 7, 2020
3132139
builder, antibuilder, reactor working
williewillus Jun 7, 2020
fbfc3bc
Fixed and cleaned ghast traps
williewillus Jun 7, 2020
ad588b7
Unify all the reappearing/vanishing block logic. So much better.
williewillus Jun 7, 2020
a737af0
Finish tower devices
williewillus Jun 8, 2020
0f4b7b9
Fix 3rd person shield renderer
williewillus Jun 9, 2020
15fce28
Remove a ton of unneeded parametericity in the entity models and rend…
williewillus Jun 9, 2020
06d3f4f
Make entitytypes back into plain objects (no deferredregister). Resto…
williewillus Jun 9, 2020
0d99346
Fix minoshroom renderer
williewillus Jun 9, 2020
1e1e5ee
Fix quest ram render
williewillus Jun 9, 2020
1f11f3e
Modernize towergolem render copy, fix quest ram particle colors
williewillus Jun 9, 2020
4feb639
Fix snow guardian rendering
williewillus Jun 9, 2020
44f9a3b
Fix slime beetle rendering, add nonnull package-info for entities
williewillus Jun 9, 2020
cc82ad5
Deer no longer extend cows
williewillus Jun 9, 2020
611d26b
Fix clientside spawning of projectiles
williewillus Jun 9, 2020
15c285c
Cleanup sweep through entities
williewillus Jun 9, 2020
c714e47
Clean up a bunch of raw GL in entity renderers
williewillus Jun 9, 2020
027e854
Fix kobold held item rendering
williewillus Jun 9, 2020
94dd707
Entity pass
williewillus Jun 9, 2020
879cac9
Fix incorrect discarding of vector results
williewillus Jun 10, 2020
32e793a
Make explicit whether renderers have armor layers or not, and fix the…
williewillus Jun 10, 2020
0e83fe5
Pass over raw GL in entity models, fix ice mob transparency
williewillus Jun 10, 2020
3f45a2c
Cleanups in firefly particle
williewillus Jun 10, 2020
d909b31
Fix mobile firefly renderer by reimplementing it on top of particles.…
williewillus Jun 10, 2020
b5be421
Start trying to disentangle connectablerotatedpillar
williewillus Jun 10, 2020
11ddcbb
Fix thorns
williewillus Jun 11, 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.
52 changes: 23 additions & 29 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,26 @@
/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
local.gradle
settings.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
src/generated/resources/.cache/
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.
92 changes: 92 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Gradle
# Build your Java project and run tests with Gradle using a Gradle wrapper script.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java

pool:
vmImage: 'Ubuntu-latest'

variables:
revision: $[counter('release-number', 0)]

steps:
- powershell: |
(Get-Content ./gradle.properties).Split([Environment]::NewLine) | % {
$kvp = $_.Split('=')
if ($kvp.Count -gt 1) {
$key = $kvp[0] -replace "\.", "_";
$value = $kvp[1];
Write-Host "##vso[task.setvariable variable=javaprops_$key]$value"
}
}

- powershell: |
$var = (gci env:*).GetEnumerator() | Sort-Object Name
$out = ""
Foreach ($v in $var) {$out = $out + "`t{0,-28} = {1,-28}`n" -f $v.Name, $v.Value}

$fileName = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/variables.md"
write-output "dump variables on $fileName"

set-content $fileName $out

write-output "##vso[task.addattachment type=Distributedtask.Core.Summary;name=Environment Variables;]$fileName"
displayName: Dump Variables
condition: eq(variables['system.debug'], 'true')

- task: Gradle@2
inputs:
workingDirectory: ''
options: '-PCIRevision=$(javaprops_mod_version).$(revision) -PCIType=RELEASE'
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
testResultsFiles: '**/TEST-*.xml'
tasks: 'build'

- task: CopyFiles@2
inputs:
sourceFolder: './build/libs/'
contents: 'twilightforest-*-universal.jar'
targetFolder: $(build.artifactStagingDirectory)/release
condition: and(succeeded(), eq(variables['CreateArtifacts'], 'True'))

- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
tasks: 'clean'
condition: and(succeeded(), eq(variables['CreateArtifacts'], 'True'))

- task: Gradle@2
inputs:
workingDirectory: ''
options: '-PCIRevision=$(javaprops_mod_version).$(revision)-beta -PCIType=BETA'
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
testResultsFiles: '**/TEST-*.xml'
tasks: 'build'
condition: and(succeeded(), eq(variables['CreateArtifacts'], 'True'))

- task: CopyFiles@2
inputs:
sourceFolder: './build/libs/'
contents: 'twilightforest-*-beta-universal.jar'
targetFolder: $(build.artifactStagingDirectory)/beta
condition: and(succeeded(), eq(variables['CreateArtifacts'], 'True'))

- task: PublishBuildArtifacts@1
displayName: 'Publish Build Artifacts to VSTS'
condition: and(succeeded(), eq(variables['CreateArtifacts'], 'True'))
Loading