-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65e5e70
commit 26c378d
Showing
122 changed files
with
578 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
src/main/java/net/zepalesque/redux/config/DataSerializableConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package net.zepalesque.redux.config; | ||
|
||
import com.google.gson.JsonSyntaxException; | ||
import net.neoforged.neoforge.common.ModConfigSpec; | ||
|
||
import java.util.Arrays; | ||
import java.util.List; | ||
|
||
public class DataSerializableConfig { | ||
|
||
protected final ModConfigSpec spec; | ||
|
||
public DataSerializableConfig(ModConfigSpec spec) { | ||
this.spec = spec; | ||
} | ||
|
||
public String serialize(ModConfigSpec.ConfigValue<Boolean> config) { | ||
try { | ||
return config.getPath().toString(); | ||
} catch (NullPointerException e) { | ||
throw new JsonSyntaxException("Error loading config entry from JSON! Maybe the config key is incorrect?"); | ||
} | ||
} | ||
|
||
public ModConfigSpec.ConfigValue<Boolean> deserialize(String string) { | ||
List<String> path = Arrays.asList(string.replace("[", "").replace("]", "").split(", ")); | ||
|
||
return this.spec().getValues().get(path); | ||
} | ||
|
||
public ModConfigSpec spec() { | ||
return spec; | ||
} | ||
} |
40 changes: 4 additions & 36 deletions
40
src/main/java/net/zepalesque/redux/config/ReduxConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+206 Bytes
src/main/resources/assets/aether_redux/textures/block/natural/aurum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+213 Bytes
src/main/resources/assets/aether_redux/textures/block/natural/aurum_overlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+251 Bytes
src/main/resources/assets/aether_redux/textures/block/natural/enchanted_aurum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+185 Bytes
...ces/assets/aether_redux/textures/block/natural/enchanted_golden_clover_stem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+253 Bytes
...resources/assets/aether_redux/textures/block/natural/enchanted_medium_grass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+218 Bytes
.../resources/assets/aether_redux/textures/block/natural/enchanted_short_grass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.15 KB
...in/resources/assets/aether_redux/textures/block/natural/enchanted_splitfern.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+263 Bytes
...n/resources/assets/aether_redux/textures/block/natural/enchanted_tall_grass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+246 Bytes
...resources/assets/aether_redux/textures/block/natural/enchanted_white_flower.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.15 KB
...main/resources/assets/aether_redux/textures/block/natural/enchanted_zyatrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions
38
...resources/packs/resource/tintable_grass/assets/aether/blockstates/aether_grass_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"variants": { | ||
"snowy=false": [ | ||
{ | ||
"model": "aether:block/aether_grass_block" | ||
}, | ||
{ | ||
"model": "aether:block/aether_grass_block", | ||
"y": 90 | ||
}, | ||
{ | ||
"model": "aether:block/aether_grass_block", | ||
"y": 180 | ||
}, | ||
{ | ||
"model": "aether:block/aether_grass_block", | ||
"y": 270 | ||
} | ||
], | ||
"snowy=true": [ | ||
{ | ||
"model": "aether:block/aether_grass_block_snow" | ||
}, | ||
{ | ||
"model": "aether:block/aether_grass_block_snow", | ||
"y": 90 | ||
}, | ||
{ | ||
"model": "aether:block/aether_grass_block_snow", | ||
"y": 180 | ||
}, | ||
{ | ||
"model": "aether:block/aether_grass_block_snow", | ||
"y": 270 | ||
} | ||
] | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...esources/packs/resource/tintable_grass/assets/aether/models/block/aether_grass_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"parent": "aether_redux:block/tinted_grass_block", | ||
"textures": { | ||
"bottom": "aether:block/natural/aether_dirt", | ||
"overlay": "aether_redux:block/natural/aether_grass_block_side_overlay", | ||
"particle": "aether:block/natural/aether_dirt", | ||
"side": "aether:block/natural/aether_grass_block_side", | ||
"top": "aether_redux:block/natural/aether_grass_block_top_overlay" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...ources/packs/resource/tintable_grass/assets/aether/models/block/potted_purple_flower.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "aether_redux:block/pot/flower_pot_tinted_overlay", | ||
"render_type": "minecraft:cutout", | ||
"textures": { | ||
"overlay": "aether_redux:block/natural/purple_flower_overlay", | ||
"plant": "aether_redux:block/natural/purple_flower" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...sources/packs/resource/tintable_grass/assets/aether/models/block/potted_white_flower.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "aether_redux:block/pot/flower_pot_tinted_overlay", | ||
"render_type": "minecraft:cutout", | ||
"textures": { | ||
"overlay": "aether_redux:block/natural/white_flower_overlay", | ||
"plant": "aether_redux:block/natural/white_flower" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...ain/resources/packs/resource/tintable_grass/assets/aether/models/block/purple_flower.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "aether_redux:block/cross/cross_tinted_overlay", | ||
"render_type": "minecraft:cutout", | ||
"textures": { | ||
"cross": "aether_redux:block/natural/purple_flower", | ||
"overlay": "aether_redux:block/natural/purple_flower_overlay" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...main/resources/packs/resource/tintable_grass/assets/aether/models/block/white_flower.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "aether_redux:block/cross/cross_tinted_overlay", | ||
"render_type": "minecraft:cutout", | ||
"textures": { | ||
"cross": "aether_redux:block/natural/white_flower", | ||
"overlay": "aether_redux:block/natural/white_flower_overlay" | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
.../resources/packs/resource/tintable_grass/assets/ancient_aether/blockstates/sky_grass.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"variants": { | ||
"type=normal,length=1": { | ||
"model": "ancient_aether:block/sky_grass_very_short" | ||
}, | ||
"type=normal,length=2": { | ||
"model": "ancient_aether:block/sky_grass_short" | ||
}, | ||
"type=normal,length=3": { | ||
"model": "ancient_aether:block/sky_grass_medium" | ||
}, | ||
"type=normal,length=4": { | ||
"model": "ancient_aether:block/sky_grass_tall" | ||
}, | ||
"type=normal,length=5": { | ||
"model": "ancient_aether:block/sky_grass_very_tall" | ||
}, | ||
"type=frozen,length=1": { | ||
"model": "ancient_aether:block/sky_grass_very_short" | ||
}, | ||
"type=frozen,length=2": { | ||
"model": "ancient_aether:block/sky_grass_short" | ||
}, | ||
"type=frozen,length=3": { | ||
"model": "ancient_aether:block/sky_grass_medium" | ||
}, | ||
"type=frozen,length=4": { | ||
"model": "ancient_aether:block/sky_grass_tall" | ||
}, | ||
"type=frozen,length=5": { | ||
"model": "ancient_aether:block/sky_grass_very_tall" | ||
}, | ||
"type=pale,length=1": { | ||
"model": "ancient_aether:block/sky_grass_very_short" | ||
}, | ||
"type=pale,length=2": { | ||
"model": "ancient_aether:block/sky_grass_short" | ||
}, | ||
"type=pale,length=3": { | ||
"model": "ancient_aether:block/sky_grass_medium" | ||
}, | ||
"type=pale,length=4": { | ||
"model": "ancient_aether:block/sky_grass_tall" | ||
}, | ||
"type=pale,length=5": { | ||
"model": "ancient_aether:block/sky_grass_very_tall" | ||
}, | ||
"type=enchanted,length=1": { | ||
"model": "ancient_aether:block/sky_grass_very_short_enchanted" | ||
}, | ||
"type=enchanted,length=2": { | ||
"model": "ancient_aether:block/sky_grass_short_enchanted" | ||
}, | ||
"type=enchanted,length=3": { | ||
"model": "ancient_aether:block/sky_grass_medium_enchanted" | ||
}, | ||
"type=enchanted,length=4": { | ||
"model": "ancient_aether:block/sky_grass_tall_enchanted" | ||
}, | ||
"type=enchanted,length=5": { | ||
"model": "ancient_aether:block/sky_grass_very_tall_enchanted" | ||
} | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
.../resources/packs/resource/tintable_grass/assets/ancient_aether/models/block/elevetia.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "aether_redux:block/cross/cross_tinted_overlay", | ||
"render_type": "minecraft:cutout", | ||
"textures": { | ||
"cross": "ancient_aether:block/elevetia", | ||
"overlay": "ancient_aether:block/elevetia_overlay" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...rces/packs/resource/tintable_grass/assets/ancient_aether/models/block/highland_viola.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "aether_redux:block/cross/cross_tinted_overlay", | ||
"render_type": "minecraft:cutout", | ||
"textures": { | ||
"cross": "ancient_aether:block/highland_viola", | ||
"overlay": "ancient_aether:block/highland_viola_overlay" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...ces/packs/resource/tintable_grass/assets/ancient_aether/models/block/potted_elevetia.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "aether_redux:block/pot/flower_pot_tinted_overlay", | ||
"render_type": "minecraft:cutout", | ||
"textures": { | ||
"overlay": "ancient_aether:block/elevatia_overlay", | ||
"plant": "ancient_aether:block/elevatia" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...cks/resource/tintable_grass/assets/ancient_aether/models/block/potted_highland_viola.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "aether_redux:block/pot/flower_pot_tinted_overlay", | ||
"render_type": "minecraft:cutout", | ||
"textures": { | ||
"overlay": "ancient_aether:block/highland_viola_overlay", | ||
"plant": "ancient_aether:block/highland_viola" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...ks/resource/tintable_grass/assets/ancient_aether/models/block/potted_sakura_blossoms.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "aether_redux:block/pot/flower_pot_tinted_overlay", | ||
"render_type": "minecraft:cutout", | ||
"textures": { | ||
"overlay": "ancient_aether:block/sakura_blossoms_overlay", | ||
"plant": "ancient_aether:block/sakura_blossoms" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...es/packs/resource/tintable_grass/assets/ancient_aether/models/block/potted_sky_blues.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "aether_redux:block/pot/flower_pot_tinted_overlay", | ||
"render_type": "minecraft:cutout", | ||
"textures": { | ||
"overlay": "ancient_aether:block/sky_blues_overlay", | ||
"plant": "ancient_aether:block/sky_blues" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
.../packs/resource/tintable_grass/assets/ancient_aether/models/block/potted_sunset_rose.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "aether_redux:block/pot/flower_pot_tinted_overlay", | ||
"render_type": "minecraft:cutout", | ||
"textures": { | ||
"overlay": "ancient_aether:block/sunset_rose_overlay", | ||
"plant": "ancient_aether:block/sunset_rose" | ||
} | ||
} |
Oops, something went wrong.