-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
99 changed files
with
1,931 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,3 @@ | |
/saves | ||
Aspects.code-workspace | ||
.DS_Store | ||
/libs | ||
/remappedSrc |
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
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,35 @@ | ||
package net.fabricmc.fishplex; | ||
|
||
import net.fabricmc.api.ModInitializer; | ||
import net.fabricmc.fabric.api.item.v1.FabricItemSettings; | ||
import net.minecraft.item.Item; | ||
import net.minecraft.util.Identifier; | ||
import net.minecraft.util.registry.Registry; | ||
|
||
import org.apache.logging.log4j.LogManager; | ||
import org.apache.logging.log4j.Logger; | ||
|
||
public class Aspects implements ModInitializer { | ||
// This logger is used to write text to the console and the log file. | ||
// It is considered best practice to use your mod id as the logger's name. | ||
// That way, it's clear which mod wrote info, warnings, and errors. | ||
public static final Item ANEMO_FEATHER = new Item(new FabricItemSettings()); | ||
public static final Item PYRO_FIRE = new Item(new FabricItemSettings()); | ||
public static final Item HYDRO_KELP = new Item(new FabricItemSettings()); | ||
public static final Item GEO_DIAMOND = new Item(new FabricItemSettings()); | ||
public static final Item ORDO_STAR = new Item(new FabricItemSettings()); | ||
public static final Item PERDITIO_BONE = new Item(new FabricItemSettings()); | ||
public static final Logger LOGGER = LogManager.getLogger("aspects"); | ||
|
||
@Override | ||
public void onInitialize() { | ||
Registry.register(Registry.ITEM, new Identifier("aspects", "anemo_feather"), ANEMO_FEATHER); | ||
Registry.register(Registry.ITEM, new Identifier("aspects", "pyro_fire"), PYRO_FIRE); | ||
Registry.register(Registry.ITEM, new Identifier("aspects", "hydro_kelp"), HYDRO_KELP); | ||
Registry.register(Registry.ITEM, new Identifier("aspects", "geo_diamond"), GEO_DIAMOND); | ||
Registry.register(Registry.ITEM, new Identifier("aspects", "ordo_star"), ORDO_STAR); | ||
Registry.register(Registry.ITEM, new Identifier("aspects", "perditio_bone"), PERDITIO_BONE); | ||
LOGGER.info("Hello from Aspects :D"); | ||
|
||
} | ||
} |
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,16 @@ | ||
package net.fabricmc.fishplex.mixin; | ||
|
||
import net.fabricmc.fishplex.Aspects; | ||
import net.minecraft.client.gui.screen.TitleScreen; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.injection.At; | ||
import org.spongepowered.asm.mixin.injection.Inject; | ||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; | ||
|
||
@Mixin(TitleScreen.class) | ||
public class AspectsMixin { | ||
@Inject(at = @At("HEAD"), method = "init()V") | ||
private void init(CallbackInfo info) { | ||
Aspects.LOGGER.info("Hello from Aspects! :D"); | ||
} | ||
} |
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
12 changes: 6 additions & 6 deletions
12
src/main/resources/data/aspects/origin_layers/elements.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
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
16 changes: 16 additions & 0 deletions
16
src/main/resources/data/aspects/origins/anemo_layers/anemo.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,16 @@ | ||
{ | ||
"powers": [ | ||
"aspects:anemo/fleet_footed", | ||
"aspects:anemo/negate_fall_damage", | ||
"aspects:anemo/chained", | ||
"aspects:anemo/windborn", | ||
"aspects:anemo/wise", | ||
"aspects:start", | ||
"aspects:anemo/anemo_team" | ||
], | ||
"icon": { | ||
"item": "aspects:anemo_feather" | ||
}, | ||
"name": "§aAnemo", | ||
"description": "A lone wind whipped explorer sits perched on a cliff side, a thick book fit for an academic's mind in hand. There they sit, absently watching as the pages detailing the grand discoveries of generations comprised of scholars and adventurers flip from the movement of the wind." | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/resources/data/aspects/origins/anemo_layers/tempus.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,14 @@ | ||
{ | ||
"powers": [ | ||
"aspects:anemo/tempus/fleet", | ||
"aspects:anemo/tempus/storm_strength", | ||
"aspects:anemo/tempus/lightning_immunity", | ||
"aspects:anemo/tempus/tempus_primary", | ||
"aspects:anemo/tempus/tempus_secondary" | ||
], | ||
"icon": { | ||
"item": "minecraft:amethyst_shard" | ||
}, | ||
"name": "§5Tempus", | ||
"description": "Dark minds crackling and churning, Tempus types have always been misunderstood by the rest. Crowds gather and watch in horror as lightning explodes across the sky, thunder booming from above. The Tempus user stands unafraid at the top of the hill, watching as a storm approaches the horizon." | ||
} |
16 changes: 16 additions & 0 deletions
16
src/main/resources/data/aspects/origins/geo_layers/dendro.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,16 @@ | ||
{ | ||
"powers": [ | ||
"aspects:geo/dendro/flower_regen", | ||
"aspects:geo/dendro/poison_resistance", | ||
"aspects:geo/dendro/grass_speed", | ||
"aspects:geo/dendro/dendro_primary", | ||
"aspects:geo/dendro/dendro_secondary", | ||
"aspects:geo/dendro/golem_expire", | ||
"aspects:geo/dendro/golem_resource" | ||
], | ||
"icon": { | ||
"item": "minecraft:wheat_seeds" | ||
}, | ||
"name": "§2Dendro", | ||
"description": "Lovers of art, nature and all things beautiful, the Dendro people inhabit local forests. Every now and then, a brave adventurer will venture into the woods to witness their song." | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/resources/data/aspects/origins/geo_layers/geo.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,14 @@ | ||
{ | ||
"powers": [ | ||
"aspects:geo/resistance", | ||
"aspects:geo/explosion_damage", | ||
"aspects:geo/earthborn", | ||
"aspects:start", | ||
"aspects:geo/geo_team" | ||
], | ||
"icon": { | ||
"item": "aspects:geo_diamond" | ||
}, | ||
"name": "§eGeo", | ||
"description": "Tales are told of the rock-people who used to dwell deep below the land, feeding off ore and slate where they could. Creatures of massive size, the people of Geo are more than a legend." | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/resources/data/aspects/origins/hydro_layers/altum.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 @@ | ||
{ | ||
"powers": [ | ||
|
||
], | ||
"icon": { | ||
"item": "minecraft:snowball" | ||
}, | ||
"name": "§bAltum", | ||
"description": "Far from any source of illumination, darkly lit faces reflect off the spectral ocean's view. The deep sea shines in the eyes of the Altum." | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/resources/data/aspects/origins/hydro_layers/cryo.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,13 @@ | ||
{ | ||
"powers": [ | ||
"aspects:hydro/cryo/cold_biomes", | ||
"aspects:hydro/cryo/frost_walker", | ||
"aspects:hydro/cryo/cryo_primary", | ||
"aspects:hydro/cryo/cryo_secondary" | ||
], | ||
"icon": { | ||
"item": "minecraft:snowball" | ||
}, | ||
"name": "§bCryo", | ||
"description": "A lone traveller drags their heels across the frozen lake, their sole companion the red-collared friend trailing behind. Ever-persistent and unbothered by the shards of glass ripping at their skin, the Cryo users are said to be the most resilient of their Aspect." | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/resources/data/aspects/origins/hydro_layers/hydro.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,15 @@ | ||
{ | ||
"powers": [ | ||
"aspects:hydro/water_breathing", | ||
"aspects:hydro/constitution", | ||
"aspects:hydro/fire_damage", | ||
"aspects:hydro/waterborn", | ||
"aspects:hydro/hydro_team", | ||
"aspects:start" | ||
], | ||
"icon": { | ||
"item": "aspects:hydro_kelp" | ||
}, | ||
"name": "§9Hydro", | ||
"description": "The siren song of the ever-changing Hydro in the depths is echoed throughout deep and shallow waters, whispered to the unlucky sailor lost at sea." | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/resources/data/aspects/origins/ordo_layers/ordo.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,17 @@ | ||
{ | ||
"powers": [ | ||
"aspects:ordo/holy_light", | ||
"aspects:ordo/positive_influence", | ||
"aspects:ordo/darkness_damage", | ||
"aspects:ordo/night_aversion", | ||
"aspects:ordo/holy", | ||
"aspects:ordo/lightborn", | ||
"aspects:start", | ||
"aspects:ordo/ordo_team" | ||
], | ||
"icon": { | ||
"item": "aspects:ordo_star" | ||
}, | ||
"name": "Ordo", | ||
"description": "Tales of old speak of mages and paladins with healing properties and the power of light in their palms, besting their foes and aiding allies in need." | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/resources/data/aspects/origins/ordo_layers/solus.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,15 @@ | ||
{ | ||
"powers": [ | ||
"aspects:ordo/solus/fire_resistance", | ||
"aspects:ordo/solus/sunbaked", | ||
"aspects:ordo/solus/sun_bar", | ||
"aspects:ordo/solus/decay", | ||
"aspects:ordo/solus/solus_primary", | ||
"aspects:ordo/solus/solus_secondary" | ||
], | ||
"icon": { | ||
"item": "minecraft:sunflower" | ||
}, | ||
"name": "§6Solus", | ||
"description": "Sons, daughters and children of the bright solar divinity themselves, Solus users hold the power of the universe's light within them." | ||
} |
16 changes: 16 additions & 0 deletions
16
src/main/resources/data/aspects/origins/perditio_layers/luna.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,16 @@ | ||
{ | ||
"powers": [ | ||
"aspects:perditio/luna/full_moon", | ||
"aspects:perditio/luna/nightwalker", | ||
"aspects:perditio/luna/wolf_affinity", | ||
"aspects:perditio/luna/invisibility", | ||
"aspects:perditio/luna/wither_immunity", | ||
"aspects:perditio/luna/luna_primary", | ||
"aspects:perditio/luna/luna_secondary" | ||
], | ||
"icon": { | ||
"item": "minecraft:lily_of_the_valley" | ||
}, | ||
"name": "§7Luna", | ||
"description": "The Luna users are beings of such beauty that it is perceived by the magicless as the result of the blood of the otherworldly." | ||
} |
Oops, something went wrong.