SableCraft Cast

NPCs for other mods to give roles to. Cast makes them; the mods you install decide what they are for.
item image
item image
item image

Description

SableCraft Cast

Cast — people in the world that a vanilla client can see

NPCs for other mods to give roles to. A person with a name, a real skin, a coat and a lantern, standing where you put them, turning to look at you, and doing whatever the mod that placed them says when you right-click. Or a villager, a cow, a zombie, owned from the moment it spawns so it never wanders, trades, or bites. Cast makes them; the mods you install decide what they are for.

Your players do not need to install anything. A human NPC is drawn by packets on every client that can see it, skin and all, and behaves like a player standing very still. A creature NPC is the creature it looks like, minus its own mind. Nothing to download, no resource pack.


Two kinds of body

  • Human — a player-model NPC with any real account's skin. It is a phantom: sent to the players who can see it, never added to the world. So it is not a player: it does not count towards sleeping, does not anchor mob spawning, does not keep chunks loaded, is not in the tab list, and does not turn up in /tp suggestions. An invisible stand-in gives it a body, so mobs walk round it rather than through it.
  • Mob — any vanilla creature. Its goals are cleared and replaced with "look at whoever is near"; the brain-driven ones (villagers, piglins, the rest) have their behaviours removed every second, which is the only way to park them. It is invulnerable, named, and never opens its own screen.

Both stand where they were placed. Shove one and it steps back. Mine the block from under one and it looks down, looks back up at you, and then falls, landing wherever the ground is now — unless you told it to defy gravity, which is the option's actual name.

Dressing

/cast equip head minecraft:iron_helmet, /cast equip mainhand "minecraft:potion[potion_contents={potion:'minecraft:healing'}]" — any item as /give takes it, in any slot, on either kind of body, remembered across restarts. Blank clears the slot.

For the mods that use it

Cast has no quests, no dialogue and no scenes of its own. It has an API:

  • Chronicler places quest givers with it — a camp of five appears near spawn on any seed, each carrying a storyline.
  • LegendQuest StoryTeller possesses them: a game master walks an NPC into a scene, speaks as them, and lets go; Cast re-anchors the body where it was left.
  • Your mod: one guarded class that imports com.sablednah.cast.api, Cast.registerRole(id, handler) to be called when a right-click lands on an NPC carrying your role, and spawnHuman / spawnMob / say / equip / remove / drive for everything else. An NPC can carry several roles from several mods at once.

Commands (cast.admin, or op)

/cast spawn human "Dr Okafor" Sablednah puts a human with that account's skin where you are looking; /cast spawn mob minecraft:villager "Camp Trader" a creature. Look at one and /cast name, skin, equip, look, here, say, defygravity, role add|remove, remove. /cast list and /cast status say what exists and which build this is.

Requirements

Minecraft NeoForge Java
1.21.11 21.11.42+ 21
26.1.2 26.1.2.95+ 25
26.2 26.2.0.72+ 25

There is a jar per Minecraft version, named for the one it was built against — take the one that matches your server.

Install on the server. That is all. Cast depends on nothing, and nothing depends on your players.

Credits and licence

Cast is licensed under MIT, by Sablednah. Source and API docs: github.com/Sablednah/Cast.

The SableCraft Cast Team

High Crafter tier frameprofile avatar
  • 15
    Projects
  • 1.0M
    Downloads

Darren Douglas (Sablednah) - freelance IT consultant/web dev who writes Minecraft plugins & Stardew Valley mods for fun: MobHealth, WoodDye, CityWorld ReForged & more. All open source - sablecraft.co.uk

More from sablednahView all

  • SableCraft Standards project image

    SableCraft Standards

    Do you have Standards? Every server command you end up needing, and an economy other mods can drive. /fly, /god, /home, /warp, /tpa, /back, /top, /kit, /vanish, /invsee, mail, mutes, bans - the set every server installs , built to work WITH other mods!

    • 213
    • September 12, 2026
  • ZombieMod ReForged project image

    ZombieMod ReForged

    59 zombie types with hand-built AI, and the JSON to write your own. Your players join with a vanilla client.

    • 201
    • September 11, 2026
  • LegendQuest ReForged project image

    LegendQuest ReForged

    A complete RPG character system for Minecraft: races, classes, skills, feats and karma, all defined in datapacks rather than code. Server-authoritative - vanilla clients can join and play.

    • 342
    • September 7, 2026
  • CityWorld ReForged project image

    CityWorld ReForged

    A procedural NeoForge world generator that fills Minecraft with endless, fully-furnished cities — roads, buildings, mines, sewers, farms and wild nature — deterministically built from your world seed.

    • 489
    • September 7, 2026
  • SableCraft Standards project image

    SableCraft Standards

    Do you have Standards? Every server command you end up needing, and an economy other mods can drive. /fly, /god, /home, /warp, /tpa, /back, /top, /kit, /vanish, /invsee, mail, mutes, bans - the set every server installs , built to work WITH other mods!

    • 213
    • September 12, 2026
  • ZombieMod ReForged project image

    ZombieMod ReForged

    59 zombie types with hand-built AI, and the JSON to write your own. Your players join with a vanilla client.

    • 201
    • September 11, 2026
  • LegendQuest ReForged project image

    LegendQuest ReForged

    A complete RPG character system for Minecraft: races, classes, skills, feats and karma, all defined in datapacks rather than code. Server-authoritative - vanilla clients can join and play.

    • 342
    • September 7, 2026
  • CityWorld ReForged project image

    CityWorld ReForged

    A procedural NeoForge world generator that fills Minecraft with endless, fully-furnished cities — roads, buildings, mines, sewers, farms and wild nature — deterministically built from your world seed.

    • 489
    • September 7, 2026