fixed some stuff

This commit is contained in:
missingbinary
2021-12-12 17:27:02 -04:00
parent 721b9fffdc
commit 6da8038056
147 changed files with 5310 additions and 2905 deletions

View File

@@ -1,6 +1,11 @@
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;
@@ -8,14 +13,17 @@ 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 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!");
@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);
LOGGER.info("Hello from Aspects :D");
}
}

View File

@@ -11,6 +11,6 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
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!");
Aspects.LOGGER.info("Hello from Aspects! :D");
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 453 B

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "aspects:item/anemo_feather"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "aspects:item/hydro_kelp"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "aspects:item/pyro_fire"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1006 B

View File

@@ -0,0 +1,2 @@
playsound item.firecharge.use neutral @s
particle flame ~ ~ ~ 1 1 1 3 10

View File

@@ -1,3 +1,3 @@
particle minecraft:snowflake ~ ~ ~ 0 0 0 0.0 5 normal @a
particle minecraft:snowflake ~ ~ ~ 1 1 1 1 5 normal @a
fill ~1 ~-1 ~1 ~-1 ~-1 ~-1 minecraft:frosted_ice replace water[level=0]
playsound block.snow.place neutral @a ~ ~ ~ 5

View File

@@ -1,2 +1,2 @@
particle snowflake ~ ~ ~ 1 1 1 1 10 normal
particle snowflake ~ ~ ~ 3 3 3 5 10 normal
playsound block.glass.break neutral @a ~ ~ ~ 5

View File

@@ -0,0 +1,2 @@
particle electric_spark ~ ~ ~ 3 3 3 5 10 normal
playsound entity.lightning_bolt.thunder neutral @a ~ ~ ~ 5

View File

@@ -0,0 +1,2 @@
particle flame ~ ~ ~ 2 2 2 1 10 normal
playsound entity.blaze.shoot neutral @a ~ ~ ~ 5

View File

@@ -1,5 +1,5 @@
{
"order": 0,
"order": -1,
"origins": [
"aspects:anemo",
"aspects:hydro",

View File

@@ -1,5 +1,5 @@
{
"order": 1,
"order": 0,
"origins": [
{
"condition": {

View File

@@ -7,7 +7,7 @@
"aspects:wise"
],
"icon": {
"item": "minecraft:zombie_head"
"item": "aspects:anemo_feather"
},
"name": "Anemo",
"description": "Anemo users are light on their feet, freeform in combat and wanderers by nature."

View File

@@ -6,7 +6,7 @@
"aspects:cryo_secondary"
],
"icon": {
"item": "minecraft:zombie_head"
"item": "minecraft:snowball"
},
"name": "Cryo",
"description": "Cold, calculating and precise, Cryo types always get the job done."

View File

@@ -6,7 +6,7 @@
"aspects:waterborn"
],
"icon": {
"item": "minecraft:zombie_head"
"item": "aspects:hydro_kelp"
},
"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

@@ -6,7 +6,7 @@
"aspects:fire_strength"
],
"icon": {
"item": "minecraft:zombie_head"
"item": "minecraft:fire_charge"
},
"name": "Ignis",
"description": "Full of energy and power, Ignis types are certainly the life of the party."

View File

@@ -7,7 +7,7 @@
"aspects:flameborn"
],
"icon": {
"item": "minecraft:zombie_head"
"item": "aspects:pyro_fire"
},
"name": "Pyro",
"description": "fire go weeee"

View File

@@ -6,7 +6,7 @@
"aspects:tempus_secondary"
],
"icon": {
"item": "minecraft:zombie_head"
"item": "minecraft:amethyst_shard"
},
"name": "Tempus",
"description": "Dark minds crackling and churning, Tempus types always have a storm brewing in their heads."

View File

@@ -13,6 +13,11 @@
"tick_rate": 20,
"name":"Chained",
"description":"When you aren't exposed to the sky, you become slower in combat."
"description":"When you aren't exposed to the sky, you become slower in combat.",
"badges": [
{
"sprite": "aspects:textures/gui/badge/cross.png",
"text": "Negative"
}
]
}

View File

@@ -14,5 +14,11 @@
},
"cooldown": 20,
"name":"Evaporation",
"description":"Fire hurts you a lot more than it normally would."
"description":"Fire hurts you a lot more than it normally would.",
"badges": [
{
"sprite": "aspects:textures/gui/badge/cross.png",
"text": "Negative"
}
]
}

View File

@@ -3,7 +3,7 @@
"modifier": {
"attribute": "minecraft:generic.attack_damage",
"operation": "addition",
"value": 0.4
"value": 2
},
"tick_rate": 20,
"condition": {

View File

@@ -6,6 +6,12 @@
"operation": "addition"
},
"name":"Like Lightning",
"description":"You are an even faster variant of Anemo."
"description":"You are an even faster variant of Anemo.",
"badges": [
{
"sprite": "aspects:textures/gui/badge/check.png",
"text": "Positive"
}
]
}

View File

@@ -31,5 +31,11 @@
}
},
"name":"Frost Walker",
"description":"Water beneath you will turn into ice. Deactivates when you are falling, sneaking, or under the water."
"description":"Water beneath you will turn into ice. Deactivates when you are falling, sneaking, or under the water.",
"badges": [
{
"sprite": "aspects:textures/gui/badge/equal.png",
"text": "Neutral"
}
]
}

View File

@@ -1,15 +1,24 @@
{
"type": "origins:active_self",
"entity_action": {
"type":"origins:and",
"actions": [
{
"type": "origins:set_on_fire",
"duration": 15
},
{
"type":"origins:execute_command",
"command":"function aspects:fire_light"
}
],
"cooldown": 300,
"hud_render": {
"should_render": true,
"bar_index": 7,
"inverted":true
},
}
},
"name":"Ignition",
"description":"Using your primary active ability, you can light yourself on fire for a short duration, granting you an attack buff."

View File

@@ -1,6 +1,9 @@
{
"type": "origins:active_self",
"entity_action": {
"type":"origins:and",
"actions": [
{
"type": "origins:area_of_effect",
"radius": 10,
"bientity_action": {
@@ -13,8 +16,16 @@
"bientity_condition": {
"type": "origins:can_see"
}
},
{
"type":"origins:execute_command",
"command":"function aspects:ring_of_fire"
}
]
},
"key":"key.origins.secondary_active",
"cooldown": 1400,
"name":"As your secondary ability, you can light entites around you on fire for a few seconds."
"name":"Ring of Fire",
"description":"As your secondary ability, you can light entites around you on fire for a few seconds."
}

View File

@@ -288,5 +288,11 @@
}
},
"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."
"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.",
"badges": [
{
"sprite": "aspects:textures/gui/badge/equal.png",
"text": "Neutral"
}
]
}

View File

@@ -11,5 +11,11 @@
"predicate": "aspects:weather/is_thunderstorm"
},
"name":"Storm Strength",
"description":"During thunderstorms, you do significantly more damage to others."
"description":"During thunderstorms, you do significantly more damage to others.",
"badges": [
{
"sprite": "aspects:textures/gui/badge/check.png",
"text": "Positive"
}
]
}

View File

@@ -25,7 +25,7 @@
"hud_render": {
"should_render": true,
"sprite_location": "origins:textures/gui/resource_bar.png",
"bar_index":7,
"bar_index":2,
"inverted":true
},

View File

@@ -23,7 +23,7 @@
"radius": 10,
"bientity_action": {
"type": "origins:damage",
"amount": 10,
"amount": 5,
"source": {
"name": "lightningBolt",
"bypasses_armor": true
@@ -37,6 +37,10 @@
{
"type": "origins:heal",
"amount": 6
},
{
"type":"origins:execute_command",
"command":"function aspects:raging_gales"
}
]
},
@@ -44,10 +48,11 @@
"should_render": true,
"inverted":true,
"sprite_location": "origins:textures/gui/resource_bar.png",
"bar_index":8
"bar_index":3
},
"key":"key.origins.secondary_active",
"cooldown": 1400,
"name":"As your secondary ability, you can push enemies away by a few blocks whilst healing yourself and dealing damage to others."
"cooldown": 400,
"name":"Raging Gales",
"description":"As your secondary ability, you can push enemies away by a few blocks whilst healing yourself and dealing damage to others."
}

View File

@@ -26,5 +26,11 @@
]
},
"name":"Water Damage",
"description":"When you touch water, you receive damage."
"description":"When you touch water, you receive damage.",
"badges": [
{
"sprite": "aspects:textures/gui/badge/cross.png",
"text": "Negative"
}
]
}