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

Huge cleanup #16

Merged
merged 28 commits into from
Feb 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
b1291fe
add JOML to SGCraft
boubou19 Feb 22, 2024
26f196b
remove unused stuff
boubou19 Feb 22, 2024
79e95ff
BlockPos -> Vector3i
boubou19 Feb 22, 2024
0efb738
Merge branch 'master' of github.com:GTNewHorizons/SGCraft into master
boubou19 Feb 22, 2024
9809051
reduce Vector3 size
boubou19 Feb 23, 2024
0b24123
reduce Vector3 and Trans3 size even more
boubou19 Feb 23, 2024
ac29d5a
Matrix3 -> Matrix3d
boubou19 Feb 24, 2024
dd61607
Vector3 -> Vector3d
boubou19 Feb 24, 2024
d76363f
fix again the allocation spam
boubou19 Feb 24, 2024
b5d7604
sorting things in utils
boubou19 Feb 24, 2024
2ef5bb2
sorting things in tileentities
boubou19 Feb 24, 2024
02c8ed8
sorting things in blocks
boubou19 Feb 24, 2024
007557e
sorting things in renderers
boubou19 Feb 24, 2024
d43da84
sorting things in items
boubou19 Feb 24, 2024
3654abd
sorting things in compat
boubou19 Feb 24, 2024
b72cffd
sorting things in interfaces
boubou19 Feb 24, 2024
33d47e5
sorting things in guis
boubou19 Feb 24, 2024
bb7b5a9
sorting things in entities
boubou19 Feb 24, 2024
e3c537e
sorting things in packets
boubou19 Feb 24, 2024
17df7fa
sorting things in worldgen
boubou19 Feb 24, 2024
3d1f9cf
extract class and interfaces from BaseMod and BaseModClient
boubou19 Feb 24, 2024
7e17bc0
optimize imports
boubou19 Feb 24, 2024
b5fa2fd
spotless
boubou19 Feb 24, 2024
999a6f1
Breaking down BaseGui
boubou19 Feb 24, 2024
332e1b0
move more inner classes into their own class file
boubou19 Feb 24, 2024
588df8d
move even more inner classes
boubou19 Feb 24, 2024
c8ee6b4
delete BaseStringUtils
boubou19 Feb 24, 2024
e13a583
yeetus deletus
boubou19 Feb 24, 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
1 change: 1 addition & 0 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ dependencies {
compileOnly 'curse.maven:cofh-core-69162:2388751'
compileOnly('curse.maven:mystcraft-224599:2417044') {transitive = false}
compileOnly('curse.maven:computercraft-67504:2269339') {transitive = false}
api("com.github.GTNewHorizons:GTNHLib:0.2.4:dev")
}
252 changes: 0 additions & 252 deletions src/main/java/gcewing/sg/BaseBlockUtils.java

This file was deleted.

10 changes: 0 additions & 10 deletions src/main/java/gcewing/sg/BaseConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,6 @@ public double getDouble(String category, String key, double defaultValue) {
return get(category, key, defaultValue).getDouble(defaultValue);
}

public String getString(String category, String key, String defaultValue) {
return get(category, key, defaultValue).getString();
}

public String[] getStringList(String category, String key, String... defaultValueList) {
String defaultValue = BaseStringUtils.join(",", defaultValueList);
String value = getString(category, key, defaultValue);
return BaseStringUtils.split(",", value);
}

public int getVillager(String key) {
VillagerRegistry reg = VillagerRegistry.instance();
Property prop = get("villagers", key, -1);
Expand Down
Loading