help. my custom lamp is not working

Started by mtn dew 314 on Mon, 03/23/2015 - 00:52

Topic category: Help with modding

Last seen on 04:38, 15. Mar 2020
Joined Dec 2014
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
help. my custom lamp is not working
Mon, 03/23/2015 - 01:05 (edited)

i made two blocks, a lamp that is on & a lamp that is off.
The lamp that is on relpaces itself with the lamp that is off only if there is no redstone signal. 
The lamp that is off replaces itself with the lamp that is on only if there is a redstone signal.
both of them have the "can provide power" button on.
both of them have the hardness and resistance of a normal redstone lamp.
the lamp that is on drops the lamp that is off.
the lamp that is on is upposed to provides the same light level as a normal redstone lamp but it doesnt for some reason.

everything is like a normal redstone lamp (except the texture) but i keep getting this error message. i tried to go to the file and change it but it always changes it back even if i reload after changing it.

C:\Pylo\MCreator155\forge\build\sources\java\mod\mcreator\mcreator_lampOn.java:168: error: 'else' without 'if' else if(Block.getIdFromBlock(l) > 0 && l.canProvidePower()){ ^ 1 error   FAILURE: Build failed with an exception.   * What went wrong: Execution failed for task ':compileJava'. > Compilation failed; see the compiler error output for details.   * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Edited by mtn dew 314 on Mon, 03/23/2015 - 01:05
0Upvote this forum topic
Last seen on 08:29, 18. Sep 2019
Joined Dec 2013
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
@mtn dew 314 I think this
Mon, 03/23/2015 - 02:08

@mtn dew 314 I think this might be an issue on mcreators side.

0Upvote this forum topic
Last seen on 04:38, 15. Mar 2020
Joined Dec 2014
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
RE:@mtn dew 314 I think this
Mon, 03/23/2015 - 23:06

@#1 yay! i found a bug.
plz fix it a want my lamp

0Upvote this forum topic