Mineuniverse
Log in Register
Plugins

RaspberryJuice

RaspberryJuice
by _ForgeUser7056572
Download Claim this project
39,122 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Developer Tools Fun Mechanics World Editing and Management

Want to try to program with the Minecraft Pi API but with the full version of Minecraft? RaspberryJuice implements the Minecraft Pi modding API for Bukkit servers.

The plugin listens on port 4711, and accept most of the Minecraft Pi commands, which are documented at http://wiki.vg/Minecraft_Pi_Protocol .

The plugin supports the majority of the api's supplied with the Pi edition and most examples will work.

Minecraft Forums thread

 

Currently implemented commands:
world.getBlock
world.getBlockWithData
world.setBlock
world.setBlocks
world.getPlayerIds
chat.post
events.clear
events.block.hits
player.getTile
player.setTile
player.getPos
player.setPos
world.getHeight
entity.getTile
entity.setTile
entity.getPos
entity.setPos

 

Extra features(^):

getBlocks(x1,y1,z1,x2,y2,z2) has been implemented
getDirection, getRotation, getPitch functions - get the 'direction' players and entities are facing
getPlayerId(playerName) - get the entity of a player by name
pollChatPosts() - get events back for posts to the chat
 

Config (in config.yml):
- port: 4711 - the default tcp port can be changed in config.yml
- location: RELATIVE - determine whether locations are RELATIVE to the spawn point (default like pi) or ABSOLUTE

-  hitclick: RIGHT - determine whether hit events are triggered by LEFT clicks, RIGHT clicks or BOTH

 

^ to use the extra features an modded version of the java and python libraries that were originally supplied by Mojang with the Pi is required, https:github.com/zhuowei/RaspberryJuice/tree/master/src/main/resources/mcpi. You only need the modded libraries to use the extra features, the original libraries still work, you just wont be able to use the extra features

 

Example:

This Python script builds a rainbow near the spawn. Place this example in the api/python directory of the Minecraft Pi prerelease, start the server on the same computer, and run python name.py to run, replacing name.py with the actual name of the script.

import mcpi.minecraft as minecraft
import mcpi.block as block
from math import *

colors = [14, 1, 4, 5, 3, 11, 10]

mc = minecraft.Minecraft.create()
height = 60

mc.setBlocks(-64,0,0,64,height + len(colors),0,0)
for x in range(0, 128):
        for colourindex in range(0, len(colors)):
                y = sin((x / 128.0) * pi) * height + colourindex
                mc.setBlock(x - 64, y, 0, block.WOOL.id, colors[len(colors) - 1 - colourindex])

Result: http://i.imgur.com/3SFrE.png

Further examples can be found at http:www.stuffaboutcode.com/p/minecraft.html

RaspberryJuice v1.11
MC 1.12
Release 2017-11-01 Get
RaspberryJuice v1.10
MC 1.12
Release 2017-08-10 Get
RaspberryJuice v1.9.1
MC 1.7.2, CB 1.7.9-R0.2, 1.9, CB 1.6.4-R1.0, CB 1.7.2-R0.2, CB 1.6.4-R2.0, 1.11, 1.7.4, 1.8.3, 1.8.1, CB 1.7.2-R0.1, 1.6.4, 1.8, CB 1.7.2-R0.3, 1.12, CB 1.7.9-R0.1, 1.10
Release 2017-06-23 Get
RaspberryJuice v1.9
MC 1.9, 1.11, 1.8, 1.10
Release 2017-01-19 Get
RaspberryJuice v1.8
MC 1.9
Release 2016-05-02 Get
RaspberryJuice v1.7
MC 1.8.1
Release 2015-04-19 Get
RaspberryJuice v1.6
MC 1.8
Release 2015-01-11 Get
Raspberry Juice v1.5
MC CB 1.7.9-R0.2
Release 2014-11-25 Get
RaspberryJuice v1.4.2
MC CB 1.7.9-R0.2
Release 2014-11-21 Get
RaspberryJuice v1.4
MC CB 1.6.4-R2.0
Release 2014-09-16 Get
RaspberryJuice v1.3
MC CB 1.6.4-R2.0
Release 2014-03-27 Get
RaspberryJuice v1.2
MC CB 1.4.7-R1.0
Release 2013-02-25 Get
RaspberryJuice v1.1.1
MC CB 1.4.6-R0.3
Release 2013-01-09 Get
RaspberryJuice v1.1
MC CB 1.4.6-R0.3
Release 2013-01-08 Get

More from _ForgeUser7056572

MoreAirstrike
9,784
PigGrinder
9,050
SpoutInstantCamera
8,497
MoreAutoReloader
3,681
BuildACreeper
2,426
OldTitleScreen
17,907

You Might Also Like

WorldGuard Custom Flags
WorldGuard Custom Flags
97,851
HoloAPI
Advanced and powerful holographic displays
93,959
Minequery
Minequery
91,099
SQLibrary
SQLibrary aims to streamline driver wrappers in Java for every database engine
85,675
WolfyUtilities
Utils and APIs: Config, Language and Inventory API, Protection Utils: WorldGuard, LWC, PlotSquared
84,728
DisguiseTester
Experiment with disguises!
9,677