Jump to content

tomtomtom0909

Members
  • Posts

    8
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

tomtomtom0909's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. It looks like your config file isn't being loaded you could try looking at this tutorial as it shows how to make a simple/advanced config file http://www.minecraftforge.net/wiki/How_to_make_an_advanced_configuration_file
  2. Thank you for the help on the first problem The second problem code didn't work, I'm wondering would using ICraftHandler be my best option or does this only work for minecraft containers?
  3. Hey guys Im looking for solutions/suggestions to improve very old code that doesn't work how I would expect it to anymore. First Code problem This code is used when the tent block has been clicked it builds a tent then re-clicked it destroys all blocks and drops the tent block depending which block to drop. When the tent drops the tent block at the moment it's running this code twice causing two blocks to drop but only one is pickable. Was wondering if anyone had a solution to make this code only run once when activated or an alternative code. Code Console message to show the code is running twice 2012-10-19 15:05:00 [iNFO] [sTDOUT] testTentBlock 1 2012-10-19 15:05:00 [iNFO] [sTDOUT] testTentBlock 1 2012-10-19 15:05:14 [iNFO] [sTDOUT] testTentBlock 2 2012-10-19 15:05:14 [iNFO] [sTDOUT] testTentBlock 2 2012-10-19 15:05:33 [iNFO] [sTDOUT] testTentBlock 3 2012-10-19 15:05:34 [iNFO] [sTDOUT] testTentBlock 3 Second Code problem This code is used in my tileEntityAnvil, in 1.2.5 I had my tileEntity abstract "public abstract class TileEntityAnvil extends TileEntity implements IInventory, ISidedInventory" but in 1.3.2 having my tileEntity abstract caused a duplication glitch when placing items in the slots. Changing the tileEntity to "public class TileEntityAnvil extends TileEntity implements IInventory, ISidedInventory" fixed the duplication error but every time the anvil repairs an item it destroys the iron hammer instead of causing damage to the hammer. Wondering if anyone had a solution or suggestion on a way to cause the anvil hammer to take damage after every repair instead of being destroyed. Code
  4. Im not sure how you would go about doing it in forge sorry But this Render Player API might do what your asking for also works with forge. http://www.minecraftforum.net/topic/1261354-132api-render-player-api/
  5. Didn't really make much different implementing ISidedInventory, Thank you anyway for all the help My best option will be to debug the code and hopefully find the solution that way
  6. Never noticed I had furnace code , I thought that bit of code was the problem at first as mine was different to the furnace so borrowed the furnace code for shift clicking but forgot to change some names around. This is my onBlockActivated code in blockAnvil, I don't see this code being the problem as I've been using it since 1.1 part from a few edits.
  7. Ya sure First picture This picture is the diamond spade I'm repairing and the iron hammer I'm using to repair the spade. Second/Third picture These two pictures are me pretty much trying to repair the diamond spade. I place the diamond spade in the item slot, but when i place the item it places a duplicate diamond spade, same with the iron hammer when placed in the hammer slot places a duplicate hammer which when i click both the duplicate items they just disappear. Does that make more sense at all?
  8. Hi I don't normally ask for help but after updating CampCraft to 1.3 I've been hit by a few strange bugs which I think its caused by the new lan feature in minecraft. I made some pictures illustrating the bug as I'm dyslexic I'm not the best at explaining things The real diamond spade and iron hammer I place both diamond spade and iron hammer in the right slots but creates duplicate items and I'm still left with the real items in the purple boxes *when the duplicate items are clicked they disappear. The repairing still happens and the diamond spade is repaired but creates a duplicate spade which when clicked/shift clicked disappears as well. The main code *not all the code. left out the code for the anvil but can post more if needed CampCraft ClientProxy GuiHandler Anvil Container AnvilGui
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.