Interface IColonyRaidEvent

All Superinterfaces:
IColonyEntitySpawnEvent, IColonyEvent, IColonySpawnEvent, net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
All Known Implementing Classes:
AbstractShipRaidEvent, AmazonRaidEvent, BarbarianRaidEvent, DrownedPirateRaidEvent, EgyptianRaidEvent, HordeRaidEvent, NorsemenRaidEvent, NorsemenShipRaidEvent, PirateGroundRaidEvent, PirateRaidEvent

public interface IColonyRaidEvent extends IColonyEntitySpawnEvent
Interface type for raid events
  • Method Details

    • getNormalRaiderType

      net.minecraft.world.entity.EntityType<?> getNormalRaiderType()
      Get the normal raider type.
      Returns:
      the normal type.
    • getArcherRaiderType

      net.minecraft.world.entity.EntityType<?> getArcherRaiderType()
      Get the archer raider type.
      Returns:
      the archer type.
    • getBossRaiderType

      net.minecraft.world.entity.EntityType<?> getBossRaiderType()
      Get the boss raider type.
      Returns:
      the boss type.
    • addSpawner

      void addSpawner(net.minecraft.core.BlockPos pos)
      Add a spawner to an event.
      Parameters:
      pos - the pos to add the spawner at.
    • getWayPoints

      List<net.minecraft.core.BlockPos> getWayPoints()
      Gets the list of waypoints
    • isRaidActive

      default boolean isRaidActive()
      Whether or not the raid is still active.
      Returns:
      true if so.