[Solved] Compiling Mod

Started by sean_amor on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Solved] Compiling Mod
Thu, 02/11/2016 - 16:02 (edited)

Attempting to compile this plugin, when this happened: [code] C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_flooPowder.java:178: error: illegal start of expression world.setBlockState(new BlockPos(i, j, k), .getDefaultState(), 3); ^ C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_flooPowder.java:178: error: ';' expected world.setBlockState(new BlockPos(i, j, k), .getDefaultState(), 3); ^ C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_flooPowder.java:178: error: illegal start of expression world.setBlockState(new BlockPos(i, j, k), .getDefaultState(), 3); ^ C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_flooPowder.java:178: error: not a statement world.setBlockState(new BlockPos(i, j, k), .getDefaultState(), 3); ^ C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_flooPowder.java:178: error: ';' expected world.setBlockState(new BlockPos(i, j, k), .getDefaultState(), 3); ^ 5 errors 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. [/code]

 

Any help at all would be greatly appreciated. Thank you for your time! file below:

https://www.dropbox.com/s/8imtvhlc17rt4ji/FlooTravel.mcr?dl=1

 

Edited by sean_amor on Thu, 02/11/2016 - 16:02
Joined Jan 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator tells your position
Wed, 02/10/2016 - 22:24

MCreator tells your position is not use able, try to remove some events.

If that doesnt help write me a message.
 

Joined Jan 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator tells your position
Wed, 02/10/2016 - 22:24

MCreator tells your position is not use able, try to remove some events.

If that doesnt help write me a message.
 

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is FlooPowder supposed
Thu, 02/11/2016 - 06:28

What is FlooPowder supposed to do when you right click on block? If you tell me I can maybe fix that for you cause it's that thing which causes the error

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On the item it says "Floo
Thu, 02/11/2016 - 06:32

On the item it says "Floo Travel" and I thought that means it telleports the player, if it's that I've fixed it! Contact me if you want the file (mcr)

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks everyone, it turns out
Thu, 02/11/2016 - 16:02

Thanks everyone, it turns out I fixed the mod. Just took some skimming in the source code, and a few revisions.

You can download it below:

https://www.dropbox.com/s/8imtvhlc17rt4ji/FlooTravel.mcr?dl=1

I need to revise the brightness of the flames, and learn how to create spawn points so they can actually make warp networks. 

 

 

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:On the item it says "Floo
Thu, 02/11/2016 - 16:03

@#4  Just replied below.

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:MCreator tells your position
Thu, 02/11/2016 - 16:03

@#2 Replied below, not sure if comments get notifications.

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
One last few questions, How
Thu, 02/11/2016 - 16:12

One last few questions, How can I force this to work as a multiplayer mod, I tried the test server, and it failed, it appears to be defaulting as a client side mod, but I never saw a configuration that allows this to be a multiplayer mod.