Jump to content

GravityBurger

Forge Modder
  • Posts

    19
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    Maker of Fry The World Mod

GravityBurger's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Sorry about that. I changed a few things and now it needs to be activated by a shift-right click.
  2. I'm trying to make a strobe light block that changes the block (like a furnace). I need it to start flashing when you shift-right click The first change works, but it doesn't continue. public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9){ if (!world.isRemote){ while(world.getBlock(x,y,z) == StrobeLights.StrobeLightBlue || world.getBlock(x,y,z) == StrobeLights.StrobeLightBlueOn){ if(world.getBlock(x, y, z) == StrobeLights.StrobeLightBlue){ world.setBlock(x,y,z, StrobeLights.StrobeLightBlueOn); }else if(world.getBlock(x, y, z) == StrobeLights.StrobeLightBlueOn){ world.setBlock(x, y, z, StrobeLights.StrobeLightBlue); return true; } return false; } return false; } return false; Any suggestions?
  3. I would like to be able for the player to use an anvil to repair their armor. How would I do that? Pretty much, how would I add an anvil recipe? Thanks
  4. Sorry, I'm really stupid... I forgot to register the block with GameRegistry.regsiterBlock Sorry...
  5. Sorry, I'm not using the shouldRefresh() method. I mostly copied the vanilla code. I do have the updateEntity() in tile entity and a updateBlockState() method on the block class.
  6. Wow, my Fryer has lots of bugs Disappears when I put the valid things in it. The block is destroyed with no item. BTW it's kinda urgent. The deadline is Wednesday... Main Class http://pastebin.com/qk4MD45s TileEntitySmallFryer http://pastebin.com/NTnmbRKj Small Fryer Block Class http://pastebin.com/Ev0LXpTN
  7. For some reason, my Fryer GUI's texture is not showing up. I checked the location and lower cased all the letters. Main Class: http://pastebin.com/qk4MD45s GUI Class: http://pastebin.com/8TSHNdp5
  8. When I want to test my mod, it crashes in a second http://pastebin.com/ziyakxpC
  9. I've had this problem for a while. Is there a way to rearranging items in my creative tab? Here's the main class, the minecraft log, and a screenshot. Main Class http://pastebin.com/BHEnkiUJ Minecraft log http://pastebin.com/reY7tqKq Minecraft ScreenShot
  10. I just noticed this, because anything in my creative tab was kinda messy. So I tried to change the ID's, but Minecraft wasn't obeying it. Here's my base class and the error it gave me. Base Class: http://pastebin.com/4zXj92WE Errorr it gave me: http://pastebin.com/vqR8crQ8 Thank you -GravityBurger
×
×
  • Create New...

Important Information

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