Interface IColonyStructureSpawnEvent

All Superinterfaces:
IColonyEvent, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
All Known Implementing Classes:
AbstractShipRaidEvent, DrownedPirateRaidEvent, NorsemenShipRaidEvent, PirateRaidEvent

public interface IColonyStructureSpawnEvent extends IColonyEvent
Used by events which do spawn a structure in the world
  • Method Details

    • getSchematicSpawns

      List<Tuple<String,net.minecraft.core.BlockPos>> getSchematicSpawns()
      Returns the list of used schematics and their positions. The string should be the full path to the schematic file.
      Returns:
      list of schematics
    • getShipDesc

      String getShipDesc()
      Get the ship description for the schematic
    • setMaxRaiderCount

      void setMaxRaiderCount(int maxRaiderCount)
      Set the max raider count.
      Parameters:
      maxRaiderCount - the count.