Add remnants

This commit is contained in:
Electroblob77
2020-05-21 18:40:01 +01:00
parent 30f2a99a2c
commit 1275f1d31f
21 changed files with 665 additions and 1 deletions
@@ -103,6 +103,7 @@ public class WizardryEntities {
.spawn(EnumCreatureType.MONSTER, Wizardry.settings.evilWizardSpawnRate, 1, 1, ForgeRegistries.BIOMES.getValuesCollection().stream()
.filter(b -> !Arrays.asList(Wizardry.settings.mobSpawnBiomeBlacklist).contains(b.getRegistryName()))
.collect(Collectors.toSet())).build());
registry.register(createEntry(EntityRemnant.class, "remnant", TrackingType.LIVING).egg(0xe4c7cd, 0x9d2cf3).build());
// Directed projectiles
registry.register(createEntry(EntityMagicMissile.class, "magic_missile", TrackingType.PROJECTILE).build());
@@ -75,6 +75,9 @@ public final class WizardrySounds {
public static final SoundEvent ENTITY_PHOENIX_FLAP = createSound("entity.phoenix.flap");
public static final SoundEvent ENTITY_PHOENIX_HURT = createSound("entity.phoenix.hurt");
public static final SoundEvent ENTITY_PHOENIX_DEATH = createSound("entity.phoenix.death");
public static final SoundEvent ENTITY_REMNANT_AMBIENT = createSound("entity.remnant.ambient");
public static final SoundEvent ENTITY_REMNANT_HURT = createSound("entity.remnant.hurt");
public static final SoundEvent ENTITY_REMNANT_DEATH = createSound("entity.remnant.death");
public static final SoundEvent ENTITY_SHADOW_WRAITH_AMBIENT = createSound("entity.shadow_wraith.ambient");
public static final SoundEvent ENTITY_SHADOW_WRAITH_NOISE = createSound("entity.shadow_wraith.noise");
public static final SoundEvent ENTITY_SHADOW_WRAITH_HURT = createSound("entity.shadow_wraith.hurt");
@@ -207,6 +210,9 @@ public final class WizardrySounds {
event.getRegistry().register(ENTITY_PHOENIX_FLAP);
event.getRegistry().register(ENTITY_PHOENIX_HURT);
event.getRegistry().register(ENTITY_PHOENIX_DEATH);
event.getRegistry().register(ENTITY_REMNANT_AMBIENT);
event.getRegistry().register(ENTITY_REMNANT_HURT);
event.getRegistry().register(ENTITY_REMNANT_DEATH);
event.getRegistry().register(ENTITY_SHADOW_WRAITH_AMBIENT);
event.getRegistry().register(ENTITY_SHADOW_WRAITH_NOISE);
event.getRegistry().register(ENTITY_SHADOW_WRAITH_HURT);