mirror of
https://github.com/ACGaming/Spackenmobs
synced 2024-11-25 16:22:36 +01:00
Merge pull request #5 from leytilera/1.12
Add freak out sounds to MZTEWolf
This commit is contained in:
commit
bd27590cd2
12 changed files with 29 additions and 0 deletions
|
@ -2,6 +2,7 @@ package mod.acgaming.spackenmobs.entities;
|
|||
|
||||
import java.util.UUID;
|
||||
|
||||
import mod.acgaming.spackenmobs.misc.ModSoundEvents;
|
||||
import net.minecraft.entity.EntityAgeable;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.monster.EntityCreeper;
|
||||
|
@ -10,6 +11,7 @@ import net.minecraft.entity.passive.AbstractHorse;
|
|||
import net.minecraft.entity.passive.EntityAnimal;
|
||||
import net.minecraft.entity.passive.EntityWolf;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.util.SoundEvent;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class EntityMZTEWolf extends EntityWolf
|
||||
|
@ -21,6 +23,12 @@ public class EntityMZTEWolf extends EntityWolf
|
|||
this.setTamed(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected SoundEvent getAmbientSound()
|
||||
{
|
||||
return ModSoundEvents.ENTITY_MZTEWOLF_AMBIENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntityMZTEWolf createChild(EntityAgeable ageable)
|
||||
{
|
||||
|
|
|
@ -56,4 +56,6 @@ public class ModSoundEvents
|
|||
|
||||
public static final SoundEvent ENTITY_GISELA_AMBIENT = new SoundEvent(new ResourceLocation("spackenmobs:entities.gisela.ambient"));
|
||||
public static final SoundEvent ENTITY_GISELA_HURT = new SoundEvent(new ResourceLocation("spackenmobs:entities.gisela.hurt"));
|
||||
|
||||
public static final SoundEvent ENTITY_MZTEWOLF_AMBIENT = new SoundEvent(new ResourceLocation("spackenmobs:entities.mztewolf.ambient"));
|
||||
}
|
|
@ -324,5 +324,9 @@ public class RegistryHandler
|
|||
event.getRegistry().register(ModSoundEvents.ENTITY_GISELA_AMBIENT);
|
||||
ModSoundEvents.ENTITY_GISELA_HURT.setRegistryName(new ResourceLocation("spackenmobs:entities.gisela.hurt"));
|
||||
event.getRegistry().register(ModSoundEvents.ENTITY_GISELA_HURT);
|
||||
|
||||
//MZTEWolf
|
||||
ModSoundEvents.ENTITY_MZTEWOLF_AMBIENT.setRegistryName(new ResourceLocation("spackenmobs:entities.mztewolf.ambient"));
|
||||
event.getRegistry().register(ModSoundEvents.ENTITY_MZTEWOLF_AMBIENT);
|
||||
}
|
||||
}
|
|
@ -1060,6 +1060,21 @@
|
|||
},
|
||||
{
|
||||
"name": "spackenmobs:mztewolf/say3"
|
||||
},
|
||||
{
|
||||
"name": "spackenmobs:mztewolf/say4"
|
||||
},
|
||||
{
|
||||
"name": "spackenmobs:mztewolf/say5"
|
||||
},
|
||||
{
|
||||
"name": "spackenmobs:mztewolf/say6"
|
||||
},
|
||||
{
|
||||
"name": "spackenmobs:mztewolf/say7"
|
||||
},
|
||||
{
|
||||
"name": "spackenmobs:mztewolf/say8"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/main/resources/assets/spackenmobs/sounds/mztewolf/say4.ogg
Normal file
BIN
src/main/resources/assets/spackenmobs/sounds/mztewolf/say4.ogg
Normal file
Binary file not shown.
BIN
src/main/resources/assets/spackenmobs/sounds/mztewolf/say5.ogg
Normal file
BIN
src/main/resources/assets/spackenmobs/sounds/mztewolf/say5.ogg
Normal file
Binary file not shown.
BIN
src/main/resources/assets/spackenmobs/sounds/mztewolf/say6.ogg
Normal file
BIN
src/main/resources/assets/spackenmobs/sounds/mztewolf/say6.ogg
Normal file
Binary file not shown.
BIN
src/main/resources/assets/spackenmobs/sounds/mztewolf/say7.ogg
Normal file
BIN
src/main/resources/assets/spackenmobs/sounds/mztewolf/say7.ogg
Normal file
Binary file not shown.
BIN
src/main/resources/assets/spackenmobs/sounds/mztewolf/say8.ogg
Normal file
BIN
src/main/resources/assets/spackenmobs/sounds/mztewolf/say8.ogg
Normal file
Binary file not shown.
Loading…
Reference in a new issue