Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • mardiff

mardiff

Members
 View Profile  See their activity
  • Content Count

    158
  • Joined

    January 24, 2013
  • Last visited

    March 4, 2014

Community Reputation

21 Excellent

About mardiff

  • Rank
    Creeper Killer

Converted

  • Gender
    Undisclosed
  • Personal Text
    Have a good day!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. mardiff started following [SOLVED] Spawning Particles with an Item, Working Fluid Tank?, [Solved] Lemming's Fluid System and and 2 others February 1, 2017
  2. mardiff

    [1.6.4][SOLVED]Armor not giving player wearing it potion effects

    mardiff replied to The_Fireplace's topic in Modder Support

    So just to clarify, what do the if statements return that are checking whether or not the player is wearing the armor? We really don't know what the exact problem is...
    • February 23, 2014
    • 10 replies
  3. mardiff

    java.lang.ClassCastException when opening GUI of custom furnace

    mardiff replied to MatthewGB's topic in Modder Support

    Sorry for snapping at you then. Post your gui handler, your container, and your gui. Also, just go through every class and make sure the TileEntityFurnace isn't imported. Thst should immediately point out your problem.
    • February 23, 2014
    • 13 replies
  4. mardiff

    [1.7.2]Gui controls redstone power state of block

    mardiff replied to KeeganDeathman's topic in Modder Support

    Packets. Most likely I would send a packet to the tile entity if you have one for consistencies sake, and then have the tile entity update the blocks state like the furnace does. Since packets have changed a lot in 1.7, look here for how to use them: www.minecraftforge.net/wiki/Netty_Packet_Handling
    • February 23, 2014
    • 4 replies
  5. mardiff

    java.lang.ClassCastException when opening GUI of custom furnace

    mardiff replied to MatthewGB's topic in Modder Support

    If you had any idea what you were doing you would know exactly where to look when I said that. public class TileEntityEFurnace extends TileEntityFurnace implements ISidedInventory
    • February 23, 2014
    • 13 replies
  6. mardiff

    Question about onKillEntity()

    mardiff replied to Rahsennor's topic in Modder Support

    Id recommend using the LivingDeathEvent.
    • February 22, 2014
    • 2 replies
  7. mardiff

    java.lang.ClassCastException when opening GUI of custom furnace

    mardiff replied to MatthewGB's topic in Modder Support

    Don't extend TileEntityFurnace. Extend TileEntity.
    • February 22, 2014
    • 13 replies
  8. mardiff

    [1.7.2] Block, for specified player

    mardiff replied to DoctorBooooom's topic in Modder Support

    Maybe you shouldn't be yelling at him for not knowing English and should instead try to answer his question. Oh, and by the way, it's syntaxes.
    • February 17, 2014
    • 15 replies
  9. mardiff

    [1.7.2][SOLVED] Create custom armor

    mardiff replied to Hackbaellchen's topic in Modder Support

    They really didn't... it's the same thing except EnumArmorMaterial is just Armor Material.
    • February 16, 2014
    • 7 replies
  10. mardiff

    [1.7.2] NBT not working???

    mardiff replied to CaptainMiner's topic in Modder Support

    Show us your main class and your onBlockActivated in your block too.
    • February 16, 2014
    • 14 replies
  11. mardiff

    [1.6.4] Change icon texture based on its state

    mardiff replied to Camulorix's topic in Modder Support

    If you know how to use metadata then use getIconFromDamage.
    • February 16, 2014
    • 2 replies
  12. mardiff

    [1.7] Send inventory updates

    mardiff replied to mrkirby153's topic in Modder Support

    Umm... I thought it was pretty self explanatory... the three methods take a variable from the tile entity and send it to the gui. Since the gui can't read the tile entity since it's on the client and the tile is on the server, the container has to manage their variables to make sure they are the same. That's why you see these methods check if, for example, the last burn time of the gui is the same as the tile entity. If you want to use them, just sub in your variables that you'll be using. If you only want to do exactly what you said in the first post, then just edit the gui. The container should do everything you'd like, but if not, just sub in your variables for the already-existing ones.
    • February 15, 2014
    • 6 replies
  13. mardiff

    Gui not appearing on right click

    mardiff replied to bigbaddevil6's topic in Modder Support

    Well, you've got SuperNova.guiIdOxidizer in the server side switch when you're looking for the fragmenter I do believe. Be careful how you copy and paste.
    • February 15, 2014
    • 3 replies
  14. mardiff

    [1.7] Send inventory updates

    mardiff replied to mrkirby153's topic in Modder Support

    Look at the vanilla furnace. To send the integer to the GUI, the container uses three methods. I think they're detectAndSendChanges, addCraftingToCrafters, and updateProgessBar. To have the time update, look at how the TileEntityFurnace class manages burnTime in updateEntity(). (Geez, I really need to do something different if I can remember all of that...)
    • February 15, 2014
    • 6 replies
  15. mardiff

    Setting ItemStack Damage

    mardiff replied to TLHPoE's topic in Modder Support

    Check the onUpdate method. It does exactly what Alias said it does as long as the entity is a player.
    • February 15, 2014
    • 3 replies
  16. mardiff

    [1.7] Send inventory updates

    mardiff replied to mrkirby153's topic in Modder Support

    The furnace already sends an integer to the GUI, so al you would need to do is change where it gets the cook progress scaled and renders that as an image to just draw the burn time, cook time, or whatever you're looking for. Only the GUI should need to be changed as the container and the tile entity already take care of everything for you.
    • February 15, 2014
    • 6 replies
  • All Activity
  • Home
  • mardiff
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community