Commit 172b1cc8 by Jonathan Thomas

Adding back in 1.20 build, and removing reference to getRotator

parent 7706dfa5
Pipeline #12877 passed with stages
in 1 minute 55 seconds
......@@ -20,9 +20,9 @@ build_mod:
- java -version
script:
- |
declare -a versions=("1.20.1" "1.20.2" "1.20.3" "1.20.4") #"1.20"
declare -a mappings=("1.20.1+build.10" "1.20.2+build.4" "1.20.3+build.1" "1.20.4+build.3") #"1.20+build.1"
declare -a fabric_versions=("0.92.1+1.20.1" "0.91.6+1.20.2" "0.91.1+1.20.3" "0.97.0+1.20.4") #"0.83.0+1.20"
declare -a versions=("1.20" "1.20.1" "1.20.2" "1.20.3" "1.20.4")
declare -a mappings=("1.20+build.1" "1.20.1+build.10" "1.20.2+build.4" "1.20.3+build.1" "1.20.4+build.3")
declare -a fabric_versions=("0.83.0+1.20" "0.92.1+1.20.1" "0.91.6+1.20.2" "0.91.1+1.20.3" "0.97.0+1.20.4")
for i in "${!versions[@]}"; do
minecraft_version="${versions[$i]}"
......
......@@ -18,7 +18,7 @@ public class LeadParticle extends SpriteBillboardParticle {
private final SpriteProvider spriteProvider;
public LeadParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, SpriteProvider spriteProvider, double angle) {
super(world, x, y, z, velocityX, velocityY, velocityZ);
super(world, x, y, z, 0, 0, 0);
this.velocityX = 0f;
this.velocityY = 0f;
this.velocityZ = 0f;
......@@ -41,12 +41,6 @@ public class LeadParticle extends SpriteBillboardParticle {
}
@Override
public Rotator getRotator() {
// Return null to avoid camera billboarding (fixed rotation based on angle)
return null;
}
@Override
public ParticleTextureSheet getType() {
return ParticleTextureSheet.PARTICLE_SHEET_TRANSLUCENT;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment