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_HURT = (Supplier<SoundEvent>) UNBOUND;
|
||||||
public static Supplier<SoundEvent> TORETERROR_DEATH = (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_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> STINKY_FLY = (Supplier<SoundEvent>) UNBOUND;
|
||||||
public static Supplier<SoundEvent> CREEPING_HORROR_GROWL = (Supplier<SoundEvent>) UNBOUND;
|
public static Supplier<SoundEvent> CREEPING_HORROR_GROWL = (Supplier<SoundEvent>) UNBOUND;
|
||||||
public static Supplier<SoundEvent> CREEPING_HORROR_HURT = (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> toreterrorHurt,
|
||||||
Supplier<SoundEvent> toreterrorDeath,
|
Supplier<SoundEvent> toreterrorDeath,
|
||||||
Supplier<SoundEvent> toreterrorBomberFire,
|
Supplier<SoundEvent> toreterrorBomberFire,
|
||||||
|
Supplier<SoundEvent> toreterrorJumpUp,
|
||||||
|
Supplier<SoundEvent> toreterrorJumpLand,
|
||||||
Supplier<SoundEvent> stinkyFly,
|
Supplier<SoundEvent> stinkyFly,
|
||||||
Supplier<SoundEvent> creepingHorrorGrowl,
|
Supplier<SoundEvent> creepingHorrorGrowl,
|
||||||
Supplier<SoundEvent> creepingHorrorHurt,
|
Supplier<SoundEvent> creepingHorrorHurt,
|
||||||
@@ -384,6 +388,8 @@ public final class AntarchySoundEvents {
|
|||||||
TORETERROR_HURT = toreterrorHurt;
|
TORETERROR_HURT = toreterrorHurt;
|
||||||
TORETERROR_DEATH = toreterrorDeath;
|
TORETERROR_DEATH = toreterrorDeath;
|
||||||
TORETERROR_BOMBER_FIRE = toreterrorBomberFire;
|
TORETERROR_BOMBER_FIRE = toreterrorBomberFire;
|
||||||
|
TORETERROR_JUMP_UP = toreterrorJumpUp;
|
||||||
|
TORETERROR_JUMP_LAND = toreterrorJumpLand;
|
||||||
STINKY_FLY = stinkyFly;
|
STINKY_FLY = stinkyFly;
|
||||||
CREEPING_HORROR_GROWL = creepingHorrorGrowl;
|
CREEPING_HORROR_GROWL = creepingHorrorGrowl;
|
||||||
CREEPING_HORROR_HURT = creepingHorrorHurt;
|
CREEPING_HORROR_HURT = creepingHorrorHurt;
|
||||||
|
|||||||
@@ -453,6 +453,7 @@ public class ToreterrorEntity extends Monster implements GeoEntity {
|
|||||||
if (this.jumpLaunched && this.jumpAirborne && !this.shockwaveApplied) {
|
if (this.jumpLaunched && this.jumpAirborne && !this.shockwaveApplied) {
|
||||||
if (this.onGround()) {
|
if (this.onGround()) {
|
||||||
this.shockwaveApplied = true;
|
this.shockwaveApplied = true;
|
||||||
|
this.playSound(AntarchySoundEvents.TORETERROR_JUMP_LAND.get(), 1.2F, 0.9F + this.random.nextFloat() * 0.15F);
|
||||||
this.applyJumpShockwave();
|
this.applyJumpShockwave();
|
||||||
this.jumpShakeTicks = JUMP_SHAKE_TICKS;
|
this.jumpShakeTicks = JUMP_SHAKE_TICKS;
|
||||||
this.entityData.set(JUMP_SHAKING, true);
|
this.entityData.set(JUMP_SHAKING, true);
|
||||||
@@ -852,6 +853,7 @@ public class ToreterrorEntity extends Monster implements GeoEntity {
|
|||||||
ToreterrorEntity.this.jumpLaunched = false;
|
ToreterrorEntity.this.jumpLaunched = false;
|
||||||
ToreterrorEntity.this.jumpAirborne = false;
|
ToreterrorEntity.this.jumpAirborne = false;
|
||||||
ToreterrorEntity.this.shockwaveApplied = false;
|
ToreterrorEntity.this.shockwaveApplied = false;
|
||||||
|
ToreterrorEntity.this.playSound(AntarchySoundEvents.TORETERROR_JUMP_UP.get(), 1.2F, 0.9F + ToreterrorEntity.this.random.nextFloat() * 0.15F);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -661,6 +661,8 @@
|
|||||||
"subtitles.antarchy.toreterror_hurt": "Toreterror hurts",
|
"subtitles.antarchy.toreterror_hurt": "Toreterror hurts",
|
||||||
"subtitles.antarchy.toreterror_death": "Toreterror dies",
|
"subtitles.antarchy.toreterror_death": "Toreterror dies",
|
||||||
"subtitles.antarchy.toreterror_bomber_fire": "Toreterror launches bombers",
|
"subtitles.antarchy.toreterror_bomber_fire": "Toreterror launches bombers",
|
||||||
|
"subtitles.antarchy.toreterror_jump_up": "Toreterror jumps",
|
||||||
|
"subtitles.antarchy.toreterror_jump_land": "Toreterror lands",
|
||||||
"subtitles.antarchy.creeping_horror_growl": "Creeping Horror growls",
|
"subtitles.antarchy.creeping_horror_growl": "Creeping Horror growls",
|
||||||
"subtitles.antarchy.creeping_horror_hurt": "Creeping Horror hurts",
|
"subtitles.antarchy.creeping_horror_hurt": "Creeping Horror hurts",
|
||||||
"subtitles.antarchy.creeping_horror_bite": "Creeping Horror bites",
|
"subtitles.antarchy.creeping_horror_bite": "Creeping Horror bites",
|
||||||
|
|||||||
@@ -513,6 +513,28 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"toreterror_jump_up": {
|
||||||
|
"subtitle": "subtitles.antarchy.toreterror_jump_up",
|
||||||
|
"sounds": [
|
||||||
|
{
|
||||||
|
"name": "antarchy:mob/toreterror/jump_up1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "antarchy:mob/toreterror/jump_up2"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"toreterror_jump_land": {
|
||||||
|
"subtitle": "subtitles.antarchy.toreterror_jump_land",
|
||||||
|
"sounds": [
|
||||||
|
{
|
||||||
|
"name": "antarchy:mob/toreterror/jump_land1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "antarchy:mob/toreterror/jump_land2"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"creeping_horror_growl": {
|
"creeping_horror_growl": {
|
||||||
"subtitle": "subtitles.antarchy.creeping_horror_growl",
|
"subtitle": "subtitles.antarchy.creeping_horror_growl",
|
||||||
"sounds": [
|
"sounds": [
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -401,6 +401,8 @@ public final class AntarchyFabricContent {
|
|||||||
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_HURT = registerSoundEvent("toreterror_hurt");
|
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_HURT = registerSoundEvent("toreterror_hurt");
|
||||||
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_DEATH = registerSoundEvent("toreterror_death");
|
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_DEATH = registerSoundEvent("toreterror_death");
|
||||||
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_BOMBER_FIRE = registerSoundEvent("toreterror_bomber_fire");
|
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_BOMBER_FIRE = registerSoundEvent("toreterror_bomber_fire");
|
||||||
|
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_JUMP_UP = registerSoundEvent("toreterror_jump_up");
|
||||||
|
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_JUMP_LAND = registerSoundEvent("toreterror_jump_land");
|
||||||
public static final DeferredHolder<SoundEvent, SoundEvent> STINKY_FLY_SOUND = registerSoundEvent("stinky_fly");
|
public static final DeferredHolder<SoundEvent, SoundEvent> STINKY_FLY_SOUND = registerSoundEvent("stinky_fly");
|
||||||
public static final DeferredHolder<SoundEvent, SoundEvent> CREEPING_HORROR_GROWL = registerSoundEvent("creeping_horror_growl");
|
public static final DeferredHolder<SoundEvent, SoundEvent> CREEPING_HORROR_GROWL = registerSoundEvent("creeping_horror_growl");
|
||||||
public static final DeferredHolder<SoundEvent, SoundEvent> CREEPING_HORROR_HURT = registerSoundEvent("creeping_horror_hurt");
|
public static final DeferredHolder<SoundEvent, SoundEvent> CREEPING_HORROR_HURT = registerSoundEvent("creeping_horror_hurt");
|
||||||
@@ -2499,6 +2501,8 @@ public final class AntarchyFabricContent {
|
|||||||
TORETERROR_HURT,
|
TORETERROR_HURT,
|
||||||
TORETERROR_DEATH,
|
TORETERROR_DEATH,
|
||||||
TORETERROR_BOMBER_FIRE,
|
TORETERROR_BOMBER_FIRE,
|
||||||
|
TORETERROR_JUMP_UP,
|
||||||
|
TORETERROR_JUMP_LAND,
|
||||||
STINKY_FLY_SOUND,
|
STINKY_FLY_SOUND,
|
||||||
CREEPING_HORROR_GROWL,
|
CREEPING_HORROR_GROWL,
|
||||||
CREEPING_HORROR_HURT,
|
CREEPING_HORROR_HURT,
|
||||||
|
|||||||
@@ -141,6 +141,8 @@ public class AntarchyNeoforge {
|
|||||||
AntarchyNeoforgeSounds.TORETERROR_HURT,
|
AntarchyNeoforgeSounds.TORETERROR_HURT,
|
||||||
AntarchyNeoforgeSounds.TORETERROR_DEATH,
|
AntarchyNeoforgeSounds.TORETERROR_DEATH,
|
||||||
AntarchyNeoforgeSounds.TORETERROR_BOMBER_FIRE,
|
AntarchyNeoforgeSounds.TORETERROR_BOMBER_FIRE,
|
||||||
|
AntarchyNeoforgeSounds.TORETERROR_JUMP_UP,
|
||||||
|
AntarchyNeoforgeSounds.TORETERROR_JUMP_LAND,
|
||||||
AntarchyNeoforgeSounds.STINKY_FLY,
|
AntarchyNeoforgeSounds.STINKY_FLY,
|
||||||
AntarchyNeoforgeSounds.CREEPING_HORROR_GROWL,
|
AntarchyNeoforgeSounds.CREEPING_HORROR_GROWL,
|
||||||
AntarchyNeoforgeSounds.CREEPING_HORROR_HURT,
|
AntarchyNeoforgeSounds.CREEPING_HORROR_HURT,
|
||||||
|
|||||||
+2
@@ -128,6 +128,8 @@ public final class AntarchyNeoforgeSounds {
|
|||||||
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_HURT = registerSoundEvent("toreterror_hurt");
|
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_HURT = registerSoundEvent("toreterror_hurt");
|
||||||
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_DEATH = registerSoundEvent("toreterror_death");
|
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_DEATH = registerSoundEvent("toreterror_death");
|
||||||
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_BOMBER_FIRE = registerSoundEvent("toreterror_bomber_fire");
|
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_BOMBER_FIRE = registerSoundEvent("toreterror_bomber_fire");
|
||||||
|
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_JUMP_UP = registerSoundEvent("toreterror_jump_up");
|
||||||
|
public static final DeferredHolder<SoundEvent, SoundEvent> TORETERROR_JUMP_LAND = registerSoundEvent("toreterror_jump_land");
|
||||||
public static final DeferredHolder<SoundEvent, SoundEvent> STINKY_FLY = registerSoundEvent("stinky_fly");
|
public static final DeferredHolder<SoundEvent, SoundEvent> STINKY_FLY = registerSoundEvent("stinky_fly");
|
||||||
public static final DeferredHolder<SoundEvent, SoundEvent> CREEPING_HORROR_GROWL = registerSoundEvent("creeping_horror_growl");
|
public static final DeferredHolder<SoundEvent, SoundEvent> CREEPING_HORROR_GROWL = registerSoundEvent("creeping_horror_growl");
|
||||||
public static final DeferredHolder<SoundEvent, SoundEvent> CREEPING_HORROR_HURT = registerSoundEvent("creeping_horror_hurt");
|
public static final DeferredHolder<SoundEvent, SoundEvent> CREEPING_HORROR_HURT = registerSoundEvent("creeping_horror_hurt");
|
||||||
|
|||||||
Reference in new issue
Block a user