toreterror jump sounds (ported from beta6)
This commit is contained in:
1 parent
ee4f09c094
commit
9d34c45285
13 files changed
+40
No files matched your search
@@ -126,6 +126,8 @@ public final class AntarchySoundEvents {
|
||||
public static Supplier<SoundEvent> TORETERROR_HURT = (Supplier<SoundEvent>) UNBOUND;
|
||||
public static Supplier<SoundEvent> TORETERROR_DEATH = (Supplier<SoundEvent>) UNBOUND;
|
||||
public static Supplier<SoundEvent> TORETERROR_BOMBER_FIRE = (Supplier<SoundEvent>) UNBOUND;
|
||||
public static Supplier<SoundEvent> TORETERROR_JUMP_UP = (Supplier<SoundEvent>) UNBOUND;
|
||||
public static Supplier<SoundEvent> TORETERROR_JUMP_LAND = (Supplier<SoundEvent>) UNBOUND;
|
||||
public static Supplier<SoundEvent> STINKY_FLY = (Supplier<SoundEvent>) UNBOUND;
|
||||
public static Supplier<SoundEvent> CREEPING_HORROR_GROWL = (Supplier<SoundEvent>) UNBOUND;
|
||||
public static Supplier<SoundEvent> CREEPING_HORROR_HURT = (Supplier<SoundEvent>) UNBOUND;
|
||||
@@ -257,6 +259,8 @@ public final class AntarchySoundEvents {
|
||||
Supplier<SoundEvent> toreterrorHurt,
|
||||
Supplier<SoundEvent> toreterrorDeath,
|
||||
Supplier<SoundEvent> toreterrorBomberFire,
|
||||
Supplier<SoundEvent> toreterrorJumpUp,
|
||||
Supplier<SoundEvent> toreterrorJumpLand,
|
||||
Supplier<SoundEvent> stinkyFly,
|
||||
Supplier<SoundEvent> creepingHorrorGrowl,
|
||||
Supplier<SoundEvent> creepingHorrorHurt,
|
||||
@@ -384,6 +388,8 @@ public final class AntarchySoundEvents {
|
||||
TORETERROR_HURT = toreterrorHurt;
|
||||
TORETERROR_DEATH = toreterrorDeath;
|
||||
TORETERROR_BOMBER_FIRE = toreterrorBomberFire;
|
||||
TORETERROR_JUMP_UP = toreterrorJumpUp;
|
||||
TORETERROR_JUMP_LAND = toreterrorJumpLand;
|
||||
STINKY_FLY = stinkyFly;
|
||||
CREEPING_HORROR_GROWL = creepingHorrorGrowl;
|
||||
CREEPING_HORROR_HURT = creepingHorrorHurt;
|
||||
|
||||
@@ -453,6 +453,7 @@ public class ToreterrorEntity extends Monster implements GeoEntity {
|
||||
if (this.jumpLaunched && this.jumpAirborne && !this.shockwaveApplied) {
|
||||
if (this.onGround()) {
|
||||
this.shockwaveApplied = true;
|
||||
this.playSound(AntarchySoundEvents.TORETERROR_JUMP_LAND.get(), 1.2F, 0.9F + this.random.nextFloat() * 0.15F);
|
||||
this.applyJumpShockwave();
|
||||
this.jumpShakeTicks = JUMP_SHAKE_TICKS;
|
||||
this.entityData.set(JUMP_SHAKING, true);
|
||||
@@ -852,6 +853,7 @@ public class ToreterrorEntity extends Monster implements GeoEntity {
|
||||
ToreterrorEntity.this.jumpLaunched = false;
|
||||
ToreterrorEntity.this.jumpAirborne = false;
|
||||
ToreterrorEntity.this.shockwaveApplied = false;
|
||||
ToreterrorEntity.this.playSound(AntarchySoundEvents.TORETERROR_JUMP_UP.get(), 1.2F, 0.9F + ToreterrorEntity.this.random.nextFloat() * 0.15F);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user