My Animal doesn't work, Can't work because of Enumhand.itemstack.

Started by EnderZ on Tue, 07/05/2016 - 08:14

Topic category: Bugs and solutions

Last seen on 07:35, 2. Apr 2017
Joined Aug 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
My Animal doesn't work, Can't work because of Enumhand.itemstack.
Tue, 07/05/2016 - 08:14

I tried to make a mob and this came up. Please help.

warning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Users\Samuel\Desktop\MCreator 1.9.4\forge\build\sources\main\java\mod\mcreator\mcreator_potionCow.java:163: error: processInteract(EntityPlayer,EnumHand,ItemStack) in EntitypotionCow cannot override processInteract(EntityPlayer,EnumHand,ItemStack) in EntityCow
  protected boolean processInteract(EntityPlayer entity, EnumHand hand, ItemStack stack) {
                    ^
  attempting to assign weaker access privileges; was public
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
1 warning

 

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.