MineFunkin Docs¶

MineFunkin is a Friday Night Funkin' engine for Minecraft. At a Speaker you fight another player or the Dummy, right in the world, with everybody around watching. At the Retro TV you practise songs and make your own charts.

This wiki is about everything around the notes: the camera swinging round on the drop, the lanes going upside down, your opponent turning into a giant, the whole game window shaking on a miss. You can build all of that yourself with small text files next to your song. You don't need to know Java or any other programming language for it.
Pick where you want to go:
-
Event scripts
Learn to script your songs: flashes, zooms, modcharts, the fight camera, both fighters, stages, effects and shaders - even the game window. Small text files, no Java needed.
-
Event API
Look things up: every callback, action, shortcut and function, and one page per property group - each with its kind, default, range and an example.
-
Songs
What's in a song folder, where it goes, how to import one, and the
.mfknsongand.mfknfiles. -
Addon API
For other mods (Java): song results, fights, practice and every note of the local player's runs. Opt-in, on the server and the client.
Not sure where to start?¶
| You want to ... | Go here |
|---|---|
| make your very first event | Your first event - ten minutes, step by step |
| find out what some name does | the Event API, or just type it into the search up top |
| make the lanes and notes dance | Modcharts |
| put a stage behind the fighters | Stages and sprites |
| bring over a song from Psych or Kade | Coming from Psych · Coming from Kade |
| get your song files in order | Songs |
| understand an error message | Errors and fixes |
| hook your own Java mod into MineFunkin | the Addon API |
| know what you may share and how | the License |
A little taste¶
Here's a whole event. Drop it into a song's folder as pop_flash.event, and the chart editor gets a new event called
Pop Flash - with a slider and a colour picker, built from the two lines under params:
format 2.0
event {
name = "Pop Flash",
color = #FF6EC7,
category = "Party",
}
params {
strength = number { from = "value1", default = 0.05, min = 0, max = 0.3, label = "Zoom pop" },
tint = color { from = "value2", default = #FFFFFF, label = "Flash colour" },
}
function onEvent(p)
camera.bump += p.strength -- the camera pops
flash(p.tint, beats(0.5)) -- a flash in your colour, gone after half a beat
end
Place it on a big drum hit and press Space. That's really all it takes.