Updated on Dec 30th, 2011, 12/30/11 3:34 am
Published Dec 30th, 2011, 12/30/11 2:06 am
Published Dec 30th, 2011, 12/30/11 2:06 am
- 8,315 views, 2 today
- 607 downloads, 0 today
26
This mod will not change already loaded dungeons. To be sure it works, you will have to make a new map.
So I was bored.
Me + 15 Minutes + Idea + GoingQuantum = Better Dungeon Loot Mod
You will immediately notice FAR BETTER dungeon loot.
This mod idea came from me deciding to create it after a random forum topic here:
http://www.planetminecraft.com/forums/what-you-think-about-current-dungeon-loot-t36911.html
Source that I edited in the WorldGenDungeon.java:
private ItemStack pickCheckLootItem(Random random)
{
int i = random.nextInt(13);
if(i == 0)
{
return new ItemStack(Item.blazeRod, random.nextInt(5) + 1);
}
if(i == 1 && random.nextInt(4) == 0)
{
return new ItemStack(Item.diamond, random.nextInt(4) + 1);
}
if(i == 2)
{
return new ItemStack(Item.slimeBall, random.nextInt(5) + 1);
}
if(i == 3)
{
return new ItemStack(Item.bread, random.nextInt(6) + 1);
}
if(i == 4)
{
return new ItemStack(Item.arrow, random.nextInt(31) + 1);
}
if(i == 5)
{
return new ItemStack(Item.ingotIron, random.nextInt(10) + 1);
}
if(i == 6)
{
return new ItemStack(Block.blockGold, random.nextInt(3) + 1);
}
if(i == 7 && random.nextInt(1) == 0)
{
return new ItemStack(Item.appleGold, random.nextInt(6) + 1);
}
if(i == 8 && random.nextInt(3) == 0)
{
return new ItemStack(Item.potion, 2, 16428);
}
if(i == 9)
{
return new ItemStack(Item.potion, 2, 8229);
}
if(i == 10)
{
return new ItemStack(Block.tnt, 2);
} else
if(i == 11)
{
return new ItemStack(Item.beefCooked, random.nextInt(7) + 1);
}
if(i == 12)
{
return new ItemStack(Item.cake);
}
{
return null;
}
}
So I was bored.
Me + 15 Minutes + Idea + GoingQuantum = Better Dungeon Loot Mod
You will immediately notice FAR BETTER dungeon loot.
This mod idea came from me deciding to create it after a random forum topic here:
http://www.planetminecraft.com/forums/what-you-think-about-current-dungeon-loot-t36911.html
Source that I edited in the WorldGenDungeon.java:
private ItemStack pickCheckLootItem(Random random)
{
int i = random.nextInt(13);
if(i == 0)
{
return new ItemStack(Item.blazeRod, random.nextInt(5) + 1);
}
if(i == 1 && random.nextInt(4) == 0)
{
return new ItemStack(Item.diamond, random.nextInt(4) + 1);
}
if(i == 2)
{
return new ItemStack(Item.slimeBall, random.nextInt(5) + 1);
}
if(i == 3)
{
return new ItemStack(Item.bread, random.nextInt(6) + 1);
}
if(i == 4)
{
return new ItemStack(Item.arrow, random.nextInt(31) + 1);
}
if(i == 5)
{
return new ItemStack(Item.ingotIron, random.nextInt(10) + 1);
}
if(i == 6)
{
return new ItemStack(Block.blockGold, random.nextInt(3) + 1);
}
if(i == 7 && random.nextInt(1) == 0)
{
return new ItemStack(Item.appleGold, random.nextInt(6) + 1);
}
if(i == 8 && random.nextInt(3) == 0)
{
return new ItemStack(Item.potion, 2, 16428);
}
if(i == 9)
{
return new ItemStack(Item.potion, 2, 8229);
}
if(i == 10)
{
return new ItemStack(Block.tnt, 2);
} else
if(i == 11)
{
return new ItemStack(Item.beefCooked, random.nextInt(7) + 1);
}
if(i == 12)
{
return new ItemStack(Item.cake);
}
{
return null;
}
}
Credit | um...me? |
Progress | 100% complete |
Game Version | Minecraft 1.0 |
Tags |
tools/tracking
445954
7
better-dungeon-loot
Create an account or sign in to comment.
Then right click on minecraft.jar --> Open with --> WinRar
(You need winrar for that http://www.win-rar.com/download.html)
Drag the acj.class into the minecraft.jar
Delete the folder in your minecraft.jar called "META-INF"