File tree Expand file tree Collapse file tree
src/main/java/me/emafire003/dev/particleanimationlib Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
2- id ' fabric-loom' version ' 1.10 -SNAPSHOT'
2+ id ' fabric-loom' version ' 1.12 -SNAPSHOT'
33 id ' maven-publish'
44}
55
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ org.gradle.parallel=true
44
55# Fabric Properties
66# check these on https://fabricmc.net/develop
7- minecraft_version =1.21.7
8- yarn_mappings =1.21.7 +build.1
9- loader_version =0.16.14
7+ minecraft_version =1.21.10
8+ yarn_mappings =1.21.10 +build.2
9+ loader_version =0.17.3
1010
1111# Mod Properties
12- mod_version =0.1.2+1.21.5
12+ mod_version =0.1.2+1.21.10
1313maven_group =me.emafire003.dev
1414archives_base_name =particleanimationlib
1515
1616# Dependencies
17- fabric_version =0.128.1 +1.21.7
17+ fabric_version =0.138.0 +1.21.10
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.14 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -145,14 +145,14 @@ public void updatePos(){
145145 this .originPos = entityOrigin .getEyePos ();
146146 return ;
147147 }
148- this .originPos = entityOrigin .getPos ();
148+ this .originPos = entityOrigin .getEntityPos ();
149149 return ;
150150 }
151151 if (useEyePosAsOrigin ){
152152 this .originPos = entityOrigin .getEyePos ().add (originOffset );
153153 return ;
154154 }
155- this .originPos = entityOrigin .getPos ().add (originOffset );
155+ this .originPos = entityOrigin .getEntityPos ().add (originOffset );
156156 }
157157 }
158158
@@ -201,7 +201,7 @@ public void run(){
201201 * You have access to the effect instance and the current tick
202202 * */
203203 public void run (EffectModifier modifier ){
204- if (this .world .isClient ){
204+ if (this .world .isClient () ){
205205 return ;
206206 }
207207
Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ public static final class Builder {
488488 private Entity entityOrigin ;
489489 private Vec3d originOffset ;
490490 private ServerWorld world ;
491- private ParticleEffect particle = ParticleTypes .DRAGON_BREATH ;
491+ private ParticleEffect particle = ParticleTypes .WHITE_SMOKE ;
492492 private EffectModifier executeOnStop ;
493493 /**
494494 * Growing per iteration in the length (0.05)
Original file line number Diff line number Diff line change @@ -47,14 +47,14 @@ public void updatePos(){
4747 this .targetPos = entityTarget .getEyePos ();
4848 return ;
4949 }
50- this .targetPos = entityTarget .getPos ();
50+ this .targetPos = entityTarget .getEntityPos ();
5151 return ;
5252 }
5353 if (useEyePosAsTarget ){
5454 this .targetPos = entityTarget .getEyePos ().add (targetOffset );
5555 return ;
5656 }
57- this .targetPos = entityTarget .getPos ().add (targetOffset );
57+ this .targetPos = entityTarget .getEntityPos ().add (targetOffset );
5858 }
5959 }
6060
You can’t perform that action at this time.
0 commit comments