Haunted Encounters banner
Haunted Encounters icon

Haunted Encounters

This mod replaces certain hostile Minecraft mobs (e.g., zombies, skeletons, endermen, etc.) with Ghosts to make the Cobblemon experience more immersive....

10
cobblemon-fabricServer1.21.1mod

Haunted Encounters

What it does

  • Replaces hostile mobs (zombie, skeleton, creeper, ghast, blaze, enderman, breeze) with ghostly variants that keep the same roles but can phase through walls, burn in sunlight, and seek shade.
  • Ghosts drop XP and minimal loot (none for zombies/skeletons) and use custom sound events/animation hooks for idle/attack/death cues.
  • Silph Scope item lets you reveal a ghost’s true form: using it on any ghost converts it into a random Ghost-type Cobblemon Pokémon (can be shiny) that can then be battled or captured.
  • Cleanse Tag can now be placed as a block; when placed it repels ghosts within a roughly 20×20 area and stops them from spawning. Breaking or picking it back up returns the Cleanse Tag.
  • Poké Balls cannot capture ghosts directly; thrown balls fizzle on contact and warn the thrower.

Usage notes

  • Craft Silph Scope with amethyst shard + spyglass + Cobblemon Cleanse Tag, then use it directly on a ghost to spawn the Pokémon.
  • Place a Cleanse Tag block by using the Cobblemon Cleanse Tag item on a surface; interact with an empty hand to pick it back up.
  • Ghosts behave like their original mobs (melee, ranged, explosive, teleporting, breeze wind attacks) but will burn in daylight, avoid sunlight, and are pushed away from nearby Cleanse Tags.

Implementation highlights

  • Custom ghost entity types mirror vanilla AI, gain no-clip movement in darkness, and handle sunburn/repulsion through shared helpers.
  • Entity replacement runs on server entity load, swapping eligible hostile mobs for their ghost counterparts while respecting Cleanse Tag repel zones.
  • Cleanse Tag tracking is stored per-dimension so repel zones persist while blocks remain placed.
  • Silph Scope leverages Cobblemon species/type data to select Ghost-type Pokémon, keeps XP from the original ghost untouched, and supports creative-use without consuming the item.

Limitations / future ideas

  • Ghost visuals and sounds rely on resource packs; default models are placeholders.
  • Cleanse Tag repel radius is fixed (10 blocks manhattan); configurable settings could be added later.
  • Ghost projectile/attack effects use vanilla projectiles for now; bespoke particles or damage types could enhance flavor.