Minecraft Blogs / Other

help me!! why are this happening??

  • 274 views, 1 today
  • 1
  • 0
  • 15
rackebyik's Avatar rackebyik
Level 38 : Artisan Creeper Hugger
7
when i try to recompile my mod this error comes up! why??

please help me!





srcminecraftnetminecraftsrcEUwoodshovel.java:4: class mod_ShovelWood is pub
lic, should be declared in a file named mod_ShovelWood.java
public class mod_ShovelWood extends BaseMod
^
Creditrackebyik
Tags

Create an account or sign in to comment.

robbydude
08/10/2011 8:41 am
Level 21 : Expert Modder
robbydude's Avatar
EUwoodsword.java
EUwoodshovel.java
EUwoodaxe.java

should be named:
mod_AxeWood.java
mod_ShovelWood.java
mod_SwordWood.java

ALWAYS REMEMBER: the name's of your classes should also be the file's name. It's just how java works.
1
rackebyik
08/10/2011 8:54 am
Level 38 : Artisan Creeper Hugger
rackebyik's Avatar
thank you so mush!!!!!!
1
Baddibu
08/10/2011 4:02 pm
Level 57 : Grandmaster Pixel Puncher
Baddibu's Avatar
that was what i mean ;)
1
rackebyik
08/10/2011 8:46 am
Level 38 : Artisan Creeper Hugger
rackebyik's Avatar
oh now i understood what you meant! :)
1
rackebyik
08/10/2011 8:44 am
Level 38 : Artisan Creeper Hugger
rackebyik's Avatar
i had; mod_******** before but it didn't work so i tyed to make it EU********* but still nothing
1
anonpmc48466
08/10/2011 8:04 am
Level 5 : Apprentice Miner
anonpmc48466's Avatar
[deleted]
1
rackebyik
08/10/2011 8:30 am
Level 38 : Artisan Creeper Hugger
rackebyik's Avatar
from 16 errors to 100..
1
rackebyik
08/10/2011 8:28 am
Level 38 : Artisan Creeper Hugger
rackebyik's Avatar
okey...
1
anonpmc48466
08/10/2011 6:43 am
Level 5 : Apprentice Miner
anonpmc48466's Avatar
[deleted]
1
anonpmc48466
08/10/2011 6:42 am
Level 5 : Apprentice Miner
anonpmc48466's Avatar
[deleted]
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome