Skip to content

Commit

Permalink
Support Spell Engine 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsoltMolnarrr committed Jan 17, 2025
1 parent 421bf0f commit f1804ec
Show file tree
Hide file tree
Showing 23 changed files with 14 additions and 11 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fabric_api_version=0.102.0+1.21.1
# Mod
maven_group=net
archives_base_name=wizards
mod_version=2.2.5
mod_version=2.3.0
minecraft_compat_version=1.21

# Dependencies
Expand All @@ -22,8 +22,8 @@ tiny_config_version=2.3.2
runes_version=1.0.3+1.21.1
structure_pool_api_version=1.1.3+1.21.1

spell_engine_version=1.1.1+1.21.1
spell_power_version=1.0.5+1.21.1
spell_engine_version=1.4.0+1.21.1
spell_power_version=1.1.2+1.21.1
cloth_config_version=15.0.130
player_anim_version=2.0.0-alpha1+1.21
trinkets_version=3.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import net.minecraft.entity.LivingEntity;
import net.spell_engine.api.effect.CustomParticleStatusEffect;
import net.spell_engine.api.spell.ParticleBatch;
import net.spell_engine.api.spell.fx.ParticleBatch;
import net.spell_engine.particle.ParticleHelper;

public class FrozenParticles implements CustomParticleStatusEffect.Spawner {
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/wizards/client/effect/FrozenRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.render.RenderLayer;
import net.minecraft.client.render.VertexConsumerProvider;
import net.minecraft.client.texture.SpriteAtlasTexture;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.entity.LivingEntity;
import net.minecraft.util.Identifier;
import net.spell_engine.api.effect.CustomModelStatusEffect;
import net.spell_engine.api.effect.CustomParticleStatusEffect;
import net.spell_engine.api.render.CustomLayers;
import net.spell_engine.api.render.CustomModels;
import net.spell_engine.api.render.LightEmission;
import net.spell_engine.api.spell.ParticleBatch;
import net.spell_engine.particle.ParticleHelper;
import net.wizards.WizardsMod;

public class FrozenRenderer implements CustomModelStatusEffect.Renderer {
Expand Down
7 changes: 7 additions & 0 deletions src/main/resources/data/spell_engine/tags/spell/treasure.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"values": [
"#wizards:arcane",
"#wizards:fire",
"#wizards:frost"
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"spell_ids": [
"values": [
"wizards:arcane_missile",
"wizards:arcane_blast",
"wizards:arcane_beam",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"spell_ids": [
"values": [
"wizards:fire_blast",
"wizards:fire_breath",
"wizards:fire_meteor",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"spell_ids": [
"values": [
"wizards:frostbolt",
"wizards:frost_nova",
"wizards:frost_shield",
Expand Down

0 comments on commit f1804ec

Please sign in to comment.