Add sounds to radiant totem and update sounds for ray of purification
This commit is contained in:
+2
-1
@@ -45,4 +45,5 @@ In addition, I'd like to thank the following individuals for their contributions
|
||||
- fredzed
|
||||
- deleted_user_3277771
|
||||
- DiscoveryME
|
||||
- OGSoundFX
|
||||
- OGSoundFX
|
||||
- leosalom
|
||||
@@ -1,7 +1,9 @@
|
||||
package electroblob.wizardry.entity.construct;
|
||||
|
||||
import electroblob.wizardry.Wizardry;
|
||||
import electroblob.wizardry.constants.Constants;
|
||||
import electroblob.wizardry.registry.Spells;
|
||||
import electroblob.wizardry.registry.WizardrySounds;
|
||||
import electroblob.wizardry.spell.RadiantTotem;
|
||||
import electroblob.wizardry.spell.Spell;
|
||||
import electroblob.wizardry.util.*;
|
||||
@@ -41,8 +43,8 @@ public class EntityRadiantTotem extends EntityScaledConstruct {
|
||||
@Override
|
||||
public void onUpdate(){
|
||||
|
||||
if(this.ticksExisted % 25 == 1){
|
||||
// TODO: Sound
|
||||
if(this.ticksExisted == 1){
|
||||
Wizardry.proxy.playMovingSound(this, WizardrySounds.ENTITY_RADIANT_TOTEM_AMBIENT, WizardrySounds.SPELLS, 1, 1, true);
|
||||
}
|
||||
|
||||
super.onUpdate();
|
||||
@@ -124,6 +126,12 @@ public class EntityRadiantTotem extends EntityScaledConstruct {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void despawn(){
|
||||
this.playSound(WizardrySounds.ENTITY_RADIANT_TOTEM_VANISH, 1, 1);
|
||||
super.despawn();
|
||||
}
|
||||
|
||||
// Usually damage multipliers don't need syncing, but here we're using it for the non-standard purpose of targeting
|
||||
|
||||
@Override
|
||||
|
||||
@@ -65,6 +65,8 @@ public final class WizardrySounds {
|
||||
public static final SoundEvent ENTITY_ICE_SPIKE_EXTEND = createSound("entity.ice_spike.extend");
|
||||
public static final SoundEvent ENTITY_LIGHTNING_SIGIL_TRIGGER = createSound("entity.lightning_sigil.trigger");
|
||||
public static final SoundEvent ENTITY_METEOR_FALLING = createSound("entity.meteor.falling");
|
||||
public static final SoundEvent ENTITY_RADIANT_TOTEM_AMBIENT = createSound("entity.radiant_totem.ambient");
|
||||
public static final SoundEvent ENTITY_RADIANT_TOTEM_VANISH = createSound("entity.radiant_totem.vanish");
|
||||
public static final SoundEvent ENTITY_SHIELD_DEFLECT = createSound("entity.shield.deflect");
|
||||
public static final SoundEvent ENTITY_TORNADO_AMBIENT = createSound("entity.tornado.ambient");
|
||||
public static final SoundEvent ENTITY_ZOMBIE_SPAWNER_SPAWN = createSound("entity.zombie_spawner.spawn");
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
"entity.ice_spike.extend": {"category": "spells", "sounds": ["ebwizardry:slice"]},
|
||||
"entity.lightning_sigil.trigger": {"category": "spells", "sounds": ["ebwizardry:arc1", "ebwizardry:arc2", "ebwizardry:arc3"]},
|
||||
"entity.meteor.falling": {"category": "spells", "sounds": ["ebwizardry:flames_loop"]},
|
||||
"entity.radiant_totem.ambient": {"category": "spells", "sounds": ["ebwizardry:beam_loop"]},
|
||||
"entity.radiant_totem.vanish": {"category": "spells", "sounds": ["ebwizardry:beam_end"]},
|
||||
"entity.shield.deflect": {"category": "spells", "sounds": ["ebwizardry:effect1", "ebwizardry:effect2"]},
|
||||
"entity.stormcloud.thunder": {"category": "spells", "sounds": ["ambient/weather/thunder1", "ambient/weather/thunder2", "ambient/weather/thunder3"]},
|
||||
"entity.stormcloud.attack": {"category": "spells", "sounds": ["ebwizardry:arc1", "ebwizardry:arc2", "ebwizardry:arc3"]},
|
||||
@@ -265,9 +267,10 @@
|
||||
"spell.poison_bomb": {"category": "spells", "sounds": ["random/bow"]},
|
||||
"spell.possession.possess": {"category": "spells", "sounds": ["mob/evocation_illager/prepare_attack1", "mob/evocation_illager/prepare_attack2"]},
|
||||
"spell.possession.end": {"category": "spells", "sounds": ["mob/guardian/elder_idle1", "mob/guardian/elder_idle2", "mob/guardian/elder_idle3", "mob/guardian/elder_idle4"]},
|
||||
"spell.ray_of_purification.start": {"category": "spells", "sounds": ["ebwizardry:aura_start"]},
|
||||
"spell.ray_of_purification.loop": {"category": "spells", "sounds": ["ebwizardry:aura_loop"]},
|
||||
"spell.ray_of_purification.end": {"category": "spells", "sounds": ["ebwizardry:aura_end"]},
|
||||
"spell.ray_of_purification.start": {"category": "spells", "sounds": ["ebwizardry:beam_start"]},
|
||||
"spell.ray_of_purification.loop": {"category": "spells", "sounds": ["ebwizardry:beam_loop"]},
|
||||
"spell.ray_of_purification.end": {"category": "spells", "sounds": ["ebwizardry:beam_end"]},
|
||||
"spell.radiant_totem": {"category": "spells", "sounds": ["ebwizardry:beam_start"]},
|
||||
"spell.remove_curse": {"category": "spells", "sounds": ["ebwizardry:buff_large"]},
|
||||
"spell.replenish_hunger": {"category": "spells", "sounds": ["ebwizardry:heal"]},
|
||||
"spell.resurrection": {"category": "spells", "sounds": ["ebwizardry:buff_large"]},
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -5,7 +5,7 @@
|
||||
"version" : "4.3",
|
||||
"mcversion" : "1.12.2",
|
||||
"url" : "https://minecraft.curseforge.com/projects/electroblobs-wizardry",
|
||||
"credits" : "\nDesigned, coded and textured by Electroblob.\nCode contributed by: Corail31, 12foo, Shadows-of-Fire, Tora-B, Avatair, Aeronica, UltraHex, Azim-Palmer, raoulvdberge.\nTranslators: Alsentar (Spanish), MadWrist (Mexican Spanish), VilagVil, kellixon & bigenergy (Russian), Hahdrim (French), lorrampi (Brazilian Portuguese), ZHENGLOC, dragon-evol, Hokorizero, TUsama & Determancer (Chinese - Simplified), shejery & rewi_wire (Korean), Trozuu (Polish), chesterccj305 (Chinese - Traditional), Bombadil (Hungarian).\nSound Effects: OhhWowProductions, fredzed, deleted_user_3277771, DiscoveryME",
|
||||
"credits" : "\nDesigned, coded and textured by Electroblob.\nCode contributed by: Corail31, 12foo, Shadows-of-Fire, Tora-B, Avatair, Aeronica, UltraHex, Azim-Palmer, raoulvdberge.\nTranslators: Alsentar (Spanish), MadWrist (Mexican Spanish), VilagVil, kellixon & bigenergy (Russian), Hahdrim (French), lorrampi (Brazilian Portuguese), ZHENGLOC, dragon-evol, Hokorizero, TUsama & Determancer (Chinese - Simplified), shejery & rewi_wire (Korean), Trozuu (Polish), chesterccj305 (Chinese - Traditional), Bombadil (Hungarian).\nSound Effects: OhhWowProductions, fredzed, deleted_user_3277771, DiscoveryME, OGSoundFX, leosalom",
|
||||
"authorList" : [
|
||||
"Electroblob"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user