Skip to content

About

A camera for wildlife photos of Pokémon: scored shots, an album and a weekly assignment. One jar for Pixelmon or Cobblemon on NeoForge, and Cobblemon on Fabric (1.21.1). Unofficial addon.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Shutterbug logo

Shutterbug

A camera for wild Pokémon. Every photo is scored, your best shot of each species goes in your album, and there is a new photo assignment every week.

Shutterbug on Modrinth Latest GitHub release

Download: Modrinth · GitHub releases

A photo saved by Shutterbug on Cobblemon, with its caption: species, stars, score, photographer, date and place

Works with: Pixelmon · Cobblemon · NeoForge · Fabric

Shutterbug is a mod for Minecraft 1.21.1. It runs on the server, so players need nothing installed beyond the Pokémon mod itself. One jar, shutterbug-1.0.0.jar, works on every supported setup:

Loader Pokémon mod Also needs
NeoForge 21.1.x Pixelmon 9.4.2 nothing
NeoForge 21.1.x Cobblemon 1.8.x nothing beyond what Cobblemon itself needs (Kotlin for Forge)
Fabric Cobblemon 1.8.x Fabric API

Forge Config API Port and fabric-permissions-api are bundled inside the jar, so there is nothing else to install on Fabric. On NeoForge with both Pokémon mods installed, Shutterbug uses Pixelmon.

Unofficial addon. Shutterbug is a fan-made addon. It is not affiliated with or endorsed by Pixelmon, Cobblemon, Nintendo, Game Freak, Creatures or The Pokémon Company. Pokémon is a trademark of Nintendo, Creatures and Game Freak.

In short

  • A camera. Aim at a wild Pokémon and right-click. The server scores the photo on framing, centring, facing, action, groups, rarity, time of day, weather and shininess, and shows you the breakdown.
  • An album. Your best photo of each species, in Pokédex order, with completion stats. Sneak + right-click with the camera to open it.
  • A weekly assignment. One species a week for the whole server, with a leaderboard, new-leader announcements and optional rewards for the top three.
  • Optional client part. Install the same jar on your own computer to get a viewfinder that shows the exact frame the server scores, a saved PNG of every photo with a caption, and photos printed onto vanilla maps.

Installing

  • Server: put shutterbug-1.0.0.jar in the server's mods folder, next to Pixelmon or Cobblemon (and Fabric API on Fabric). That's all. Players join with just the Pokémon mod, as they always have.
  • Players (optional): put the same jar in your own mods folder for the viewfinder, saved PNGs, map prints and the camera's own texture. Players with and without it can play on the same server, and a client with it can still join servers that don't have it.
  • Singleplayer: install it in your client's mods folder and you get everything.

Getting a camera

Craft one:

    .    Redstone    .
  Iron   Glass Pane  Iron
  Iron    Leather    Iron

The recipe appears in your recipe book once you pick up a glass pane. Operators can also hand cameras out with /shutterbug camera [targets].

The camera is a vanilla clock with data components (its name, lore and model data), and photos are paper or filled maps with data components. Shutterbug adds no new items, blocks or other registry entries, which is why players don't need it installed. An ordinary clock is still just a clock. Without the client part the camera looks like a clock named "Shutterbug Camera"; with it, the camera and paper photos have their own textures.

Taking a photo

Hold the camera, aim at a wild Pokémon and right-click. Right-clicking a Pokémon up close works too: you take its photo instead of interacting with it.

  • The camera photographs the Pokémon you are aiming at: of the Pokémon in the frame, the one closest to the centre (a bigger one wins when two are close together).
  • There is a short cooldown between photos (1.5 seconds by default), a shutter sound for players nearby, and a little flash that other players see.
  • The score, stars and species appear in the action bar. In chat you get the score with a tag for a New best!, a New species for your album! or your assignment rank, and a second line with each part of the score. Hover over either line for the full breakdown, with notes like "fills 42% of the frame at 9 m", "looking at you" or "mid-battle".
  • Photos with five stars that are a new album best are announced to the whole server.

The score breakdown in chat after a photo

You get no photo when there is nothing in the frame, when the Pokémon is someone's (only wild Pokémon count by default), when the species is blacklisted, when it is completely hidden behind blocks, or in a blacklisted dimension. The action bar says which.

When a photo is a new best for that species in your album, you get a paper photo: "Photo of species", with the stars and score, a shiny mark, "Taken by photographer", the date and place (the biome), and the score breakdown in its lore. With the client part, you can get a printed map instead (see below). The server can hand out a photo for every shot, or none, with givePhotoItems; the album keeps everyone's best shots either way.

How a photo is scored

Everything is worked out on the server from the photographer's eye position and look direction and the positions, sizes, facing and movement of the Pokémon around them. Nothing the client sends is used for the score. The camera's frame is fixed by the server config (60° high, 1.5 times as wide as it is high), not by each player's own FOV setting, so everyone is judged by the same frame.

Part Default points How it works
Framing up to 250 How much of the frame the Pokémon fills. Full marks from about a quarter to two thirds of the frame; less when it is small or far away (nothing under 4%), gently less when it is too close, and less again when it is cut off at the edges of the frame.
Centring up to 150 How close to the centre of the frame it is.
Facing up to 200 Where its head points. Facing the camera scores full, a three-quarter view or side-on scores part, and from behind scores little.
Action up to 150 What it is doing: battling scores full, then flying, running, sleeping, swimming and walking score part. Standing still scores nothing here. Sleeping is Cobblemon only, as Pixelmon 9.4.2 has no sleep state for Pokémon in the world.
Partly hidden ×0.4 to ×1 Five points on the Pokémon are checked for blocks in the way (glass doesn't count). Each blocked point lowers the four parts above. With all five blocked, there's no photo.
Group +60 each For each other Pokémon of the same species in the frame, up to 3.
Rarity +60, +150 or +400 From the species' catch rate: uncommon (46 to 119) or rare (45 or lower). Legendary, mythical, Ultra Beast and Paradox Pokémon get the legendary bonus.
Golden hour +60 At sunrise and sunset.
Night +40
Rain / snow +40 Where the Pokémon is standing, so not in dry biomes.
Thunder +80 During a thunderstorm, instead of rain or snow.
Shiny ×1.5 The whole score.

A time or weather bonus is doubled when it suits the Pokémon's type. By default: night suits Ghost, Dark and Fairy; rain suits Water and Grass; snow suits Ice; thunder suits Electric and Dragon; golden hour suits Fire and Flying. There are no time or weather bonuses in dimensions without a sky or with a fixed time, like the Nether and the End.

Every photo of a Pokémon gets at least one star. By default it takes 250 points for 2 stars, 450 for 3, 650 for 4 and 850 for 5.

Every weight, the type matches and the star thresholds are in the server config.

The album

The album: a chest menu with the best photo of each species, the stats and the weekly assignment

Sneak + right-click with the camera, or use /shutterbug album. The album is a chest menu with your best photo of each species, in Pokédex order, 45 to a page. Hover over a photo for its stars, score, shininess, form, date and place, and its breakdown. The bottom row has:

  • Stats (the book): species photographed out of all species, with a percentage; total score; five-star photos; shiny photos; photos taken.
  • The weekly assignment: this week's species, the time left, your best score and rank, and the top three.
  • A toggle (the ender pearl) to show every species, with the ones you're missing marked "Not photographed yet". Click it again to show only your photos.

/shutterbug album <player> opens someone else's album, if the server allows it (viewOthers). The album is read-only: nothing can be taken out of it. Albums are saved in <world>/shutterbug/photos.json.

The weekly assignment

Each ISO week the whole server gets one species to photograph. Weeks start on Monday at midnight in the configured time zone (UTC by default).

  • The species is picked from the pool in the config. With an empty pool, it is picked from every species that spawns in the wild and isn't legendary, leaving out the species blacklist. The pick depends on the week and the world seed, so it stays the same after a restart.
  • Each player's best photo of that species this week goes on the leaderboard. /shutterbug top shows the top ten, your own rank if you're further down, and last week's winner. /shutterbug top album shows the biggest albums instead (most species, then total score).
  • When someone takes the lead, the server is told.
  • When the week ends, the winner is announced, the top three are kept for "last week", and the rewardCommands for ranks 1, 2 and 3 are run. Then a new species is picked.
  • Operators can change the week with /shutterbug assignment set <species>, reroll (a different species at random) or end (end the week now, with its rewards, and start a new one). Setting or rerolling the species clears this week's leaderboard.

The optional client part

The client part is the same jar, installed on the player's computer. Everything above works without it. It adds:

Viewfinder

While you hold the camera in your main hand in first person, the frame the server scores is drawn on screen, with the rest dimmed, corner marks and a small focus ring. Your hand and the block outline are hidden while you look through it. The frame comes from the server's fieldOfView and aspectRatio and is adjusted for your own FOV, so what is inside it is exactly what gets scored.

The viewfinder on Pixelmon

The viewfinder on Cobblemon

Saved photos

Every photo is saved as a PNG in screenshots/shutterbug/, cropped to the camera's frame and taken before your hand and HUD are drawn. It has a caption along the bottom: the species, its stars and score, the photographer, the date and the place, with a "NEW BEST" tag for a new album best and a sparkle for a shiny. A link in chat opens the file. Files are named like 2026-11-29_14.05.31_eevee_612.png.

A saved photo on Pixelmon

Prints

When the server would give you a photo item, your client can have it printed onto a vanilla map instead: a locked filled map that shows the real picture, in your hand and in item frames.

The camera, printed maps and a paper photo in item frames

The client sends the centre of the photo as a 128×128 picture in map colours. The server never trusts it blindly:

  • it must be exactly 128×128, and every pixel must be a real map colour;
  • it must match a photo the server has just taken for that player and is waiting to hand over;
  • it is rate-limited per player (one every 5 seconds and 30 an hour by default);
  • outside creative mode it uses up an empty map from the player's inventory;
  • the player needs the shutterbug.print permission, and the server can turn prints off ([prints] enabled).

If anything is off, or the picture doesn't arrive within 5 seconds, or you have no empty map, you get the paper photo instead.

Client config

config/shutterbug-client.toml (on NeoForge, also from the Mods screen):

Option Default What it does
saveScreenshots true Save each photo as a PNG in screenshots/shutterbug.
scoreOverlay true Put the caption (species, stars, score and so on) on the saved PNG.
viewfinder true Show the camera's frame while you hold the camera.
sendPrints true Send your picture when the server offers to print a photo onto a map.
maxWidth 1920 The widest a saved PNG can be, in pixels (256 to 7680); bigger screens are scaled down.

Commands

Command What it does Permission node Default
/shutterbug Help, and this week's assignment. none everyone
/shutterbug album Opens your album. shutterbug.command.album everyone
/shutterbug album <player> Opens another player's album, by name (they can be offline). Needs viewOthers = true unless you have the admin node. shutterbug.command.album and shutterbug.command.album.others everyone
/shutterbug top This week's assignment leaderboard. shutterbug.command.top everyone
/shutterbug top album The biggest albums. shutterbug.command.top everyone
/shutterbug assignment This week's species and the time left. shutterbug.command.top everyone
/shutterbug assignment set <species> Sets this week's species and clears its leaderboard. shutterbug.command.admin operators (level 2)
/shutterbug assignment reroll Picks a different species for this week and clears its leaderboard. shutterbug.command.admin operators (level 2)
/shutterbug assignment end Ends the week now, as if Monday had come: rewards are run and a new species is picked. shutterbug.command.admin operators (level 2)
/shutterbug camera [targets] Gives a camera to you or to the players you name. shutterbug.command.admin operators (level 2)
/shutterbug reset <player> [species] Clears a player's album, photo count and place on this week's leaderboard, or removes just one species from their album. shutterbug.command.admin operators (level 2)
/shutterbug reload Reloads the messages (see below). The TOML config reloads by itself. shutterbug.command.admin operators (level 2)

Permissions

Node What it allows Default
shutterbug.shoot Taking photos with the camera. everyone
shutterbug.print Getting photos printed onto maps (needs the client part). everyone
shutterbug.command.album /shutterbug album, and sneak + right-click with the camera. everyone
shutterbug.command.album.others /shutterbug album <player>. everyone
shutterbug.command.top /shutterbug top and /shutterbug assignment. everyone
shutterbug.command.admin /shutterbug camera, reload, reset and assignment set, reroll and end. operators (level 2)

On NeoForge the nodes go through NeoForge's permission API; on Fabric through the Fabric Permissions API (bundled), which LuckPerms and similar mods answer. Without a permission mod, the vanilla operator level decides. The server console and command blocks go by their own operator level.

Server config

The server config is config/shutterbug-server.toml in the server's folder (in singleplayer, the game folder). It is created the first time a world loads, and changes are picked up while the server is running, with no restart.

[camera]

Option Default What it does
cooldownTicks 30 Ticks between two photos (20 ticks = 1 second). 0 to 1200.
maxDistance 48.0 How far away, in blocks, a Pokémon can be and still be photographed. 4 to 128.
fieldOfView 60.0 The vertical field of view of the camera's frame, in degrees. Scoring uses this rather than the player's FOV. 20 to 110.
aspectRatio 1.5 The width of the frame divided by its height. 0.5 to 3.0.
allowOwnPokemon false Count photos of the photographer's own Pokémon.
allowOtherPlayersPokemon false Count photos of other players' Pokémon.
shutterSound "minecraft:ui.cartography_table.take_result" The shutter sound players nearby hear. Empty for none.
flash true A little flash of light in front of the camera, for other players.
speciesBlacklist [] Species that can't be photographed, by name, e.g. ["ditto", "mewtwo"].
dimensionBlacklist [] Dimensions where the camera doesn't work, e.g. ["minecraft:the_end"].

[scoring]

Framing, centring, facing and action each give up to their weight; the bonuses are added on top. Set any to 0 to leave it out. All points are 0 to 10000.

Option Default What it does
framing 250 How well the Pokémon fills the frame.
centring 150 How close to the centre of the frame it is.
facing 200 Whether it faces the camera.
action 150 Caught in action (battling scores full).
groupPerExtra 60 For each other Pokémon of the same species in the frame.
groupMax 3 The most extra Pokémon a group shot counts. 0 to 20.
uncommon 60 Bonus for an uncommon species (catch rate 46 to 119).
rare 150 Bonus for a rare species (catch rate 45 or lower).
legendary 400 Bonus for a legendary, mythical, Ultra Beast or Paradox Pokémon.
shinyMultiplier 1.5 The whole score is multiplied by this for a shiny. 1 to 10.
goldenHour 60 Bonus at sunrise and sunset.
night 40 Bonus at night.
rain 40 Bonus in the rain.
snow 40 Bonus while it snows.
thunder 80 Bonus in a thunderstorm.
typeMatchMultiplier 2.0 A time or weather bonus is multiplied by this when it suits the Pokémon's type. 1 to 10.
typeMatches ["night:ghost", "night:dark", "night:fairy", "rain:water", "rain:grass", "snow:ice", "thunder:electric", "thunder:dragon", "golden_hour:fire", "golden_hour:flying"] Which types suit which conditions, as "condition:type". Conditions: golden_hour, night, rain, snow, thunder.
starThresholds [250, 450, 650, 850] The scores for 2, 3, 4 and 5 stars.

[photos]

Option Default What it does
givePhotoItems "NEW_BEST" When the photographer gets a photo item: NEW_BEST (a shot that beats their album entry for that species), ALWAYS or NEVER.
broadcastFromStars 5 Tell the whole server about new album bests with at least this many stars. 0 for never.
actionBar true Show the score in the action bar.
chatBreakdown true Show the score and its breakdown in chat.

[prints]

Option Default What it does
enabled true Let players with the client part get photos printed onto maps.
costsEmptyMap true A print uses up one empty map from the player's inventory (not in creative). Without one, they get the paper photo.
cooldownSeconds 5 Seconds between two prints by the same player. 0 to 3600.
perHour 30 The most prints a player can make in an hour. 1 to 10000.

[assignments]

Option Default What it does
enabled true The weekly assignment and its leaderboard.
pool [] The species the assignment is picked from. Empty: every species that spawns in the wild and isn't legendary.
announceNewLeader true Tell the server when someone takes the lead.
rewardCommands [] Commands run when a week ends, as "rank:command". {player}, {species} and {score} are filled in.
timeZone "UTC" The time zone weeks are counted in, e.g. "UTC" or "Europe/Berlin". Weeks start on Monday at midnight.

[album]

Option Default What it does
viewOthers true Let players look at each other's albums with /shutterbug album <player>.

Messages

Every message is sent by the server, so it works without the client part. To change any of them, copy its key from config/shutterbug/messages-default.json (which lists every key and its default text) into config/shutterbug/messages.json, change the text, and run /shutterbug reload. Changed messages are shown to everyone exactly as you wrote them; unchanged ones show in each player's own language if their client has the mod or a resource pack with those keys.

For server owners

  • Make it a weekly event. Put rewards in rewardCommands, for example:

    rewardCommands = ["1:give {player} minecraft:diamond 5", "2:give {player} minecraft:emerald 10", "3:give {player} minecraft:emerald 5"]

    They run as the server console, for ranks 1 to 3, when the week ends. A command like give only works if that player is online at the time, so a command from an economy or mail mod that pays offline players is a good fit.

  • Theme the weeks. Fill pool with the species you want (for example the ones near spawn, or a seasonal set), or pick each week by hand with /shutterbug assignment set <species>.

  • Hand out cameras. Run shutterbug camera <player> from the console in a starter kit, a quest reward or a shop.

  • Photo contests with players' own Pokémon. Set allowOwnPokemon = true (and allowOtherPlayersPokemon = true if you like) so owned Pokémon count too.

  • Keep prints in check. Lower perHour, keep costsEmptyMap on, or turn prints off. A print is like any hand-made map art, so treat it like other player-made content.

Building

You need JDK 21.

./gradlew build

The jar for both loaders is written to build/libs/shutterbug-1.0.0.jar.

Pixelmon and Cobblemon are compile-only dependencies, downloaded from the Modrinth Maven. Neither is included in this repository or in the jar.

To try it in a dev client:

./gradlew :neoforge:runClientPixelmon      # NeoForge with Pixelmon, game folder run/pixelmon
./gradlew :neoforge:runClientCobblemon     # NeoForge with Cobblemon, game folder run/cobblemon
./gradlew :neoforge:runServerPixelmon      # a NeoForge server with Pixelmon, folder run/pixelmon-server
./gradlew :fabric:runProductionClient      # Fabric with Fabric API and Cobblemon, game folder run/fabric

The Fabric client is a production client (nothing is remapped while it runs) because Cobblemon doesn't start in Loom's ordinary dev client.

How it fits together

  • common/: everything that doesn't depend on the loader: the camera (camera/), scoring (score/), the album and its storage (album/), assignments (assignment/), the config, commands, messages, the optional client part (client/) and the Cobblemon backend (cobblemon/).
  • neoforge/: the NeoForge entry point and the Pixelmon backend (Pixelmon is NeoForge-only).
  • fabric/: the Fabric entry point (Cobblemon only). The config uses NeoForge's config classes, which Forge Config API Port provides on Fabric.

./gradlew build merges the two loaders' jars into one. The Fabric half's classes are moved to the package io.github.whosthatdeveloper.shutterbugfabric so the halves never clash, and each loader reads only its own metadata file. The network messages for the client part are optional on both loaders, which is why players with and without it can share a server.

The camera and photo textures are original and are generated by tools/gen-textures.mjs.

More from WhosThatDeveloper

  • TinkerTokens: single-use tokens that change one thing about a Pokémon. Pixelmon or Cobblemon.
  • PixelPebbles: converts Cobblemon's models for Pixelmon.

Licence

Mozilla Public License 2.0.

Shutterbug is an unofficial addon. It is not affiliated with or endorsed by Pixelmon, Cobblemon, Nintendo, Game Freak, Creatures or The Pokémon Company. Pokémon is a trademark of Nintendo, Creatures and Game Freak.

About

A camera for wildlife photos of Pokémon: scored shots, an album and a weekly assignment. One jar for Pixelmon or Cobblemon on NeoForge, and Cobblemon on Fabric (1.21.1). Unofficial addon.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages