Initial commit

This commit is contained in:
missingbinary
2021-12-11 13:27:36 -04:00
commit 1a630355c9
571 changed files with 9411 additions and 0 deletions

BIN
src/main/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,21 @@
package net.fabricmc.fishplex;
import net.fabricmc.api.ModInitializer;
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 Logger LOGGER = LogManager.getLogger("aspects");
@Override
public void onInitialize() {
// This code runs as soon as Minecraft is in a mod-load-ready state.
// However, some things (like resources) may still be uninitialized.
// Proceed with mild caution.
LOGGER.info("Hello Fabric world!");
}
}

View File

@@ -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("This line is printed by an example mod mixin!");
}
}

BIN
src/main/resources/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,14 @@
{
"required": true,
"minVersion": "0.8",
"package": "net.fabricmc.example.mixin",
"compatibilityLevel": "JAVA_16",
"mixins": [
],
"client": [
"AspectsMixin"
],
"injectors": {
"defaultRequire": 1
}
}

BIN
src/main/resources/assets/.DS_Store vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

View File

@@ -0,0 +1,12 @@
{
"order": -1,
"origins": [
"aspects:anemo",
"aspects:hydro",
"aspects:geo",
"aspects:pyro",
"aspects:ordo",
"aspects:perditio"
],
"name": "Aspect"
}

View File

@@ -0,0 +1,48 @@
{
"order": 1,
"origins": [
{
"condition": {
"type": "origins:origin",
"origin": "aspects:pyro",
"layer": "aspects:elements"
},
"origins": [
"aspects:human",
"aspects:magmus",
"aspects:ignis",
"aspects:navitas"
]
},
{
"condition": {
"type": "origins:origin",
"origin": "aspects:hydro",
"layer": "aspects:elements"
},
"origins": [
"aspects:cryo",
"aspects:human",
"aspects:altum",
"aspects:aquatillis"
]
},
{
"condition": {
"type":"origins:origin",
"origin":"aspects:anemo",
"layer":"aspects:elements"
},
"origins": [
"aspects:human",
"aspects:tempus",
"aspects:avis",
"aspects:sophos",
"icarus:icarae"
]
}
],
"name": "Type",
"replace":true
}

View File

@@ -0,0 +1,13 @@
{
"powers": [
"aspects:fleet_footed",
"aspects:negate_fall_damage",
"aspects:chained",
"aspects:windborn"
],
"icon": {
"item": "minecraft:zombie_head"
},
"name": "Anemo",
"description": "Anemo users are light on their feet, freeform in combat and wanderers by nature."
}

View File

@@ -0,0 +1,13 @@
{
"powers": [
"aspects:cold_biomes",
"aspects:frost_walker",
"aspects:cryo_primary",
"aspects:cryo_secondary"
],
"icon": {
"item": "minecraft:zombie_head"
},
"name": "Cryo",
"description": "Cold, calculating and precise, Cryo types always get the job done."
}

View File

@@ -0,0 +1,13 @@
{
"powers": [
"aspects:water_breathing",
"aspects:constitution",
"aspects:fire_damage",
"aspects:waterborn"
],
"icon": {
"item": "minecraft:zombie_head"
},
"name": "Hydro",
"description": "Fluid and ever-changing, Hydro users are flexible and aware of the intent behind the actions of their enemies in order to better defy them."
}

View File

@@ -0,0 +1,18 @@
{
"type": "origins:conditioned_attribute",
"block_condition": {
"type": "origins:exposed_to_sky",
"inverted": "true"
},
"modifier":
{
"attribute": "minecraft:generic.attack_speed",
"operation": "addition",
"value": -1
},
"tick_rate": 20,
"name":"Chained",
"description":"When you aren't exposed to the sky, you become slower in combat."
}

View File

@@ -0,0 +1,19 @@
{
"type": "origins:conditioned_attribute",
"modifier": {
"attribute": "minecraft:generic.attack_damage",
"operation": "addition",
"value": 0.4
},
"tick_rate": 20,
"condition": {
"type": "origins:biome",
"condition": {
"type": "origins:temperature",
"comparison": "<=",
"compare_to": 0.05
}
},
"name":"Cold Affinity",
"description":"You get a decent attack boost in cold biomes. (N)ice ;)"
}

View File

@@ -0,0 +1,34 @@
{
"type": "origins:active_self",
"entity_action": {
"type": "origins:raycast",
"distance": 8,
"block": false,
"entity": true,
"shape_type": "visual",
"fluid_handling": "any",
"bientity_action": {
"type": "origins:target_action",
"action":{
"type":"origins:damage",
"amount": 6,
"source": {
"name": "freeze",
"bypasses_armor": false
}
}
},
"command_at_hit": "particle minecraft:snowflake ~ ~ ~ 0 0 0 0.0 1 normal @a",
"command_along_ray": "particle minecraft:snowflake",
"command_step": 1,
"command_along_ray_only_on_hit": false
},
"cooldown": 140,
"hud_render": {
"should_render": true
},
"name":"Freeze Focus",
"description":"This is your primary ability. When pressing the respective key, you will fire a ray of ice in the direction you are facing that will deal freeze damage to the target on impact."
}

View File

@@ -0,0 +1,16 @@
{
"type": "origins:attribute",
"modifier": {
"attribute": "minecraft:generic.movement_speed",
"value": 0.05,
"operation": "addition"
},
"name":"Fleet Footed",
"description":"You are quicker on your feet than others.",
"badges": [
{
"sprite": "aspects:textures/gui/badge/check.png",
"text": "Positive"
}
]
}

View File

@@ -0,0 +1,292 @@
{
"type": "origins:multiple",
"slowness_when_fall1": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 0,
"duration": 100
}
},
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "fall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 3.0
}
]
},
"cooldown": 20
},
"slowness_when_flyintowall1": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 0,
"duration": 100
}
},
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "flyIntoWall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 3.0
}
]
},
"cooldown": 20
},
"slowness_when_fall3": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 1,
"duration": 100
}
},
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "fall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 6.0
}
]
},
"cooldown": 20
},
"slowness_when_flyintowall3": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 1,
"duration": 100
}
},
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "flyIntoWall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 6.0
}
]
},
"cooldown": 20
},
"slowness_when_fall5": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 2,
"duration": 120
}
},
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "fall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 10.0
}
]
},
"cooldown": 20
},
"slowness_when_flyintowall5": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 2,
"duration": 120
}
},
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "flyIntoWall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 10.0
}
]
},
"cooldown": 20
},
"slowness_when_fall7": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 3,
"duration": 140
}
},
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "fall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 14.0
}
]
},
"cooldown": 20
},
"slowness_when_flyintowall7": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 3,
"duration": 140
}
},
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "flyIntoWall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 14.0
}
]
},
"cooldown": 20
},
"slowness_when_fall9": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 4,
"duration": 140
}
},
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "fall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 18.0
}
]
},
"cooldown": 20
},
"slowness_when_flyintowall9": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 4,
"duration": 140
}
},
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "flyIntoWall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 18.0
}
]
},
"cooldown": 20
},
"reduced_kinetic_damage": {
"type": "origins:modify_damage_taken",
"modifier": {
"name": "More kinetic damage taken",
"value": -0.85,
"operation": "multiply_base"
},
"damage_condition": {
"type": "origins:or",
"conditions": [
{
"type": "origins:name",
"name": "fall"
},
{
"type": "origins:name",
"name": "flyIntoWall"
}
]
}
},
"name":"Negate Falling",
"description":"You cannot take fall damage, but the more fall damage that is absorbed by the atmosphere, the more your movement speed will temporarily decrease."
}

View File

@@ -0,0 +1,6 @@
{
"type": "origins:particle",
"particle": "minecraft:bubble",
"frequency": 80,
"hidden":true
}

View File

@@ -0,0 +1,6 @@
{
"type": "origins:particle",
"particle": "minecraft:cloud",
"frequency": 80,
"hidden":true
}

View File

@@ -0,0 +1,38 @@
{
"schemaVersion": 1,
"id": "aspects",
"version": "${version}",
"name": "Aspects",
"description": "This is an example description! Tell everyone what your mod is about!",
"authors": [
"Fishplex"
],
"contact": {
"homepage": "https://fabricmc.net/",
"sources": "https://github.com/FabricMC/fabric-example-mod"
},
"license": "CC0-1.0",
"icon": "assets/modid/icon.png",
"environment": "*",
"entrypoints": {
"main": [
"net.fabricmc.fishplex.Aspects"
]
},
"mixins": [
"aspects.mixins.json"
],
"depends": {
"fabricloader": ">=0.11.3",
"fabric": "*",
"minecraft": "1.18.x",
"java": ">=17"
},
"suggests": {
"another-mod": "*"
}
}