Resource = resource pack, mod, etc
All commands offer plumbing versions --plumbing
. This offers machine readable output. Example below:
$ craft login username password
DONE success
---- Minecraft Crash Report ---- | |
// I let you down. Sorry :( | |
Time: 2/17/14 4:38 PM | |
Description: Rendering Block Entity | |
java.lang.NullPointerException: Rendering Block Entity | |
at k2b6s9j.boatcraft.api.registry.ModifierRegistry$.getModifier(ModifierRegistry.scala:49) | |
at k2b6s9j.boatcraft.api.Boat$RenderCustomBoat.renderItem(Boat.scala:400) | |
at k2b6s9j.boatcraft.api.Boat$RenderCustomBoat.renderItem(Boat.scala:330) |
---- Minecraft Crash Report ---- | |
// I let you down. Sorry :( | |
Time: 4/30/14 4:50 PM | |
Description: Initializing game | |
java.lang.NoClassDefFoundError: thaumcraft/api/aspects/AspectList | |
at java.lang.Class.getDeclaredMethods0(Native Method) | |
at java.lang.Class.privateGetDeclaredMethods(Class.java:2531) | |
at java.lang.Class.getDeclaredMethods(Class.java:1855) |
require 'base64' | |
require 'json' | |
require 'net/http' | |
manifest = JSON.parse(IO.read('build/libs/manifest.json')) | |
req = Net::HTTP::Post.new('/builds.json', 'Content-Type' => 'application/json') | |
req['X-User-Email'] = ENV['HBD_EMAIL_PROD'] | |
req['X-User-Token'] = ENV['HBD_TOKEN_PROD'] | |
req.body = manifest.to_json |
package k2b6s9j.rubycraft; | |
import org.jruby.Ruby; | |
import org.jruby.RubyObject; | |
import org.jruby.runtime.Helpers; | |
import org.jruby.runtime.builtin.IRubyObject; | |
import org.jruby.javasupport.JavaUtil; | |
import org.jruby.RubyClass; | |
import cpw.mods.fml.common.Mod; | |
import cpw.mods.fml.common.event.FMLPreInitializationEvent; |
*[master][~MCBREW_DIRECTORY]$ irb rvm:ruby-2.1.2 | |
2.1.2 :001 > require_relative 'sandboxes/vanilla/vanilla' | |
=> true | |
2.1.2 :002 > vanilla = Vanilla.new | |
=> #<Vanilla:0x007fe7c90dd870> | |
2.1.2 :003 > vanilla.run | |
[18:45:40] [Server thread/INFO]: Starting minecraft server version 1.7.10 | |
[18:45:40] [Server thread/INFO]: Loading properties | |
[18:45:40] [Server thread/WARN]: server.properties does not exist | |
[18:45:40] [Server thread/INFO]: Generating new properties file |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6154.17" systemVersion="14A261i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="c2g-df-8MK"> | |
<dependencies> | |
<deployment defaultVersion="1792" identifier="iOS"/> | |
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6153.11"/> | |
</dependencies> | |
<scenes> | |
<!--Dictonary View Controller--> | |
<scene sceneID="5"> | |
<objects> |
import java.util.Scanner | |
class Life { | |
void show(boolean[][] grid){ | |
s = "" | |
for(boolean[] row : grid){ | |
for(boolean val : row) | |
if(val) | |
s += "*" | |
else |
import java.util.Random | |
/** | |
* Models a playing die with sides numbered 1 to N. | |
* All sides have uniform probablity of being rolled. | |
* | |
* @author Summer CS 307 class | |
*/ | |
class Die | |
{ static final DEFAULT_SIDES = 6; |
Verifying I am +k2b6s9j on my passcard. https://onename.com/k2b6s9j |