Compatibility
Minecraft: Java Edition
1.21.1
1.20.1–1.20.6
Platforms
Supported environments
Server-side
Singleplayer
Links
Tags
Creators
Details
Licensed ARR
Published 2 years ago
Updated 4 days ago
CC: WATERMeDIA
Adds compability between CC: Tweaked and WaterFrames
Peripheral API
| Function | Arguments | Returns | Description |
|---|---|---|---|
getUrl |
string |
The URL currently loaded on the display. | |
setUrl |
url: string |
boolean |
Sets the display's URL. Returns false if url isn't a valid URI. |
getActive |
boolean |
Whether the display is switched on. | |
setActive |
active: boolean |
boolean |
Switches the display on/off. |
getMute |
boolean |
Whether the display's audio is muted. | |
setMute |
mute: boolean |
boolean |
Mutes/unmutes the display's audio. |
getPause |
boolean |
Whether playback is paused. | |
setPause |
pause: boolean |
boolean |
Pauses/resumes playback. |
getVolume |
number |
The current volume. | |
setVolume |
volume: number |
boolean |
Sets the volume. |
setLoop |
loop: boolean |
boolean |
Sets whether the current media repeats. |
getTick |
number |
The current playback tick. | |
setTick |
tick: number |
boolean |
Seeks playback to the given tick. |
getMaxTick |
number |
The playback length, in ticks. | |
setMaxTick |
tickMax: number |
boolean |
Overrides the playback length, in ticks. |


