Jump to content

[1.7.2] OSCCraft: Open Sound Control integration


robertkhamilton

Recommended Posts

Hi all,

 

I've uploaded the source and mod .jar for OSCCraft, a forge-1.7.2 mod that output Open Sound Control messages for specific player and block-related events.

 

Files can be found at: https://github.com/robertkhamilton/osccraft

 

Here are a few specifics:

 

- Mod outputs player position data and block hit/destroyed events over OSC

- Built into the Minecraft Forge 1.7.2 framework and can be loaded as a standard mod

- Currently, output is simply hardcoded to "localhost:6666"

- Output namespaces for the initial release are just:

  => /osccraft/player <x> <y> <z> <pitch> <yaw> <player-id> <event-id>

  => /osccraft/block/hit <x> <y> <z> <block-side> <player-id> <event-id> <block-type> 

  => /osccraft/block/destroyed <x> <y> <z> <player-id> <event-id> <block-type> 

 

Player position (XYZ), rotation and player ID are output on each tick.

 

Block hit and destroyed messages include block location as well as player id and a limited block-type (just for a few major block types).

 

Block and player events are filtered to send to each Client (i.e. sent to localhost), though this can be easily tweaked in the source to show all client data to each client.

 

More updates to come. Any suggestions or comments would be appreciated.

 

Enjoy,

 

Rob

 

-------------------

rob hamilton

center for computer research in music and acoustics

stanford university

http://ccrma.stanford.edu/~rob

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.