Everything posted by GravityBurger
-
[Sovled] [1.7.10] Strobe Light Effect
Sorry about that. I changed a few things and now it needs to be activated by a shift-right click.
-
[Sovled] [1.7.10] Strobe Light Effect
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?
-
[SOLVED] Repairing Custom Tool/Armor
Ok, thanks
-
[SOLVED] Repairing Custom Tool/Armor
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
-
[1.7.10] [UNSOLVED] [URGENT] Furnace disappears when cooking!
Sorry, I'm really stupid... I forgot to register the block with GameRegistry.regsiterBlock Sorry...
-
[1.7.10] [UNSOLVED] [URGENT] Furnace disappears when cooking!
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.
-
[1.7.10] [UNSOLVED] [URGENT] Furnace disappears when cooking!
Bump
-
[1.7.10] [UNSOLVED] [URGENT] Furnace disappears when cooking!
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
-
[1.7.10] [SOLVED] GUI not showing texture.
Thanks...
-
[1.7.10] [SOLVED] GUI not showing texture.
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
-
[1.7.10] Night Vision Effect Flashes on the onArmorTick() Method
Thanks, I don't know how I didn't think of that earlier
-
[1.7.10] Night Vision Effect Flashes on the onArmorTick() Method
Title says it all Code http://pastebin.com/xzLDVUct
-
Dev Minecraft Crashes
When I want to test my mod, it crashes in a second http://pastebin.com/ziyakxpC
-
[1.7.2] Rearranging creative tabs
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
-
Mod ignoring Item/Block ID's
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
-
[1.7.2] [SOLVED] Custom potion effect to armor
I need a bit of help for adding a potion effect to some armor. I used to be able to use the TickRegistry and TickHandler, but it looks like they removed it or I'm just doing something wrong. Thanks -GravityBurger
IPS spam blocked by CleanTalk.