Skip to content

Instantly share code, notes, and snippets.

@bloxgate
Created August 4, 2012 21:53
Show Gist options
  • Save bloxgate/3260220 to your computer and use it in GitHub Desktop.
Save bloxgate/3260220 to your computer and use it in GitHub Desktop.
package net.minecraft.src;
import java.util.Random;
public class mod_dragonEgg extends BaseMod{
@Override
public String getVersion()
{
return "Craftable Dragon Eggs Alpha 1.1";
}
@Override
public void load(){
}
public mod_dragonEgg(){}
public void addRecipes(){
ModLoader.addRecipe(new ItemStack(Block.dragonEgg, 1), new Object[]{"#X#", "#Y#", "###", Character.valueOf('#'), Block.obsidian, Character.valueOf('X'), Block.glowStone, Character.valueOf('Y'), Item.eyeOfEnder
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment