A hands-on medical roleplay minigame for TF-Minecraft.
Surgery lets a physician mend another character's injuries on the operating table. It treats the healing ailments from RPCharacters, such as a broken arm, a broken leg, or a half-blind eye, using Victorian medicine.
Each move matters: sedating the patient, cleaning the site, opening an incision, setting a bone, or closing the wound can change what the surgeon needs to do next.
- Real ailments — the operation targets the patient's own healing injury. Success cures it; failure after sedation or cutting can extend recovery. Permanent injuries cannot be operated on.
- Physician access — by default, operating requires the Physician profession permission that also unlocks crafting the instruments.
- Patient consent — the patient must accept the surgeon's offer, which states the ailment and what a failure would cost.
- Victorian instruments — diagnose, sedate, clean, cut, set bones, and dress wounds with period tools and medicines.
- Changing patient vitals — consciousness, pulse, temperature, bleeding, and cleanliness affect the course of treatment.
- Procedures and complications — each ailment has its own procedure, with bones to set and complications such as haemorrhage, shock, and sepsis.
Originally created by Justinas Launikonis.
Technical documentation is maintained in TF-Minecraft/Docs.
Run mvn clean verify with Java 21 after installing the pinned plugin
dependencies using the build guide.
JUnit 5, Mockito, and MockBukkit cover consent, procedures, tools, patient vitals,
completion, commands, and lifecycle behaviour. Surefire test results are in
target/surefire-reports/. The build enforces 100% executable-line coverage across
all production Java classes, with no coverage exclusions. JaCoCo's HTML and XML
reports are written to target/site/jacoco/ and uploaded by the Build workflow.
Branch and instruction coverage are reported separately; the enforced threshold
is line coverage. Build and maintenance scripts are outside this runtime-code
metric; live RPCharacters integration and multiplayer play need server testing.
Copyright (c) 2026 TF-Minecraft contributors.
TF-Minecraft-authored material in this repository is licensed under the Artistic License 2.0. Third-party dependencies and bundled material retain their own licenses.