Why Minecraft?
• Cheap ($26.95!) 3D Engine
• Java
• Vast community of developers
(‘modders’)
• Plugin Architecture (via Fo...
Getting Started
• Prerequisites:
– Java JDK 6 or 7
– An 8-15 year old helper (optional, but
recommended!)
• Buy, download,...
A Blast from the Past:
Client-Server!
• One Minecraft server may support
many clients
• Server maintains world state for a...
Going Beyond the
Basics
• Calling Web APIs
– Pick your favorite Java HTTP client
– Modify Forge’s build.gradle to create a...
Forcecraft
• “What if I generated an entire
dimension based on account data
from Salesforce?”
– Neuromancer’s Cyberspace
–...
Eye Candy!!!
Image used under CC-BY-NC. Attribution: BarracudaATA on minecraft.gamepedia.com
Code
APIs in Play
• OAuth 2.0 Resource Owner
Password Credentials Grant
– Username/password
• Force.com REST API
– /services/da...
An Alternate Direction
• Minecraft Pi Edition
– pi.minecraft.net
– Similar to early versions of Pocket Edition
(Android/iO...
Business Data Visualization... in Minecraft!
Business Data Visualization... in Minecraft!
Upcoming SlideShare
Loading in …5
×

Business Data Visualization... in Minecraft!

3,816 views

Published on

Look at your business data in a new way! This session, presented by Pat Patterson at GlueCon 2014, explains some of the workings of Minecraft, how to create 'mods' to extend the base game, and how to pull data from Web APIs such as the Force.com REST API.

Published in: Software, Technology, Education
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
3,816
On SlideShare
0
From Embeds
0
Number of Embeds
358
Actions
Shares
0
Downloads
11
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Business Data Visualization... in Minecraft!

  1. 1. Why Minecraft? • Cheap ($26.95!) 3D Engine • Java • Vast community of developers (‘modders’) • Plugin Architecture (via Forge etc) • Access to source code (kinda) • It’s fun! Image used under CC-BY-NC. Attribution: Orthotope on minecraft.gamepedia.com
  2. 2. Getting Started • Prerequisites: – Java JDK 6 or 7 – An 8-15 year old helper (optional, but recommended!) • Buy, download, install Minecraft – minecraft.net/store/minecraft • Download, install Forge (src build) – www.minecraftforge.net/wiki/Installation/Source • Follow some tutorials – www.minecraftforge.net/wiki/Tutorials Image used under CC-BY-NC. Attribution: Ventury on minecraft.gamepedia.com
  3. 3. A Blast from the Past: Client-Server! • One Minecraft server may support many clients • Server maintains world state for all players • Client renders world for a player • Mods can be server-only, client-only, or client+server Image used under CC-BY-NC. Attribution: BarracudaATA on minecraft.gamepedia.com
  4. 4. Going Beyond the Basics • Calling Web APIs – Pick your favorite Java HTTP client – Modify Forge’s build.gradle to create an ‘uber- jar’ – Use the Gradle Shadow plugin to shade your external dependencies • github.com/johnrengelman/shadow Image used under CC-BY-NC. Attribution: BarracudaATA on minecraft.gamepedia.com
  5. 5. Forcecraft • “What if I generated an entire dimension based on account data from Salesforce?” – Neuromancer’s Cyberspace – github.com/metadaddy-sfdc/Forcecraft
  6. 6. Eye Candy!!! Image used under CC-BY-NC. Attribution: BarracudaATA on minecraft.gamepedia.com
  7. 7. Code
  8. 8. APIs in Play • OAuth 2.0 Resource Owner Password Credentials Grant – Username/password • Force.com REST API – /services/data/v29.0/query?q=SELECT+… – /services/data/v29.0/sobjects/Account/… • Force.com Streaming API – new BayeuxClient( salesforceStreamingEndpoint(endpoint), transport); Image used under CC-BY-NC. Attribution: BarracudaATA on minecraft.gamepedia.com
  9. 9. An Alternate Direction • Minecraft Pi Edition – pi.minecraft.net – Similar to early versions of Pocket Edition (Android/iOS) • API included! – Python, Java client libs bundled – Ruby, Node.js and more from community • Real world / game world interaction via Raspberry Pi GPIO pins – bit.ly/rpi-mc Images used under CC-BY-NC. Attribution: Majr on minecraft.gamepedia.com

×