From 6320f6df6767a7b896a14d9bf7d5d6e53d1d85a0 Mon Sep 17 00:00:00 2001 From: LZX <1820455493@qq.com> Date: Tue, 1 Sep 2026 17:47:05 +0800 Subject: [PATCH] v1.8.3 --- .../client/item/summon/ClientWhip.java | 122 ++++++++++++++++-- .../terraria/item/weapon/magic/ArcSurge.java | 6 +- .../item/weapon/summon/whip/Possession.java | 29 ++++- .../item/weapon/summon/whip/Whip.java | 19 ++- .../textures/vfx/possession_projectile0.png | Bin 674 -> 0 bytes .../textures/vfx/possession_projectile1.png | Bin 655 -> 0 bytes .../textures/vfx/possession_projectile2.png | Bin 657 -> 0 bytes .../vfx/possession_projectile_body.png | Bin 0 -> 1768 bytes .../vfx/possession_projectile_head0.png | Bin 0 -> 1649 bytes .../vfx/possession_projectile_head1.png | Bin 0 -> 364 bytes .../vfx/possession_projectile_head2.png | Bin 0 -> 367 bytes .../vfx/possession_projectile_tail.png | Bin 0 -> 1467 bytes .../lzxnoneterraria/recipe/arc_surge.json | 21 +++ 13 files changed, 179 insertions(+), 18 deletions(-) delete mode 100644 src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile0.png delete mode 100644 src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile1.png delete mode 100644 src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile2.png create mode 100644 src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_body.png create mode 100644 src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_head0.png create mode 100644 src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_head1.png create mode 100644 src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_head2.png create mode 100644 src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_tail.png create mode 100644 src/main/resources/data/lzxnoneterraria/recipe/arc_surge.json diff --git a/src/main/java/com/lzxnone/terraria/client/item/summon/ClientWhip.java b/src/main/java/com/lzxnone/terraria/client/item/summon/ClientWhip.java index 0b48498..fc38062 100644 --- a/src/main/java/com/lzxnone/terraria/client/item/summon/ClientWhip.java +++ b/src/main/java/com/lzxnone/terraria/client/item/summon/ClientWhip.java @@ -43,11 +43,69 @@ public class ClientWhip { double bend = customData.contains("bend") ? customData.getDouble("bend") : range * 0.25D; boolean reverse = customData.contains("reverse") && customData.getBoolean("reverse"); - if(!customData.contains("res") || customData.getString("res").isEmpty()) return; - ResourceLocation res = ResourceLocation.parse(customData.getString("res")); List points = computePoints(hand, dir, up, progress, range, height, bend, reverse, SEGMENTS); - renderRibbon(points, origin, right, res, poseStack, bufferSource); - renderRibbon(points, origin, up, res, poseStack, bufferSource);// + if(points.size() < 2) return; + + // 计算归一化累积弧长序列 + int n = points.size(); + double[] cumulativeDist = new double[n]; + double totalLength = 0.0D; + for(int i = 1; i < n; i++) { + totalLength += points.get(i).distanceTo(points.get(i - 1)); + cumulativeDist[i] = totalLength; + } + if(totalLength < 1.0E-5D) return; + + double[] normalizedDist = new double[n]; + for(int i = 0; i < n; i++) { + normalizedDist[i] = cumulativeDist[i] / totalLength; + } + + if(!customData.contains("tailRes") || !customData.contains("bodyRes") || !customData.contains("headRes")) return; + + String tailResStr = customData.getString("tailRes"); + String bodyResStr = customData.getString("bodyRes"); + String headResStr = customData.getString("headRes"); + if(tailResStr.isEmpty() || bodyResStr.isEmpty() || headResStr.isEmpty()) return; + + float tailRatio = customData.getFloat("tailRatio"); + float headRatio = customData.getFloat("headRatio"); + float bodyUnitRatio = customData.getFloat("bodyUnitRatio"); + + tailRatio = Mth.clamp(tailRatio, 0.0F, 0.9F); + headRatio = Mth.clamp(headRatio, 0.0F, 0.9F - tailRatio); + bodyUnitRatio = Math.max(0.001F, bodyUnitRatio); + + float bodyStart = tailRatio; + float bodyEnd = 1.0F - headRatio; + + ResourceLocation tailRes = ResourceLocation.parse(tailResStr); + ResourceLocation bodyRes = ResourceLocation.parse(bodyResStr); + ResourceLocation headRes = ResourceLocation.parse(headResStr); + + // 1. 渲染尾部 (Tail - 不拉伸,单张贴图完整映射) + if(tailRatio > 1.0E-4F) { + List tailPoints = extractSubPath(points, normalizedDist, 0.0F, tailRatio); + renderRibbonCross(tailPoints, origin, right, up, tailRes, 0.0F, 1.0F, poseStack, bufferSource); + } + + // 2. 渲染身体 (Body - Tiling 平铺渲染,按 bodyUnitRatio 单元循环平铺) + if(bodyEnd > bodyStart + 1.0E-4F) { + float cur = bodyStart; + while(cur < bodyEnd - 1.0E-5F) { + float next = Math.min(bodyEnd, cur + bodyUnitRatio); + float uMax = (next - cur) / bodyUnitRatio; + List bodyTilePoints = extractSubPath(points, normalizedDist, cur, next); + renderRibbonCross(bodyTilePoints, origin, right, up, bodyRes, 0.0F, uMax, poseStack, bufferSource); + cur = next; + } + } + + // 3. 渲染头部 (Head - 不拉伸,单张贴图完整映射) + if(headRatio > 1.0E-4F) { + List headPoints = extractSubPath(points, normalizedDist, bodyEnd, 1.0F); + renderRibbonCross(headPoints, origin, right, up, headRes, 0.0F, 1.0F, poseStack, bufferSource); + } } private static List computePoints(Vec3 hand, Vec3 dir, Vec3 up, float progress, double range, double height, double bend, boolean reverse, int segments) { @@ -81,18 +139,60 @@ public class ClientWhip { return hand.add(parallel.subtract(perpendicular)); } - private static void renderRibbon(List points, Vec3 origin, Vec3 widthDir, ResourceLocation res, PoseStack poseStack, MultiBufferSource bufferSource) { + private static List extractSubPath(List points, double[] s, float startS, float endS) { + List result = new ArrayList<>(); + if(points.size() < 2 || startS >= endS) return result; + + int n = points.size(); + for(int i = 0; i < n - 1; i++) { + double s0 = s[i]; + double s1 = s[i + 1]; + + if(s1 < startS - 1.0E-6) continue; + if(s0 > endS + 1.0E-6) break; + + Vec3 p0 = points.get(i); + Vec3 p1 = points.get(i + 1); + + // 若起点落在 (s0, s1] 之间,插值得到起点 + if(s0 < startS && startS <= s1) { + double t = (startS - s0) / (s1 - s0); + Vec3 startP = p0.lerp(p1, t); + result.add(startP); + } else if(s0 >= startS && result.isEmpty()) { + result.add(p0); + } + + // 若终点落在 [s0, s1) 之间,插值得到终点并结束 + if(s0 <= endS && endS < s1) { + double t = (endS - s0) / (s1 - s0); + Vec3 endP = p0.lerp(p1, t); + result.add(endP); + break; + } else if(s1 <= endS) { + result.add(p1); + } + } + return result; + } + + private static void renderRibbonCross(List points, Vec3 origin, Vec3 right, Vec3 up, ResourceLocation res, float uMin, float uMax, PoseStack poseStack, MultiBufferSource bufferSource) { + renderRibbon(points, origin, right, res, uMin, uMax, poseStack, bufferSource); + renderRibbon(points, origin, up, res, uMin, uMax, poseStack, bufferSource); + } + + private static void renderRibbon(List points, Vec3 origin, Vec3 widthDir, ResourceLocation res, float uMin, float uMax, PoseStack poseStack, MultiBufferSource bufferSource) { if(points.size() < 2) return; VertexConsumer consumer = bufferSource.getBuffer(ModRenderTypes.entityTranslucentEmissive(res)); Vec3 halfWidth = widthDir.normalize().scale(WIDTH * 0.5F); - double totalLength = 0.0D; + double subLength = 0.0D; double[] distances = new double[points.size()]; for(int i = 1; i < points.size(); i++) { - totalLength += points.get(i).distanceTo(points.get(i - 1)); - distances[i] = totalLength; + subLength += points.get(i).distanceTo(points.get(i - 1)); + distances[i] = subLength; } - if(totalLength < 1.0E-5D) return; + if(subLength < 1.0E-5D) return; for(int i = 0; i < points.size() - 1; i++) { Vec3 p0 = points.get(i); @@ -104,8 +204,8 @@ public class ClientWhip { Vec3 b = p0.subtract(halfWidth).subtract(origin); Vec3 c = p1.subtract(halfWidth).subtract(origin); Vec3 d = p1.add(halfWidth).subtract(origin); - float u0 = (float)(distances[i] / totalLength); - float u1 = (float)(distances[i + 1] / totalLength); + float u0 = uMin + (float)(distances[i] / subLength) * (uMax - uMin); + float u1 = uMin + (float)(distances[i + 1] / subLength) * (uMax - uMin); addVertex(consumer, poseStack, a, u0, 0.0F); addVertex(consumer, poseStack, b, u0, 1.0F); diff --git a/src/main/java/com/lzxnone/terraria/item/weapon/magic/ArcSurge.java b/src/main/java/com/lzxnone/terraria/item/weapon/magic/ArcSurge.java index d14c6ec..82f40b5 100644 --- a/src/main/java/com/lzxnone/terraria/item/weapon/magic/ArcSurge.java +++ b/src/main/java/com/lzxnone/terraria/item/weapon/magic/ArcSurge.java @@ -48,8 +48,8 @@ import java.util.function.Predicate; public class ArcSurge extends MagicWeapon { // 基础属性配置 - public static final ConfigFloat DAMAGE = new ConfigFloat("weapon.arc_surge.damage", "arc_surge_damage", 18.0F, 0.0F, 8388600.0F); - public static final ConfigDouble MANA_CONSUME = new ConfigDouble("weapon.arc_surge.mana_consume", "arc_surge_mana_consume", 12.0D, 0.0D, 10000.0D); + public static final ConfigFloat DAMAGE = new ConfigFloat("weapon.arc_surge.damage", "arc_surge_damage", 20.0F, 0.0F, 8388600.0F); + public static final ConfigDouble MANA_CONSUME = new ConfigDouble("weapon.arc_surge.mana_consume", "arc_surge_mana_consume", 18.0D, 0.0D, 10000.0D); // 索敌与电弧生成配置参数 public static final ConfigInt MAX_EXTRA_ARCS = new ConfigInt("weapon.arc_surge.max_extra_arcs", "arc_surge_max_extra_arcs", 2, 0, 100); @@ -109,7 +109,7 @@ public class ArcSurge extends MagicWeapon { Vec3 p1 = branch.get(i + 1); // 每条线段的中点都有 0.2 的概率生成一个红色的 dust 粒子 - if(summon.getRandom().nextFloat() < 0.2F) { + if(summon.getRandom().nextFloat() < 0.02F) { Vec3 mid = p0.add(p1).scale(0.5D); ParticleUtil.addParticles( serverLevel, diff --git a/src/main/java/com/lzxnone/terraria/item/weapon/summon/whip/Possession.java b/src/main/java/com/lzxnone/terraria/item/weapon/summon/whip/Possession.java index 0f69d5d..8c70d0d 100644 --- a/src/main/java/com/lzxnone/terraria/item/weapon/summon/whip/Possession.java +++ b/src/main/java/com/lzxnone/terraria/item/weapon/summon/whip/Possession.java @@ -60,8 +60,33 @@ public class Possession extends Whip { } @Override - protected String getRes(StaticSummon summon) { - return "lzxnoneterraria:textures/vfx/possession_projectile" + summon.getRandom().nextInt(3) + ".png"; + protected String getTailRes(StaticSummon summon) { + return "lzxnoneterraria:textures/vfx/possession_projectile_tail.png"; + } + + @Override + protected String getBodyRes(StaticSummon summon) { + return "lzxnoneterraria:textures/vfx/possession_projectile_body.png"; + } + + @Override + protected String getHeadRes(StaticSummon summon) { + return "lzxnoneterraria:textures/vfx/possession_projectile_head" + summon.getRandom().nextInt(3) + ".png"; + } + + @Override + protected float getTailRatio() { + return 0.05F; + } + + @Override + protected float getHeadRatio() { + return 0.075F; + } + + @Override + protected float getBodyUnitRatio() { + return 0.15F; } @Override diff --git a/src/main/java/com/lzxnone/terraria/item/weapon/summon/whip/Whip.java b/src/main/java/com/lzxnone/terraria/item/weapon/summon/whip/Whip.java index 2b5578f..8a5ed63 100644 --- a/src/main/java/com/lzxnone/terraria/item/weapon/summon/whip/Whip.java +++ b/src/main/java/com/lzxnone/terraria/item/weapon/summon/whip/Whip.java @@ -42,7 +42,17 @@ public abstract class Whip extends SummonWeapon { protected abstract double getRange(); - protected abstract String getRes(StaticSummon summon); + protected abstract String getTailRes(StaticSummon summon); + + protected abstract String getBodyRes(StaticSummon summon); + + protected abstract String getHeadRes(StaticSummon summon); + + protected abstract float getTailRatio(); + + protected abstract float getHeadRatio(); + + protected abstract float getBodyUnitRatio(); protected abstract float getDamage(); @@ -208,7 +218,12 @@ public abstract class Whip extends SummonWeapon { customData.putDouble("height", getHeight()); customData.putDouble("bend", getBend()); customData.putBoolean("reverse", summon.getRandom().nextInt(2) == 0); - customData.putString("res", getRes(summon)); + customData.putString("tailRes", getTailRes(summon)); + customData.putString("bodyRes", getBodyRes(summon)); + customData.putString("headRes", getHeadRes(summon)); + customData.putFloat("tailRatio", getTailRatio()); + customData.putFloat("headRatio", getHeadRatio()); + customData.putFloat("bodyUnitRatio", getBodyUnitRatio()); summon.getEntityData().set(StaticSummon.CUSTOM_DATA, customData); summon.setNoGravity(true); diff --git a/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile0.png b/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile0.png deleted file mode 100644 index 6b199dc64d8b2bef6d222c0e23514502e244746f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 674 zcmV;T0$u%yP)&=5>4@Y)|ii1rfYE%Xo= z9qX84hxO8>E)pF&W=1T2sb+ zF2lV2{oZ@C?=!!7Gmh)J2*+{Q4y5`{yOrmKhtF%8xShAr{LQlCPj(*TQCE4=a{rdG z(o>fPe#;8?pY04Zs5EYKQ(*hl%q##Ozpeo=akv41J(+VxTnb!(3k%8de!>gzkBTo{XU2=` zSKMCjkm)_?&tuW+|JxViI$Dzn7pfZ`n;Zd7{ z80~lS1)yx|o44-)IC`WFfbK)PjB$p2BlWvXy1cf}n{-z_0Hf1C0C;u$eBgXX5=#IS zeFLlYXXlCaci5tFUbGCipCz%$5fEsy{S+42CyxPGeKuyaD_%yZW+rp@0Jw4@1(b~r zGsw;lGgGKv87-EI%K*&HeFmUm|3PEivF4pX*+`jq&9CJeFDx$1SP|Fczkn0;#;4jE zW~hyfvkeqihhG5eS6=(r+?_rn-@apxeJC3JDX-T3b+tUj3wwTcyNLJ6{}6#D3)|>Y zT!`6r4Yg}`*f)aBev8;H#3o0;FHN=y`-)}rznQpIVv{4_Cr6Ga`%r%noB#j-07*qo IM6N<$f;Ztevj6}9 diff --git a/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile1.png b/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile1.png deleted file mode 100644 index 86abf22c7882a06f6e02eac8bb71580413fccae8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 655 zcmV;A0&x9_P)Ag)Jm`(G!{%O@Y;tUM0<(y7J3MT zj&;=Z^tA4qAq5T>};2OieL%zvl%-JRB58guFW zU50t*d7gKM`OP!$OpFF2Ie4M?`+okxvsgWOwdU8$o+yhuU|-Y|3}5Q0XpTs=w^bZp z_`C?fhi{tz%$;Zk;9&Z)5toD_z}1zXMtnyi4#2~f14iDR{s90+^3z7XP#qi96;E<6 zwq?FEIAZ>~!7^56wsyAwuspv~F}}063xKxPqsI8+vNxWZeG9;=Tjv27OZFLY8GqZe z@ezRR#clxRXTJk5lAH4a{H@|;awhG?4J+=Dw@DA2^Uq_|tH1WuxQ>oQya?6Jb_PdG zSszJFP5iNEE?m1=vG?dL-89;7jNi-Ufxyt$Z{7iL>SQMXeaH6$Q1p!(_f6Ds8FYQ~ zuy?|}O#n=P`USwtGgpA1r>f5V_&NXu-@Iz|>^xEaWUU(e1Xg+exn0KaqFA$h0 z18@7iTl0m*g_$Z`58h#7VdlypVH+(J7nV0P{v0U3<65U??+zOIna7WS;0ZbXzF^c- z-gei|)$$ZC?DMn7g)G%of!LA)(H@cdh^c002ovPDHLkV1gMnHNpS@ diff --git a/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile2.png b/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile2.png deleted file mode 100644 index 682f1594d15ecd9af070f72c510b1fe6c9b771b7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 657 zcmV;C0&e|@P)JeiWVg|I^;CAtB;Wq;uRL4ej#pBBJ$Q6*790N_8EQ3?|3;>yY5ddfI8{nHDqh+oP?dSH;WdQo)TI zQ`|xKQW!bwjbq)d|Mj!+KYFui2YzpOVsZ@BpSDa5Lo;rpJxxYyug=^o8gch3RlqlO zap^Sxr%v_(FnnykQD?$4QoqZjD_e)$fqN@z=EF|_UYxlUIG+3I4FGDMfl>ABJh6R+ ztsCu{Wq9MeBr!P#QaU%vJbSMbwjshcTyd(CEk6L@>Oc0BApa)VS|#_g=s^QYPN;_Hx}XEH22{Mv^@_X6jE{M(Z3YqlCTZ3On95P+XgM z25g^sony;)M~(c_^ptVG({E}@lfzK+UMys*b-_lxA5{GSjy3(bBT2wMSR=10|u rifcs@lVjkI+43*GZnX-D$uaN?eeEOY0Pl!g00000NkvXXu0mjfgkdLR diff --git a/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_body.png b/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_body.png new file mode 100644 index 0000000000000000000000000000000000000000..b951a64b759c848fb8da55b35b6f5b76b4fc3f11 GIT binary patch literal 1768 zcmbVN4@?zx96v%aF((z+AIG|mi6-5`}2r}nUV&5t9< zj4{bwu9tHw89@%1cv1EMQ#hbNG=eN!9#(jv3h1Z@R7yb>`?L%JMjpQ}TgN zaz$0JHoD3!M5_e5h%J8(T^42_K>+AH8V>k_8WU!*7%v0Y#%BUUV-UTH#TUuD4w)9Mxg!c7)&NbeRs~S71*(~4SfeocD&Tcl zb<47UDpDm=DxPPlwc)>Cfvy6%YIpff}wWim=+wz z6a_V%4+@~j$zsrElO&0Z*&>p5(njG{FD>GHUM|34GV(acv(kduLy~#k#C@kMR2z|< zx-b6E`>Rz6mKN{7ZyuxIjFezpk_LkniC4s0usOc+OK2<$7+x^4o5chptU$!#pQZcu zz$9(R2O#NxgnJUE$zDCgtH4nSy>-uYBB1hwQHPUu5dSnWc6LY2PQhU#FqVlH1UHE$ z27<72sjx*IeC@_I1W7tnP|4i%@!OAU7j>`{I70_k-*2m3l*;-=2>#Lv2a^i)Bj|jQvrH z%-@!eoEh^cUwirJyc6Re&q40bP4JB zfy~}rr#F$vEjQg%Jc_J-W%ry>+rw%y8BtPB9Bj+1>HUJbTtFpTJGVXXd|CT~n#R70 znFl`F`sGvmt~fGV+ihPrUqB9DzZg9=vSG#Xq|UKu(wTGT2~*Owfsy`-i24ZI){Q*W zweHrDZ+20$*Du<9v*V|wg{8Oq>QlUnR`h+Cow2{AkbbGA)_l4smZ~i}{XA z6-(MKUCmDWY$38XGAg#TjwqdF$rlF2@(J$Grr)?HdT!+B5W_#tT-noLdb%O=jomrR weptMT8=C08%@hyMZEkHJ#=q~`A*4^F(6{!u+l1yU<6l%%u*&)V3ma?y2Jr7_i2wiq literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_head0.png b/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_head0.png new file mode 100644 index 0000000000000000000000000000000000000000..3592eacfa1f3f8ab1f7af21ea146f22582832630 GIT binary patch literal 1649 zcmbVNe{9rL94`zPM25)F4BfO8CoItGYq#B9%g(Xw4(|*%m+j1sn814NyIt8`UunCw zw*V24DI_L?<>DZOh!Nu-#F-^T7%KijVl=lzO;BUpn16_IEQ4quL}%jb?d}3*N~Fo_ zd#~^FKHuNp9&T%Wp={Zc%Lsxf3kCh{c&@@@<#(E0H6r!*NW4rnK2J8-0wzd7QzY$FQZ)qIN9A}0ymme_6q$pVJwB?*5lBYE zZDb45A<4T~S^}V!^zbg;%>&Wv*+g=Ht7kwh1Kc#r3oIw#^ZY|$ak?BA+WlMe!tl;V zB}`Kj7{;J zV94*Iu+1(-kp*wPn~&9sfR6J#pkq>I0fgVgb-8=9ISM{B0Avi{3@xCxhxPw$;oaXB{^Y*GL`?VJg^7mX{`jr zr2i4_d6$`j5WHyzhtD71FO8Oee(@Fb797s(JhyjbijU@Emiw*-l3vdi&NL zVy@&HI5JkYrSXr_sk7VbDrc{s>f81BJF0gmy7cArmFP2vKC!>LIaI&--DZ32XF~f^ zAf~QQRlIsTJ##*7otbDIoSf_2IQjJ8wYFz3WQQiKY4vQ0Ht{1{={mWW_~GDs=~U+X zTfaX#c#WGL=s48%dZZtno?TPr*Q>7#S7(nMjz4x}=2-K-k=|XI3!k12jehJM`X#!y Zs$`Rr7(00M!xx>OLMYJc|Dd_+z~8cgE1m!V literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_head1.png b/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_head1.png new file mode 100644 index 0000000000000000000000000000000000000000..6dc60b11df46360290280746a76aad261e6a66c3 GIT binary patch literal 364 zcmV-y0h9iTP);00009a7bBm000XU z000XU0RWnu7ytkP9!W$&R5*>rl&?=hQ545Nmr=A*9s#!Z2hbUt8-u0>i#DNHtZWns zP@n-etJ7JeBAWq<8}lzP>IQ+Av|+pic6hsYdkCAm@0;#+e%$l9=bWpw*0@x{>1}|j z9TyD5-e{`+^8)(?of9VgYzBaIE(L&}&1itH*&NuP_^+98-@}i|tp=DcegL@6dxpcZ zH2`4oFjfFcnZW*icPr9owPpmkCwzTsY6!{h-U9%>&#nMy1VbPs6&;jM)(MUd0cd-t zhF#+H+Y$&#rKm-x>41pqgL zXCMwjIS8rjnRi**N^FzKo^BFbd4k7DOjEk6qfIP|`hlY4oNxuxQ*3D+l%`bx0000< KMNUMnLSTZ+OPGcL literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_head2.png b/src/main/resources/assets/lzxnoneterraria/textures/vfx/possession_projectile_head2.png new file mode 100644 index 0000000000000000000000000000000000000000..08e5fa35a71167ddf11d2ae9e6ca0d5127d96137 GIT binary patch literal 367 zcmV-#0g(QQP)zls!)ZK@f(YH8#@H90erz1MCfn36TygY_#*Eu(8G1 zKtm&)NJne5lUD7ZF(Li}OG%{QD(s+Ki*qnL+@0n6cALDjv(L=z7;7y)wBaQyU>dcu zgWP=?o2-D~c+c@~RqFsu&Mq_KbY;B}Z-%8J0EO*50AZm-M1rZ7A$)kAElb|HvB@pso1kAyl17iGY9!(;N!8BCY>sP<;{e8Z+ z`r*L?M-OP4cCfMRHDP`o#;Y&vhyR=V(Z?{om@J={n)cEmHTG%OzB!_4&;J>=HnI(W zg)k9WG!SiW4Wk6mnzpbwOeovpncn8zFm{c5zx-zCVc;6;^FH>ICEg2{M=3u$T5Yk> z7IOk)@r1rGBtQ`HjOxRvA4@WHjWI8QwK_(IK89plu2EA0^$mYbUlJ+T9jjn6jEj23 zv7EAlX|?jcZex2M;UdCiv*3_|P2hg|86YkVI;81+Fck(n*XU(gLJ%4Z2G*cxiL{Ff zj^iL~Bil9sValC2qeC;6b2A2yOO}R77K&I`jI=GbGuHrBCpJV$P8-XqpTJ{iNE1}B zu(D|k3|Nj!w$uJtc)$?v^N7cp1Z*M4COwe}*%MEo&aWR40KWD8T*hN{iK1MD%<7lG zjHyE&ixVmoELehJi^Q`RJ8DdjX1X-kOyEK+MTm36ypRrTZRVH}8oeCMGD z+@l$H4TxIV#EyvztwM#^C4!yzaFt*@f%+l{J3CK++K)mZX9Akhr-B1UIwFlI7#v2l z%TW?{4Lx@wSrUDbf?&|DIM%}VNh6jSjTvuvt^qb%VHgmHwK1!f0+Scp9n-Fq=1p3` zwppR2vW+V^uz6|r-VhvfDM73M&tc>2dhX9+=P$dK^gqBis|16rF59Q(o(Wx1O3#2$V;v4kvb?f15bI zd#Gk-aA*W-nYSR=Edg1qa*h(T%$jqKePIkx~nzUzgF|*^^;$!srFIx>P_p) z{co?{!kXOo^1>&7e|OV5x=X#|{FPl|ys>tx{@HC^yL;!Yx9|R1KdIVlqrU3>cxv;? EKUxdVG5`Po literal 0 HcmV?d00001 diff --git a/src/main/resources/data/lzxnoneterraria/recipe/arc_surge.json b/src/main/resources/data/lzxnoneterraria/recipe/arc_surge.json new file mode 100644 index 0000000..fe2e9f1 --- /dev/null +++ b/src/main/resources/data/lzxnoneterraria/recipe/arc_surge.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "combat", + "pattern": [ + "FDF", + "BAC", + "FEF" + ], + "key": { + "A": { "item": "minecraft:flow_armor_trim_smithing_template" }, + "B": { "item": "minecraft:waxed_oxidized_lightning_rod" }, + "C": { "item": "minecraft:weathered_lightning_rod" }, + "D": { "item": "minecraft:conduit" }, + "E": { "item": "minecraft:heavy_core" }, + "F": { "item": "minecraft:netherite_ingot" } + }, + "result": { + "id": "lzxnoneterraria:arc_surge", + "count": 1 + } +}