Yeah you don't really do that generally.
I'm assuming his mod file is all messy and statically constructs most of the objects was more of the point.
I don't know where he was formerly employed, last I heard he works for scaleform now(which is not really a game company.) What does that matter anyway, having a job programming doesn't instantly make you good at it. Wedge is modified world gen, I'm not sure how that would ever count as a library.
Anyway I'm not here to derail the thread or something, just pointing out mlg-pro-997k kid up there is full of it.
Here's what JAD gave me
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: mod_DarkMatter.java
import java.util.Random;
public class mod_DarkMatter extends BaseMod
{
public mod_DarkMatter()
{
}
public void load()
{
darkmatterOre.bN = ModLoader.addOverride("/terrain.png", "/mod_DarkMatter/darkmatterore.png");
darkmatterBlock.bN = ModLoader.addOverride("/terrain.png", "/mod_DarkMatter/darkmatterblock.png");
gravistoneBlock.bN = ModLoader.addOverride("/terrain.png", "/mod_DarkMatter/gravistoneblock.png");
darkmatterItem.bS = ModLoader.addOverride("/gui/items.png", "/mod_DarkMatter/darkmatteritem.png");
darkmatterPick.bS = ModLoader.addOverride("/gui/items.png", "/mod_DarkMatter/darkmatterpick.png");
darkmatterShovel.bS = ModLoader.addOverride("/gui/items.png", "/mod_DarkMatter/darkmattershovel.png");
darkmatterAxe.bS = ModLoader.addOverride("/gui/items.png", "/mod_DarkMatter/darkmatteraxe.png");
darkmatterHoe.bS = ModLoader.addOverride("/gui/items.png", "/mod_DarkMatter/darkmatterhoe.png");
darkmatterSword.bS = ModLoader.addOverride("/gui/items.png", "/mod_DarkMatter/darkmattersword.png");
ModLoader.registerBlock(darkmatterOre);
ModLoader.registerBlock(darkmatterBlock);
ModLoader.registerBlock(gravistoneBlock);
ModLoader.addName(darkmatterOre, "Darkmatter Ore");
ModLoader.addName(darkmatterBlock, "Darkmatter Block");
ModLoader.addName(gravistoneBlock, "Gravistone Block");
ModLoader.addName(darkmatterItem, "Darkmatter");
ModLoader.addName(darkmatterPick, "Darkmatter Pickaxe");
ModLoader.addName(darkmatterShovel, "Darkmatter Shovel");
ModLoader.addName(darkmatterAxe, "Darkmatter Axe");
ModLoader.addName(darkmatterHoe, "Darkmatter Hoe");
ModLoader.addName(darkmatterSword, "Darkmatter Sword");
ModLoader.addRecipe(new aan(darkmatterItem, 9), new Object[] {
"X", Character.valueOf('X'), darkmatterBlock
});
ModLoader.addRecipe(new aan(darkmatterBlock, 1), new Object[] {
"XXX", "XXX", "XXX", Character.valueOf('X'), darkmatterItem
});
ModLoader.addRecipe(new aan(darkmatterPick, 1), new Object[] {
"XXX", " | ", " | ", Character.valueOf('X'), darkmatterItem, Character.valueOf('|'), yr.D
});
ModLoader.addRecipe(new aan(darkmatterShovel, 1), new Object[] {
" X ", " | ", " | ", Character.valueOf('X'), darkmatterItem, Character.valueOf('|'), yr.D
});
ModLoader.addRecipe(new aan(darkmatterAxe, 1), new Object[] {
"XX ", "X| ", " | ", Character.valueOf('X'), darkmatterItem, Character.valueOf('|'), yr.D
});
ModLoader.addRecipe(new aan(darkmatterHoe, 1), new Object[] {
"XX ", " | ", " | ", Character.valueOf('X'), darkmatterItem, Character.valueOf('|'), yr.D
});
ModLoader.addRecipe(new aan(darkmatterSword, 1), new Object[] {
" X ", " X ", " | ", Character.valueOf('X'), darkmatterItem, Character.valueOf('|'), yr.D
});
ModLoader.addRecipe(new aan(darkmatterItem, 1), new Object[] {
"XX ", "XX ", " ", Character.valueOf('X'), pb.v
});
ModLoader.addRecipe(new aan(gravistoneBlock, 1), new Object[] {
"XXX", "XDX", "XXX", Character.valueOf('X'), pb.E, Character.valueOf('D'), darkmatterBlock
});
}
public void GenerateSurface(xd world, Random rand, int chunkX, int chunkZ)
{
for(int i = 0; i < 6; i++)
{
int randPosX = chunkX + rand.nextInt(4);
int randPosY = rand.nextInt(128);
int randPosZ = chunkZ + rand.nextInt(16);
(new eh(darkmatterOre.bO, 400)).a(world, rand, randPosX, randPosY, randPosZ);
}
}
public String getVersion()
{
return "1.2.5";
}
public static final pb darkmatterOre = (new BlockDarkMatterOre(150, 0)).a("darkmatterOre").c(9F).b(5F);
public static final pb darkmatterBlock = (new BlockDarkMatter(151, 0)).a("darkmatterBlock").c(4F).b(4F);
public static final pb gravistoneBlock = (new BlockGravistone(152, 0)).a("gravistoneBlock").c(4F).b(4F);
public static final yr darkmatterItem = (new yr(402)).a("darkmatterItem");
public static final yr darkmatterPick;
public static final yr darkmatterShovel;
public static final yr darkmatterAxe;
public static final yr darkmatterHoe;
public static final yr darkmatterSword;
static
{
darkmatterPick = (new au(403, uk.DM)).a("darkmatterPick");
darkmatterShovel = (new akd(404, uk.DM)).a("darkmatterShovel");
darkmatterAxe = (new nx(405, uk.DM)).a("darkmatterAxe");
darkmatterHoe = (new ic(406, uk.DM)).a("darkmatterHoe");
darkmatterSword = (new lx(407, uk.DM)).a("darkmatterSword");
}
}
Yah, I guess that is a lot of Statics. Personally, I find that in the mod_ class, they're really useful for config variables and global methods, but that's about it.
Also, yah Wedge is not based in a library that was my point all along
But I do know that he was involved with these guys, if not one of them:
First two days and already posted only reason not 30 minutes after i posted was my textures did the wrong size pixels!
Yah but for the WIKI on HOW TO ADD a new block to minecraft you copied the exact name of the tutorial block they are using... and you said you were making it have gravity and so does the tutorials... Stop being a skid...
Also your mod is so unoriginal. Adding more tools and another block... How many of those are released every day here on mcforums...
Guys, GUYS! Really? Talk about immature. All this guy wanted was a modder, and now you guys are arguing who is the best! Jeez. How about one of you actually MOD for him instead of trolling his post?
Guys, GUYS! Really? Talk about immature. All this guy wanted was a modder, and now you guys are arguing who is the best! Jeez. How about one of you actually MOD for him instead of trolling his post?
To be honost. Your friend is probably like 10 years old and his mom just bought him minecraft. Since he took a computer class in Elementary school he thinks he can code even though all he learned was vb.net. Now he thinks he is the worlds best coder because he figured out how to copie tutorials from a wikipage...
Here's what JAD gave me
Yah, I guess that is a lot of Statics. Personally, I find that in the mod_ class, they're really useful for config variables and global methods, but that's about it.
Also, yah Wedge is not based in a library that was my point all along
But I do know that he was involved with these guys, if not one of them:
http://www.batcountryentertainment.com/team.html
Yah but for the WIKI on HOW TO ADD a new block to minecraft you copied the exact name of the tutorial block they are using... and you said you were making it have gravity and so does the tutorials... Stop being a skid...
Also your mod is so unoriginal. Adding more tools and another block... How many of those are released every day here on mcforums...
But he's still a friend.
lol, if you say you are the best, you probably suck ****, the best modder i know of is eloraam, she is ****ing amazing.
Tell your friend to stop sucking and telling everyone how amazing he thinks he is then, maybe people won't rag on him.
Thank you
Jeez, he learnt to use modloader.
Yeah, and?