Add boulder spell

This commit is contained in:
Electroblob77
2020-07-05 00:39:06 +01:00
parent 8ae6bc9102
commit 22a125d720
16 changed files with 441 additions and 8 deletions
@@ -248,6 +248,7 @@ public final class Spells {
public static final Spell firestorm = placeholder();
public static final Spell zombie_apocalypse = placeholder();
public static final Spell boulder = placeholder();
@SubscribeEvent
public static void register(RegistryEvent.Register<Spell> event){
@@ -458,6 +459,7 @@ public final class Spells {
registry.register(new Firestorm());
registry.register(new ZombieApocalypse());
registry.register(new Boulder());
}
@@ -160,6 +160,7 @@ public class WizardryEntities {
registry.register(createEntry(EntityBubble.class, "bubble") .tracker(160, 3, false).build());
registry.register(createEntry(EntityTornado.class, "tornado") .tracker(160, 3, false).build());
registry.register(createEntry(EntityIceSpike.class, "ice_spike") .tracker(160, 1, true).build());
registry.register(createEntry(EntityBoulder.class, "boulder") .tracker(160, 1, true).build()); // Vertical velocity is not constant
}
@@ -47,8 +47,12 @@ public final class WizardrySounds {
public static final SoundEvent ENTITY_BLACK_HOLE_AMBIENT = createSound("entity.black_hole.ambient");
public static final SoundEvent ENTITY_BLACK_HOLE_VANISH = createSound("entity.black_hole.vanish");
public static final SoundEvent ENTITY_BLACK_HOLE_BREAK_BLOCK = createSound("entity.black_hole.break_block");
public static final SoundEvent ENTITY_BUBBLE_POP = createSound("entity.bubble.pop");
public static final SoundEvent ENTITY_BLIZZARD_AMBIENT = createSound("entity.blizzard.ambient");
public static final SoundEvent ENTITY_BOULDER_ROLL = createSound("entity.boulder.roll");
public static final SoundEvent ENTITY_BOULDER_LAND = createSound("entity.boulder.land");
public static final SoundEvent ENTITY_BOULDER_HIT = createSound("entity.boulder.hit");
public static final SoundEvent ENTITY_BOULDER_BREAK_BLOCK = createSound("entity.boulder.break_block");
public static final SoundEvent ENTITY_BUBBLE_POP = createSound("entity.bubble.pop");
public static final SoundEvent ENTITY_DECAY_AMBIENT = createSound("entity.decay.ambient");
public static final SoundEvent ENTITY_ENTRAPMENT_AMBIENT = createSound("entity.entrapment.ambient");
public static final SoundEvent ENTITY_ENTRAPMENT_VANISH = createSound("entity.entrapment.vanish");