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

compatibility with falsetweaks #116

Open
wants to merge 228 commits into
base: 1.7.10
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
397135f
Initial commit
Chicken-Bones Jul 16, 2013
0f32dd8
Initial Commit
Chicken-Bones Jul 16, 2013
3c5a61e
Fixed a few mapping bugs
Chicken-Bones Jul 17, 2013
9341031
Added LangUtil for localisations
Chicken-Bones Jul 18, 2013
a2d3051
Fix for fields maps without descriptors.
Chicken-Bones Jul 18, 2013
8518ed3
A little cleanup, added glColour to CCRenderState
Chicken-Bones Jul 21, 2013
fed626d
Added safeguard to WorldExtensionManager.saveWorld for when someone f…
Chicken-Bones Jul 22, 2013
a003f26
Refactored readUnsigned<x> to readU<x>
Chicken-Bones Jul 22, 2013
36e6c64
Fixed class heirachy evaluation getting confused with obfuscation.
Chicken-Bones Jul 23, 2013
d6f14e9
Optimised ClassHeirachyManager
Chicken-Bones Jul 29, 2013
16704eb
changed drawOutlinedBoundingBox to drawCuboidOutline accepting Cuboid6
Chicken-Bones Jul 30, 2013
57bcf38
Fixed uv mappings for some sides in CCModel.generateBlock
Chicken-Bones Jul 31, 2013
a1433ba
Added set function to Colour
Chicken-Bones Jul 31, 2013
15d0edc
Amend typo
Chicken-Bones Jul 31, 2013
b16ad21
Added RenderUtils.renderLiquidGauge
Chicken-Bones Aug 1, 2013
5184abc
Made alpha a power function of density for gases to produce better vi…
Chicken-Bones Aug 1, 2013
56776c8
Fix NPE in RayTracer when tracing a null block.
Chicken-Bones Aug 2, 2013
7f42cd9
Acquire NetClientHandler for packets sent before the Player and World…
Chicken-Bones Aug 4, 2013
4bd5aab
Fixed packet compression and splitting on TCP connections.
Chicken-Bones Aug 8, 2013
575ec57
Added apply methods to some common Vector containers
Chicken-Bones Aug 12, 2013
3d4e112
Refactored generateRotatedPart to apply
Chicken-Bones Aug 15, 2013
2636721
Added mask to CCModel.generateBlock
Chicken-Bones Aug 21, 2013
a580ca9
Add standard planar light model
Chicken-Bones Aug 23, 2013
9601c27
Add some TransformationList compacting.
Chicken-Bones Aug 23, 2013
0941845
Simplify MultiIconTransformation constructor with vaargs
Chicken-Bones Aug 27, 2013
5ef9f61
Add transformation compacting.
Chicken-Bones Aug 29, 2013
c545683
Added a few functions to BlockCoord
Chicken-Bones Sep 4, 2013
c67c731
Extend MOP for RayTracer depth sorting.
Chicken-Bones Sep 4, 2013
5c5384f
Update Forge Mappings.
Chicken-Bones Sep 4, 2013
ea51568
Improved transformation compacting.
Chicken-Bones Sep 5, 2013
6a29a24
Added easier backface generation.
Chicken-Bones Sep 8, 2013
f5bbe9d
Optimised render transformations.
Chicken-Bones Sep 10, 2013
d889cf9
Added some SideOnly annotations to LangUtil
Chicken-Bones Sep 18, 2013
cdb52bf
Update to 1.6.3
Chicken-Bones Sep 19, 2013
bd3234b
Added missing overload for CCModel.generateBlock
Chicken-Bones Sep 20, 2013
1b71ee5
1.6.4 Update
Chicken-Bones Sep 22, 2013
b105754
Remove all deprecated content
Chicken-Bones Sep 22, 2013
ab0713c
Added side function to Cuboid6
Chicken-Bones Oct 1, 2013
3b762d3
Added setSide function to Cuboid6
Chicken-Bones Oct 1, 2013
112c0ab
Wrapped fluid rendering with safeIcon method.
Chicken-Bones Oct 2, 2013
ddadd1f
Adds getter and setter for Dig FX particleScale
Soaryn Oct 12, 2013
a315c00
Merge pull request #3 from Soaryn/patch-1
Chicken-Bones Oct 13, 2013
a7637ca
Changed RayTracer.getCorrectedHeadVec to use a sneaking offset relati…
Chicken-Bones Oct 30, 2013
dd297d6
Fix RayTracer with non EntityPlayerMP instances on server worlds.
Chicken-Bones Oct 30, 2013
6233c2f
Accessors for particleMaxAge
Soaryn Oct 31, 2013
3e65888
Merge pull request #4 from Soaryn/patch-1
Chicken-Bones Nov 1, 2013
6992212
Made a small change to RayTracer to potentially add support for eye-h…
Chicken-Bones Nov 21, 2013
8a777b2
Add intersects method to Rectangle4i
Chicken-Bones Dec 11, 2013
9e6ac47
Added scala operator overloading to Vector3 and Transformation
Chicken-Bones Dec 17, 2013
16d43f2
Added a few more set methods to (Block/Cuboid)Coord
Chicken-Bones Dec 18, 2013
6a8a453
Added general inventory management classes
Chicken-Bones Dec 18, 2013
3d64337
Cleaned, refactored and documented inventory package
Chicken-Bones Dec 21, 2013
3c81313
Added temporary fix for issues with new mcp system.
Chicken-Bones Dec 21, 2013
ffc2843
Added some more utility to Cuboid/Rotation
Chicken-Bones Dec 21, 2013
eb6f5e5
Fix compile time compatibility with new and old forge
Chicken-Bones Dec 21, 2013
5401f3a
Improved ASMReader parsing. Can now handle method/field instructions …
Chicken-Bones Jan 8, 2014
477b77e
Added 9Seg Canvas
Chicken-Bones Jan 15, 2014
7450370
Added support for Qubicle Model files.
Chicken-Bones Jan 28, 2014
ae652f5
Added command line tool frontend.
Chicken-Bones Feb 3, 2014
eac0727
Strip obfuscated references in tool mode
Chicken-Bones Feb 3, 2014
e274d1c
Added a few methods to CuboidCoord
Chicken-Bones Feb 11, 2014
23b79b7
Added a more intuitive renderFluidQuad function with doc
Chicken-Bones Feb 13, 2014
34154fc
Add spin parameter to RenderUtils.renderItemUniform
Chicken-Bones Feb 23, 2014
ca675b5
Initial 1.7 commit
Chicken-Bones Apr 7, 2014
0a5aee8
Update version numbers
Chicken-Bones Apr 7, 2014
99865de
added gradle build script & other things needed to build
progwml6 Apr 7, 2014
4babca7
remove files from old build system, update version #, manifest now vi…
progwml6 Apr 7, 2014
f56ba57
Merge pull request #14 from progwml6/master
Chicken-Bones Apr 7, 2014
4699a9e
Add MCP mapper for ObfMapping in dev environments from a fields/metho…
Chicken-Bones Apr 7, 2014
91c65cf
Fixes access to TextureUtil.uploadTextureSub
Soaryn Apr 8, 2014
4e87c9b
make gradle play nice w/ files in the repo root
progwml6 Apr 8, 2014
d910584
Merge pull request #15 from progwml6/master
Chicken-Bones Apr 9, 2014
41997e1
Replace private minecraft accesses with alternatives until transforme…
Chicken-Bones Apr 9, 2014
2d9f409
Organised imports
Chicken-Bones Apr 9, 2014
12e3060
fix issue under linux
progwml6 Apr 9, 2014
c3dcc42
Merge pull request #16 from progwml6/master
Chicken-Bones Apr 9, 2014
32fa471
Fix compression crash
Chicken-Bones Apr 10, 2014
0a14b64
Cleaned up directory layout
Chicken-Bones Apr 10, 2014
52f8201
Upgraded ASM lib
Chicken-Bones Apr 28, 2014
1f03959
Fix ClassCircularityError with config package being used by asm package
Chicken-Bones Apr 29, 2014
66fd8ad
Reduce classloading remapping to minecraft classes. Everything else s…
Chicken-Bones Apr 29, 2014
47d7c66
Fix issue with double checking slots for fitting stacks in simulate mode
Chicken-Bones Apr 30, 2014
f9fea33
Fix encoding inconsistency with writeString between PacketCustom and …
Chicken-Bones May 8, 2014
408e45e
Bump patch version
Chicken-Bones May 8, 2014
215715f
Added full block model and planar light matrix
Chicken-Bones May 8, 2014
f115341
Remove unused import
Chicken-Bones May 8, 2014
8386a98
Fixed IndexOutOfBoundsException with CCRenderState.copyOf
Chicken-Bones May 23, 2014
6d19cc0
Fix colour not being set when a colour multiplier with white was added
Chicken-Bones Jun 14, 2014
66015a1
Added toString to BlockCoord
Chicken-Bones Jun 14, 2014
307ca81
Add meaningful exception text to CustomGradient when resource not found
Chicken-Bones Jun 14, 2014
5c54b18
Fix inconsistent use of var ints in fluid packets
Chicken-Bones Jun 14, 2014
3bde4ab
Remove broken render() function in CCModel, made CCRenderState.startD…
Chicken-Bones Jun 14, 2014
0529baa
Add setBaseColour function for clarity
Chicken-Bones Jun 14, 2014
29ef690
Fix loophole with model colour attribute in CCRenderState
Chicken-Bones Jun 14, 2014
97cb165
Consistency :L
Chicken-Bones Jun 14, 2014
09bf917
Seperate colour and lighting a bit. Made baking colours easier and th…
Chicken-Bones Jun 14, 2014
1680d74
Light attribute should not depend on colour
MrTJP Jun 15, 2014
bdb0c8f
Merge pull request #20 from MrTJP/patch-1
Chicken-Bones Jun 16, 2014
93b1e5d
1.7.10
Chicken-Bones Jun 27, 2014
ba15e4b
Added informative exception when attempting to register a channel usi…
Chicken-Bones Jun 29, 2014
e7c670b
Bound tooltips to screen properly
Chicken-Bones Jun 29, 2014
1846134
Fix crash with tool system when loading ASMHelper
Chicken-Bones Jul 2, 2014
f753dcd
Add log4j libs
Chicken-Bones Jul 2, 2014
23a58af
Fix isObfuscated check returning false on obf names as opposed to srg…
Chicken-Bones Jul 3, 2014
4b16ef2
Fix texture not found exceptions in console when using placeholder te…
Chicken-Bones Jul 9, 2014
9411dd0
Added SimpleBrightnessModel for rendering 'solid' blocks
Chicken-Bones Jul 11, 2014
0ba1132
Add parameterised mouse point rescaling helper for events
Chicken-Bones Jul 24, 2014
76a6c9e
Add lang proxy
Chicken-Bones Jul 27, 2014
3b081ed
Keep class references of config package within config so it can be us…
Chicken-Bones Aug 5, 2014
f50b326
Added lightmap push function to CCRenderState
Chicken-Bones Aug 15, 2014
71f3c55
Add mipmaps to animated TextureFX
Chicken-Bones Aug 15, 2014
3874441
Fixed anisotropic filtering with TextureFX
Chicken-Bones Aug 15, 2014
f9287f6
Replaced reflective invokation of private super method with copy of m…
Chicken-Bones Aug 18, 2014
645919d
Added FullBlock side masked render function
Chicken-Bones Aug 28, 2014
05d1e18
Set ItemStack in the IInventory again after modifiing
davboecki Oct 4, 2014
e570e12
Merge pull request #27 from davboecki/master
Chicken-Bones Oct 4, 2014
4a40b21
Update tool ASM to 5.0.3
Chicken-Bones Nov 6, 2014
feb8bfd
Workaround some mod interactions not calling the world load event bef…
Chicken-Bones Nov 6, 2014
29e4eda
Added IChunkLoadTile
Chicken-Bones Dec 17, 2014
ccc986f
Fix ConcurrentModificationException in tile chunk load hook
Chicken-Bones Dec 18, 2014
d92b0a6
Potentially breaking change to InventoryRange constructor
Chicken-Bones Jan 16, 2015
6b5404f
Add missing icon detection helper method
Chicken-Bones Jan 29, 2015
65a89cc
Fluid API update
Chicken-Bones Apr 17, 2015
16f0b50
Fix GuiDraw.getStringWidth with bold formatting
Chicken-Bones Apr 24, 2015
42b022a
Add fontRenderer parameter to drawMultilineTip
Chicken-Bones Apr 24, 2015
05bd26e
Moved ExtendedContainer code from CCC
Chicken-Bones May 29, 2015
e9f9253
Moved 1 file too many
Chicken-Bones May 29, 2015
2987b36
Fix for 1.7.10 with latest Forge versions.
planetguy32 Jul 15, 2015
cea80e2
Merge pull request #46 from planetguy32/1.7
Chicken-Bones Jul 15, 2015
0ac4906
Updated to unified build script
Nov 20, 2021
8fe333e
Fix gitignore
Nov 20, 2021
53ac3d0
Merge pull request #1 from SinTh0r4s/unified-build-script
Dream-Master Nov 20, 2021
81b0e9f
Move to unified build script
Nov 20, 2021
cae5e55
Tweak build script
Nov 20, 2021
dc24e54
Remove wrong build script
Nov 20, 2021
247a727
Fix mod loading
Nov 20, 2021
e2954ed
Add version replacement in second file
Nov 20, 2021
94630e0
Add missing core mod
Nov 21, 2021
263864a
Remove wrong logo entry
Nov 23, 2021
0e53357
Update buildscript and CI
Nov 30, 2021
19dc507
Update build script and CI
Nov 30, 2021
3c68c43
Merge pull request #1 from GTNewHorizons/update-build-script
boubou19 Nov 30, 2021
2b7476f
Merge pull request #2 from GTNewHorizons/update-build-script
boubou19 Nov 30, 2021
35e8b9a
this is not a mod but a lib
Glease Dec 3, 2021
8933d4c
why main class is now a coremod wtf
Glease Dec 3, 2021
220b7c5
buildscript
bombcar Dec 14, 2021
ec6541e
remove outdated dependencies.info and traceback on failed parse
bombcar Dec 14, 2021
878fdbe
Add back traceback
bombcar Dec 15, 2021
801b8aa
Merge pull request #2 from GTNewHorizons/nocheck
Dream-Master Dec 15, 2021
2e1fc1e
update buildscript
bombcar Dec 21, 2021
f9d8801
fixbuild
bombcar Dec 21, 2021
0d678ab
developer
bombcar Dec 22, 2021
23a1fd9
logger
bombcar Dec 23, 2021
1cca8bb
another System.out
bombcar Dec 23, 2021
55ccf76
Merge pull request #4 from GTNewHorizons/fixbuild
Dream-Master Dec 23, 2021
6ff7233
Merge pull request #3 from GTNewHorizons/fixbuild
Dream-Master Dec 23, 2021
bd177ae
add an early low memory error to GTNH
bombcar Jan 1, 2022
6aa549d
typo
bombcar Jan 1, 2022
3adeff1
update exit code
bombcar Jan 1, 2022
352301c
use GB instead of GiB
bombcar Jan 1, 2022
0fc1466
remove unused import
bombcar Jan 1, 2022
883d46d
Merge pull request #5 from GTNewHorizons/gtnhcheck
Dream-Master Jan 1, 2022
cfd00f3
maven publish buildscript update
mitchej123 Jan 18, 2022
9adf1b6
maven publish buildscript update
mitchej123 Jan 18, 2022
a37aeac
maven publish buildscript update
mitchej123 Jan 18, 2022
1ee3abf
update dependencies
mitchej123 Jan 18, 2022
5423d96
update build script (#4)
bombcar Feb 1, 2022
817438e
Remove MCVersion warning (#6)
bombcar Feb 11, 2022
cd994ec
Fix memory check default on (#7)
bombcar Feb 17, 2022
1908388
Does not dump asm by default
MuXiu1997 Apr 16, 2022
c84c687
Merge pull request #5 from GTNewHorizons/no-dump-asm
Dream-Master Apr 17, 2022
cef8a9c
[ci skip] Migrate github actions to GTNH-Actions-Workflows
mitchej123 Jul 16, 2022
fcd42c8
[ci skip] Migrate github actions to GTNH-Actions-Workflows
mitchej123 Jul 16, 2022
b8a70cb
Fix NPE
DrParadox7 Aug 30, 2022
2332745
Merge pull request #6 from DrParadox7/master
Dream-Master Aug 30, 2022
818b135
remove @InterfaceDependancyTransformer (#8)
Glease Aug 31, 2022
8d95bac
Update buildscript
eigenraven Jan 5, 2023
fa6fea6
Apply spotless
eigenraven Jan 5, 2023
9b42fa7
Merge pull request #7 from GTNewHorizons/buildscript
boubou19 Jan 5, 2023
acdf6d7
Update buildscript (#9)
eigenraven Jan 5, 2023
f6102d5
Add GradleStart-injected property for obf mapping discovery (for RFG …
eigenraven Jan 11, 2023
fabf2af
Merge pull request #8 from GTNewHorizons/rfg-mapping-path
Dream-Master Jan 12, 2023
318c107
[ci skip] Update buildscript to RetroFuturaGradle
eigenraven Jan 30, 2023
a4515fb
[ci skip] spotlessApply with the new settings
eigenraven Jan 30, 2023
d183e6d
[ci skip] Add git-blame-ignore-revs for spotlessApply
eigenraven Jan 30, 2023
777235b
Release with RFG
eigenraven Jan 30, 2023
de334d8
[ci skip] Fix addon.gradle for RFG
eigenraven Jan 30, 2023
b45ef72
[ci skip] Update buildscript to RetroFuturaGradle
eigenraven Jan 30, 2023
955a875
[ci skip] spotlessApply with the new settings
eigenraven Jan 30, 2023
331a5fc
[ci skip] Add git-blame-ignore-revs for spotlessApply
eigenraven Jan 30, 2023
b52d844
Release with RFG
eigenraven Jan 30, 2023
6273a1e
Use version substitution in CCC mod container
eigenraven Jan 30, 2023
2cf7226
Actually fix the broken version/modid this time
eigenraven Jan 30, 2023
83f5eac
[ci skip] upgraded build system
eigenraven Jan 31, 2023
f1034f6
[ci skip] upgraded build system
eigenraven Jan 31, 2023
1688308
Publish to CF & MN
mitchej123 Feb 3, 2023
fcb9063
Merge pull request #10 from GTNewHorizons/publish-cf-mn
mitchej123 Feb 3, 2023
cc15e4c
Add Curse/Modrinth projects (#10)
mitchej123 Feb 3, 2023
3145ccc
null check chunk extensions to not cause errors with chunk pregenerat…
unix-supremacist Feb 8, 2023
c841d48
updateBuildScript
miozune Nov 29, 2023
52d522f
Fix wildcard import & spotlessApply
miozune Nov 29, 2023
d6e2b94
Fix ItemStack packet id limited by short
miozune Nov 29, 2023
20b1e28
update BS and spotlessApply (#11)
bombcar Nov 29, 2023
e8dab57
Fix incomplete patch for item id packet (#13)
miozune Dec 1, 2023
1498344
Angelica Support - Static -> Instanced (#14)
mitchej123 Dec 24, 2023
dd1abf7
Angelica Compat
mitchej123 Dec 22, 2023
7b0ab21
[ci skip] upgraded build system
eigenraven Jan 8, 2024
8716800
[ci skip] upgraded build system
eigenraven Jan 8, 2024
c5b8594
update bs+gitignore
Dream-Master Jan 11, 2024
4e743ba
update bs
Dream-Master Jan 11, 2024
4686fe8
[ci skip] upgraded build system
eigenraven Feb 4, 2024
ce1830d
[ci skip] upgraded build system
eigenraven Feb 4, 2024
7f78ceb
Bye bye DepLoader
mitchej123 Jul 1, 2024
acf5b9a
Merge in CCL
mitchej123 Jul 3, 2024
183e658
merge CCL
mitchej123 Jul 3, 2024
3740253
Maybe more backwards compatible (#16)
mitchej123 Jul 1, 2024
cba2e0f
Fix casing
Caedis Jul 4, 2024
549f769
update
Dream-Master Jul 17, 2024
ea4f68d
Add map to provide fast access to all config tags in sub-tree (#18)
tth05 Jul 18, 2024
c9d29a5
fix logic of the ClassConstantPoolParser (#20)
Alexdoru Sep 1, 2024
0f37937
update
Dream-Master Sep 1, 2024
99b815c
Reduce RAM allocations during rendering (#22)
Alexdoru Oct 6, 2024
39ed660
update
Dream-Master Oct 6, 2024
162de44
Change ASM dump folder (#21)
Alexdoru Oct 6, 2024
7bf5935
add issue templates
serenibyss Nov 11, 2024
22dfc13
Allow colorful Tooltips (#24)
glowredman Nov 13, 2024
4e7eb37
use ZipFile instead of ZipInputStream in ClassDiscoverer (#25)
charagarlnad Dec 20, 2024
9d60016
update
Dream-Master Dec 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This is the universal Text Editor Configuration
# for all GTNewHorizons projects
# See: https://editorconfig.org/

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{bat,ini}]
end_of_line = crlf

[*.{dtd,json,info,mcmeta,md,sh,svg,xml,xsd,xsl,yaml,yml}]
indent_size = 2
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore spotlessApply reformat
955a875d42bd8f725d389ef8c4f571824f2ae0c8
44 changes: 44 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
* text eol=lf

*.[jJ][aA][rR] binary

*.[pP][nN][gG] binary
*.[jJ][pP][gG] binary
*.[jJ][pP][eE][gG] binary
*.[gG][iI][fF] binary
*.[tT][iI][fF] binary
*.[tT][iI][fF][fF] binary
*.[iI][cC][oO] binary
*.[sS][vV][gG] text
*.[eE][pP][sS] binary
*.[xX][cC][fF] binary

*.[kK][aA][rR] binary
*.[mM]4[aA] binary
*.[mM][iI][dD] binary
*.[mM][iI][dD][iI] binary
*.[mM][pP]3 binary
*.[oO][gG][gG] binary
*.[rR][aA] binary

*.7[zZ] binary
*.[gG][zZ] binary
*.[tT][aA][rR] binary
*.[tT][gG][zZ] binary
*.[zZ][iI][pP] binary

*.[tT][cC][nN] binary
*.[sS][oO] binary
*.[dD][lL][lL] binary
*.[dD][yY][lL][iI][bB] binary
*.[pP][sS][dD] binary
*.[tT][tT][fF] binary
*.[oO][tT][fF] binary

*.[pP][aA][tT][cC][hH] -text

*.[bB][aA][tT] text eol=crlf
*.[cC][mM][dD] text eol=crlf
*.[pP][sS]1 text eol=crlf

*[aA][uU][tT][oO][gG][eE][nN][eE][rR][aA][tT][eE][dD]* binary
62 changes: 62 additions & 0 deletions .github/ISSUE_TEMPLATE/000-report-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Report Bug
description: "Report a bug."
body:
- type: markdown
attributes:
value: "A bug/crash report with sufficient information and logs to reproduce and track down."
- type: input
id: discord
attributes:
label: Your GTNH Discord Username
description: Leave empty if you don't have one, but this will make it harder to contact you if we need additional info.
placeholder: "Example: Fake#1234"
- type: input
id: version
attributes:
label: Mod Version
description: "What version of the Mod are you using?"
placeholder: "Example: 1.0.0"
validations:
required: true
- type: textarea
id: report
attributes:
label: Bug Report
description: "Relevant information, as well as relevant logs attached such as `logs/fml-client-latest.log."
placeholder: "Example: https://mclo.gs/ OR submit the file to github by dragging it to this textbox."
validations:
required: true
- type: dropdown
id: java
attributes:
label: Java Version
description: What Java version are you using? It's worth mentioning that if you play on Java9+ you should try update to latest minor release (e.g. prefer Java 17.0.6 over 17.0.2) of that version.
options:
- Java 8
- Java 9
- Java 11
- Java 17
- Java 19
- Java 20
- Java 21
- Other (Please Specify)
validations:
required: true
- type: textarea
id: modlist
attributes:
label: Mod List or GTNH Pack Version
description: "List of mods, ideally a minimal reproducible set (can be retrieved from latest.log). If using GTNH please indicate pack version and any changed mods, not the entire modlist."
placeholder: "List of mods or GTNH Pack version goes here"
validations:
required: true
- type: checkboxes
id: final
attributes:
label: Final Checklist
description: Certify that you read things
options:
- label: "I have searched the issues and haven't found a similar issue."
required: true


28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/001-request-feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Feature Request
description: "Request a feature."
body:
- type: markdown
attributes:
value: "Please use this form to request features. We ask you check if it was already requested though"
- type: input
id: discord
attributes:
label: Your GTNH Discord Username
description: Leave empty if you don't have one, but this will make it harder to contact you if we need additional info.
placeholder: "Example: Wumpus#1234"
- type: textarea
id: request
attributes:
label: Feature Request
description: "Relevant information, as well as relevant images"
placeholder: "Example: https://mclo.gs/ OR submit the file to github by dragging it to this textbox."
validations:
required: true
- type: checkboxes
id: final
attributes:
label: Final Checklist
description: Certify that you read things
options:
- label: "I have searched the issues and haven't found a similar issue."
required: true
51 changes: 51 additions & 0 deletions .github/scripts/test_no_error_reports
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#!/usr/bin/env bash

# bashsupport disable=BP5006 # Global environment variables
RUNDIR="run" \
CRASH="crash-reports" \
SERVERLOG="server.log"

# enable nullglob to get 0 results when no match rather than the pattern
shopt -s nullglob

# store matches in array
crash_reports=("$RUNDIR/$CRASH/crash"*.txt)

# if array not empty there are crash_reports
if [ "${#crash_reports[@]}" -gt 0 ]; then
# get the latest crash_report from array
latest_crash_report="${crash_reports[-1]}"
{
printf 'Latest crash report detected %s:\n' "${latest_crash_report##*/}"
cat "$latest_crash_report"
} >&2
exit 1
fi

if grep --quiet --fixed-strings 'Fatal errors were detected' "$SERVERLOG"; then
{
printf 'Fatal errors detected:\n'
cat server.log
} >&2
exit 1
fi

if grep --quiet --fixed-strings 'The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED' \
"$SERVERLOG"; then
{
printf 'Server force stopped:'
cat server.log
} >&2
exit 1
fi

if ! grep --quiet --perl-regexp --only-matching '.+Done \(.+\)\! For help, type "help" or "\?"' "$SERVERLOG"; then
{
printf 'Server did not finish startup:'
cat server.log
} >&2
exit 1
fi

printf 'No crash reports detected'
exit 0
13 changes: 13 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

name: Build and test

on:
pull_request:
branches: [ master, main ]
push:
branches: [ master, main ]

jobs:
build-and-test:
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/build-and-test.yml@master
secrets: inherit
14 changes: 14 additions & 0 deletions .github/workflows/release-tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

name: Release tagged build

on:
push:
tags: [ '*' ]

permissions:
contents: write

jobs:
release-tags:
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/release-tags.yml@master
secrets: inherit
31 changes: 29 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,29 @@
/build/build
/build/.gradle
.gradle
.settings
/.idea/
/run/
/build/
/eclipse/
.classpath
.project
/bin/
/config/
/crash-reports/
/logs/
options.txt
/saves/
usernamecache.json
banned-ips.json
banned-players.json
eula.txt
ops.json
server.properties
servers.dat
usercache.json
whitelist.json
/out/
*.iml
*.ipr
*.iws
src/main/resources/mixins.*.json
*.bat
3 changes: 3 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Any Github changes require admin approval
/.github/** @GTNewHorizons/admin

8 changes: 8 additions & 0 deletions addon.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
minecraft {
if (replaceGradleTokenInFile) {
tagReplacementFiles.add "CodeChickenCorePlugin.java"
if(gradleTokenVersion) {
injectedTags.put gradleTokenVersion, versionDetails().lastTag
}
}
}
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
//version: 1707058017

plugins {
id 'com.gtnewhorizons.gtnhconvention'
}
Loading