Integrations
Groovy needs nothing but NeoForge. Every integration is optional: code lives in mod/, compiles against the mod's API only, and runs only when ModList says the mod is loaded. Each one with code is declared type="optional" in neoforge.mods.toml with a version range (Declared versions). Versions tested against: ATM10 8.4.
| mod | what you get | how |
|---|---|---|
| Jade | a station's frequency, name, whether it is on the air or live, what it plays and its range; a radio's frequency and signal | |
| JEI (EMI via JEI) | an information page for every block and item; switched-off content has none and leaves the item list | |
| Patchouli | The Overnight Log, the guidebook: an entry for every block and item; its recipe, a book and a blank tape, loads only with Patchouli | |
| CC:Tweaked | stations and radios are peripherals: read what plays, tune, switch (Lua reference) | compat/; CompatGameTests.ccTweakedPeripherals with -PwithCCTweaked, against 1.120.2 and 1.113.1 |
| ExtremeSoundMuffler | every radio, and the synthesizer's preview, is one entry in its list: groovy:broadcast; mute or muffle it there (details) | no code: the sound event is registered (sound/) and plays as a vanilla sound in Jukebox/Note Blocks; IntegrationGameTests.jadeNamesAndTheSoundMufflersSee |
| Create | drills and saws leave a broadcast station alone (its tapes would spill) | data only: the block tag create:non_breakable holds #groovy:holds_value |
| KubeJS | ||
| FTB Quests | an example chapter for pack makers |
Other mods in ATM10 that change sound, and what they do to radios: Immersive Engineering's earmuffs turn the Jukebox/Note Blocks category down to 10 % by default, radios included (untick "record" on the earmuffs to keep them). Ad Astra's space muffler leaves radios alone. No other mod in the pack touches them.
Groovy has no prices, so it has no Medici integration.
Jade
Look at a block with Jade installed on the client and the server:
Broadcast Station: 91.7 MHz · Night Owl FM(the frequency alone when it has no name), then On the air, Off the air or Live, the song ('Rain on Glass' by Steve) while a tape plays, andRange 160 blocks, from this server's config and the mast on top.
Radio: 91.7 MHz, thenSignal 82% · Night Owl FM, No signal or Switched off.
Each can be turned off in Jade's settings (Broadcast Station, Radio, under Groovy).
CC:Tweaked
With CC:Tweaked 1.113.1 or newer, a computer next to a station or a radio, or a wired modem on one, sees a peripheral: groovy_station or groovy_radio. Every method runs on the server thread, so each call takes one game tick.
Frequencies are numbers in MHz, as on the dial: 87.5 to 108.0 in steps of 0.1. Anything else (91.75, 120) is an error, not rounded.
groovy_station
| method | returns | what it does |
|---|---|---|
getFrequency() | number | the frequency in MHz |
setFrequency(mhz) | nothing | moves the station to mhz. Only while the station is open to machines (below) |
getName() | string | the name its owner gave it; "" when it has none |
isOnAir() | boolean | radios hear it: switched on, redstone lets it, and a tape to play or someone live |
isLive() | boolean | someone plays a synthesizer live on it |
isEnabled() | boolean | its switch is on (redstone can still keep it off the air) |
play() | boolean | switches it on; the playlist picks up where it stopped. Returns whether it is on the air now. Only while open to machines |
pause() | nothing | switches it off: radios go quiet and the playlist waits where it is. Only while open to machines |
getNowPlaying() | table or nil | what it plays now (below); nil when it is off the air |
getRange() | number | how far radios hear it, in blocks, with its mast |
There is no skip: a station's playlist runs by the clock, and the station has no skip button either.
Who may change a station. A computer has no player behind it, and anyone can put one against someone else's station. So a computer reads everything, but changes a station only while its owner has opened it to machines: the Hoppers: open switch on the station's screen, the same one that lets hoppers and pipes reach the tapes. It is off on a new station. While it is off, setFrequency, play and pause fail with This station is closed to machines: its owner opens it on the station's screen (Hoppers: open).
groovy_radio
Anyone may tune a radio, so a computer may too.
| method | returns | what it does |
|---|---|---|
getFrequency() | number | the frequency it is tuned to, in MHz |
setFrequency(mhz) | nothing | tunes it |
getSignal() | number | the signal from the station it hears, 0 to 1 (1 at the station, 0 at the edge of its range); 0 while off |
getNowPlaying() | table or nil | what it plays now (below); nil while it is off or hears nothing |
isOn() | boolean | it is switched on |
setOn(on) | nothing | switches it on or off, as sneak-use does |
The now-playing table
| field | type | meaning |
|---|---|---|
station | string | the station's name, or its frequency ("91.7") when it has none |
frequency | number | the station's frequency in MHz |
live | boolean | someone plays live on the station |
title | string | the song's title ("" when untitled). Only while a tape plays |
author | string | who wrote it. Only while a tape plays |
slot | number | the tape slot playing, 1 to 6, as a comparator reads it. Only while a tape plays |
position | number | seconds into the song, to a tenth. Only while a tape plays |
length | number | the song's length in seconds, to a tenth. Only while a tape plays |
paused | boolean | the tapes wait while someone plays live. Only while a tape plays |
A station that is live with no tape in it gives station, frequency and live only.
Examples
What a radio plays, on a monitor:
local radio = peripheral.find("groovy_radio")
local monitor = peripheral.find("monitor")
while true do
monitor.clear()
monitor.setCursorPos(1, 1)
local now = radio.getNowPlaying()
if now == nil then
monitor.write("No signal")
elseif now.title then
monitor.write(("%s: '%s' by %s"):format(now.station, now.title, now.author))
else
monitor.write(now.station .. " (live)")
end
sleep(2)
end
A station that goes on the air at night (open it to machines first):
local station = peripheral.find("groovy_station")
while true do
local night = os.time() >= 18 or os.time() < 6
if night and not station.isEnabled() then station.play()
elseif not night and station.isEnabled() then station.pause() end
sleep(10)
end
ExtremeSoundMuffler
Everything Groovy plays is one sound, groovy:broadcast, in the Jukebox/Note Blocks category. In ExtremeSoundMuffler (3.57, as in ATM10 8.4) it is in "All sounds" before any radio has played, and in "Recent sounds" once one has. Muting it silences every radio and the synthesizer's preview at once, on the next tick; unmuting brings them back within a second, on the beat. Listing groovy in its modsMuffled config does the same. An anchor mutes the radios within its radius. While a sound is muffled, ExtremeSoundMuffler sets its volume itself and the Jukebox/Note Blocks slider no longer applies to it; that is how it treats every sound. Its play button for this entry is silent: the music is made while it plays, there is no file to preview.
Declared versions
What neoforge.mods.toml declares, and why. Every integration is type="optional": the mod starts without it, and NeoForge refuses only a version below the range, at startup, with a message that names the mod. The lower bound is the oldest version the code was compiled against or tested with, never * (mod/ holds the versions).
| mod | declared | why that bound |
|---|---|---|
| Jade | [15.10.6,) | compiled against and tested in ATM10 8.4 with 15.10.6 |
| JEI | [19.70.0.464,) | compiled against and tested in ATM10 8.4 with 19.70.0.464 |
| Patchouli | [1.21.1-93,) | the book and its recipe checked with 1.21.1-93 (ATM10 8.4); Patchouli for 1.21 has no book recipe type |
CC:Tweaked (computercraft) | [1.113.1,) | compiled against the 1.113.1 API, the oldest jar in ATM10 8.4; the compat test runs with 1.113.1 and with 1.120.2, which ATM10 8.4 loads |
| ExtremeSoundMuffler | not declared | the jar has no code or data for it; it works with the registered sound event |
| Create | not declared | a block tag only, which does nothing without Create |
| KubeJS, CraftTweaker | not declared | the jar has no code or data for them; pack makers use them on the mod's data, and the examples are tested |
| FTB Quests | not declared |
API notes
- Jade 15.10:
@WailaPlugin,IBlockComponentProvider(client) +IServerDataProvider<BlockAccessor>(server data, registered inregister(IWailaCommonRegistration)). Jade loads the plugin class on a dedicated server too, so it names no client class. - JEI 19.70:
@JeiPlugin,IRecipeRegistration.addIngredientInfo;IIngredientManager.removeIngredientsAtRuntimehides switched-off content (client only). - Patchouli 1.21.1-93:
PatchouliAPI.get().getBookStack(id); the book's recipe isminecraft:crafting_shapelesswithpatchouli:bookon the result (all four checked 2026-11-22). - CC:Tweaked 1.113.1 and 1.120.2: a peripheral is the block capability
PeripheralCapability.get(), registered withRegisterCapabilitiesEvent#registerBlockEntity; there is no peripheral provider on NeoForge.@LuaFunctionmethods may throw onlyLuaException(CC:Tweaked drops the method otherwise, with an ERROR) and should be final;mainThread = trueruns one on the server thread at the end of a tick. A peripheral is never told who placed the computer.AttachedComputerSetis new in 1.120.2: don't use it while 1.113.1 is the bound. The API artifact iscc.tweaked:cc-tweaked-1.21.1-forge-apionhttps:/; the mod artifact/ maven.squiddev.cc cc-tweaked-1.21.1-forgecarries Cobalt and JZlib inside. - A mixin into
SoundEngine#calculateVolumekeys every rule bySoundInstance#getLocation(); the "all sounds" list isBuiltInRegistries.SOUND_EVENT, so a mod's sound is listed only if its event is registered. Itsneoforge.mods.tomlnamesminecraft[1.21, 1.21.1), and NeoForge loads it on 1.21.1 anyway. - FTB Quests 2101.1.37 (FTB Library 2101.1.39):
new ServerQuestFile(server).readDataFull(folder, registries)reads a quest folder without touching the server's; a command reward runs atpermission_level(a legacyelevate_permsbecomes 2); quest ids above7FFFFFFFFFFFFFFFare replaced by random ones. - Create 6: drills and saws break any block not in the
create:non_breakableblock tag.