Well then, now that I see that it's not some crazy virus that wants to release my information to some third world ninja assassins, I shall download it and check it out, thank you.
I'm unable to see the pictures, this is most likely because you're hosting the pictures on the website, which is currently unavailable.
It would be wise to upload using photobucket, or imgur.
Needless to say, this is looking pretty sketchy.
There. Now all pictures are hosted on imgur. I didn't quite understand how this worked and didn't realize hosting the pictures on my site would be a problem. Can anyone still not view the site or see the pictures?
After 7 months of development, MelPy Mod is finally done! Basic information and the download link will be posted here, but I recommend going to this website (tested on IE, Firefox, and Chrome) my friend made for the mod:
Info for people that can't view the site (really brief):
Don't bother reading this if you can view the site in any way
-Melons: Can now be worn on the head. -Pylon: Traffic cone, for construction sites and such. -Pebblestone: Like cobblestone but better. -Herbs: Sometimes restore health when consumed. -Grinder: Furnace-like block that breaks stones into smaller pieces (cobble into gravel, gravel into sand, etc.) and runs on oil from smelting wheat seeds. -Gold Trim Blocks: Crafting tables, furnaces, etc can now be plated with gold. -Sliding Window: Window that opens and shuts with a right click and with redstone. -Glow Glass: Prettier than glass and glows like glowstone. Can be crafted into panes and glowing sliding windows. -Dinner Plate: Stores and displays one food item. Very pretty in the dining room. Right click with food in hand to place on a plate. -Moosh Block: Turns cows into mooshrooms with a bolt of lightning when built into the Mooshrine (expensive structure of iron and gold blocks.) -Cactus Pressure Plate: Deletes items and damages enemies after sending out a redstone pulse. Can be used with a dispensor to make a precise number of pulses. -Achievements: Various achievements for crafting certain things and for activating the Mooshrine.
Screenshots:
New Melon
Pylon
Pebblestone
Herbs
Grinder
Gold-Trim Blocks
Sliding Window
Glow Glass
Glow Pane
Glow Window
Dinner Plate
Moosh Block
Cactus Pressure Plate
Crafting and Smelting Recipes
Other Recipes:
Crafting Block + Gold Nugget --> Gold Version of That Block
Sliding Window recipe with Glow Pane instead --> Glow Window
Stone in Grinder --> Cobblestone
Cobblestone in Grinder --> Gravel
Gravel in Grinder --> Sand
Sandstone in Grinder --> Sand (Amount depends on type of sandstone)
Glowstone in Grinder --> 4 Glowstone dust every time
Mod Spotlight by TheSeanDono:
Installation for people that can't view the site
To install, download and unzip the latest universal file from http://files.minecraftforge.net/ and drag all the .class files into your minecraft.jar (open minecraft.jar with winrar or 7-zip). Then download and drag in the MelPy file below (the folder titled "MelPy" containing .class files) and delete META-INF. More in-depth install instructions on www.melpymod.com.
My mod was in modloader and i switched to forge for infinite textures between 1.3.2 and 1.4.2. I just found a way to circumvent both modloaders. (sorta)
I went to BlockFurnace.java (my block is a custom furnace) and found this:
public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9)
{
if (par1World.isRemote)
{
return true;
}
else
{
TileEntityFurnace var10 = (TileEntityFurnace)par1World.getBlockTileEntity(par2, par3, par4);
if (var10 != null)
{
par5EntityPlayer.displayGUIFurnace(var10);
}
return true;
}
}
Which led me to EntityPlayerMP.java where I found this:
I put that code into my block as this (I replaced the names of some things with punctuation):
@Override
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int i, float a, float b, float c)
{
TileEntity%%% ### = (TileEntity%%%)world.getBlockTileEntity(x, y, z);
if (world.isRemote)
{
return true;
}
else
{
EntityPlayerMP playermp = (EntityPlayerMP)player;
playermp.incrementWindowID();
playermp.playerNetServerHandler.sendPacketToPlayer(new Packet100OpenWindow(playermp.currentWindowId, &&&, ###.getInvName(), ###.getSizeInventory()));
playermp.openContainer = new Container%%%(playermp.inventory, ###);
playermp.openContainer.windowId = playermp.currentWindowId;
playermp.openContainer.addCraftingToCrafters(playermp);
return true;
}
}
I can pick things up mostly ok (shift clicking is glitchy) but it won't smelt, and might not craft in your case. Ideas?
Nevermind I fixed it. I put the detection of redstone directly into the setBlockBoundsBasedOnState and worked with it. I phased out onNeighborBlockChange for anyone struggling with trying to get something to work.
I'm not quite sure what you mean by it only half working, could you possibly provide pictures?
By halfway I mean that I know the method setWindowState runs when the block is activated by redstone because it takes two activations to get the block to change it's size, but the method setBlockBoundsBasedOnState only runs when the block is activated. Redstoning changes the metadata but not the size, while activation changes the metadata then uses it to change the size.
0
I might add a sliding glass door and pebblestone stairs and the like. Many textures will be updated, especially the pebblestone.
0
Thank you much! I'll try to update the mod for 1.5 within a few days of when it comes out.
0
They were the hardest thing in the mod to code. I'm glad you like them!
0
Thank you very much, sir/ma'am/other!
0
0
Very strange. What web browser are you using?
0
There. Now all pictures are hosted on imgur. I didn't quite understand how this worked and didn't realize hosting the pictures on my site would be a problem. Can anyone still not view the site or see the pictures?
0
Thank you very much for the support! I'm glad to see people enjoying my mod.
0
Pictures and everything are up for people unable to view the site.
0
The website gets backed up sometimes but it should work if you try again later. Pictures will be up sometime this afternoon.
I would love a mod spotlight! Thank you! Link here when you're done?
1
After 7 months of development, MelPy Mod is finally done! Basic information and the download link will be posted here, but I recommend going to this website (tested on IE, Firefox, and Chrome) my friend made for the mod:
http://www.melpymod.com
Info for people that can't view the site (really brief):
Don't bother reading this if you can view the site in any way
-Melons: Can now be worn on the head.
-Pylon: Traffic cone, for construction sites and such.
-Pebblestone: Like cobblestone but better.
-Herbs: Sometimes restore health when consumed.
-Grinder: Furnace-like block that breaks stones into smaller pieces (cobble into gravel, gravel into sand, etc.) and runs on oil from smelting wheat seeds.
-Gold Trim Blocks: Crafting tables, furnaces, etc can now be plated with gold.
-Sliding Window: Window that opens and shuts with a right click and with redstone.
-Glow Glass: Prettier than glass and glows like glowstone. Can be crafted into panes and glowing sliding windows.
-Dinner Plate: Stores and displays one food item. Very pretty in the dining room. Right click with food in hand to place on a plate.
-Moosh Block: Turns cows into mooshrooms with a bolt of lightning when built into the Mooshrine (expensive structure of iron and gold blocks.)
-Cactus Pressure Plate: Deletes items and damages enemies after sending out a redstone pulse. Can be used with a dispensor to make a precise number of pulses.
-Achievements: Various achievements for crafting certain things and for activating the Mooshrine.
Screenshots:
New Melon
Pylon
Pebblestone
Herbs
Grinder
Gold-Trim Blocks
Sliding Window
Glow Glass
Glow Pane
Glow Window
Dinner Plate
Moosh Block
Cactus Pressure Plate
Crafting and Smelting Recipes
Other Recipes:
Crafting Block + Gold Nugget --> Gold Version of That Block
Sliding Window recipe with Glow Pane instead --> Glow Window
Stone in Grinder --> Cobblestone
Cobblestone in Grinder --> Gravel
Gravel in Grinder --> Sand
Sandstone in Grinder --> Sand (Amount depends on type of sandstone)
Glowstone in Grinder --> 4 Glowstone dust every time
Mod Spotlight by TheSeanDono:
Installation for people that can't view the site
To install, download and unzip the latest universal file from http://files.minecraftforge.net/ and drag all the .class files into your minecraft.jar (open minecraft.jar with winrar or 7-zip). Then download and drag in the MelPy file below (the folder titled "MelPy" containing .class files) and delete META-INF. More in-depth install instructions on www.melpymod.com.
Download: http://adf.ly/HFpN5
Please tell minecrafters you think would like this about MelPy and add MelPy to mod lists and archives you know of.
This document is Copyright ©(Farmbot26) of (hereafter referred to as "The Owner") and is the intellectual property of The Owner. Only Minecraftforum.net and mcmodcenter.net is able to host any of The Owner's material without the consent of The Owner. It may not be placed on any other web site or otherwise distributed publicly without advance written permission. (Electronic mail is acceptable as long as you wait for a response.) If you mirror this mod page or anything The Owner has made on any other site, The Owner may seek compensation for the damages through a lawsuit.
0
I went to BlockFurnace.java (my block is a custom furnace) and found this:
Which led me to EntityPlayerMP.java where I found this:
I put that code into my block as this (I replaced the names of some things with punctuation):
I can pick things up mostly ok (shift clicking is glitchy) but it won't smelt, and might not craft in your case. Ideas?
0
0
0
By halfway I mean that I know the method setWindowState runs when the block is activated by redstone because it takes two activations to get the block to change it's size, but the method setBlockBoundsBasedOnState only runs when the block is activated. Redstoning changes the metadata but not the size, while activation changes the metadata then uses it to change the size.