Results 1 to 3 of 3
- 10-30-2011, 03:39 AM #1
Member
- Join Date
- May 2011
- Posts
- 11
- Rep Power
- 0
Cannot find symbol (compile error)
Hello, this is probably a stupid mistake but I can't seem to figure it out.
There is my error list with all the fancy stuff removed
src\minecraft\net\minecraft\src\EnumToolMod.java:1 0: cannot find symbol
symbol : constructor EnumToolMod(java.lang.String,int,int,float,int)
location: class net.minecraft.src.EnumToolMod
OBBYCHUNK("OBBYCHUNK", 2, 500, 7.0F, 2);
^
1 error
Here is my
Java Code:// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) braces deadcode package net.minecraft.src; public enum EnumToolMod { OBBYCHUNK("OBBYCHUNK", 2, 500, 7.0F, 2); private EnumToolMod(String s, int i, int j, int k, float f, int l) { harvestLevel = j; maxUses = k; efficiencyOnProperMaterial = f; damageVsEntity = l; } public int getMaxUses() { return maxUses; } public float getEfficiencyOnProperMaterial() { return efficiencyOnProperMaterial; } public int getDamageVsEntity() { return damageVsEntity; } public int getHarvestLevel() { return harvestLevel; } private final int harvestLevel; private final int maxUses; private final float efficiencyOnProperMaterial; private final int damageVsEntity; }
I think my problem is that im missing some class that needs to be referenced but i don't know what it would be called or where to put it.
Yes this is for a minecraft mod.
-
Re: Cannot find symbol (compile error)
Your enum "OBBYCHUNK("OBBYCHUNK", 2, 500, 7.0F, 2);" doesn't match the constructor signature. Count the number of parameters to see why.
- 10-30-2011, 03:42 AM #3
Member
- Join Date
- May 2011
- Posts
- 11
- Rep Power
- 0
Re: Cannot find symbol (compile error)
wow thanks I see now i'm going to compile it now
. . . . . . . . . . . . . . . . . . . ________
. . . . . .. . . . . . . . . . . ,.-‘”. . . . . . . . . .``~.,
. . . . . . . .. . . . . .,.-”. . . . . . . . . . . . . . . . . .“-.,
. . . . .. . . . . . ..,/. . . . . . . . . . . . . . . . . . . . . . . ”:,
. . . . . . . .. .,?. . . . . . . . . . . . . . . . . . . . . . . . . . .\,
. . . . . . . . . /. . . . . . . . . . . . . . . . . . . . . . . . . . . . ,}
. . . . . . . . ./. . . . . . . . . . . . . . . . . . . . . . . . . . ,:`^`.}
. . . . . . . ./. . . . . . . . . . . . . . . . . . . . . . . . . ,:”. . . ./
. . . . . . .?. . . __. . . . . . . . . . . . . . . . . . . . :`. . . ./
. . . . . . . /__.(. . .“~-,_. . . . . . . . . . . . . . ,:`. . . .. ./
. . . . . . /(_. . ”~,_. . . ..“~,_. . . . . . . . . .,:`. . . . _/
. . . .. .{.._$;_. . .”=,_. . . .“-,_. . . ,.-~-,}, .~”; /. .. .}
. . .. . .((. . .*~_. . . .”=-._. . .“;,,./`. . /” . . . ./. .. ../
. . . .. . .\`~,. . ..“~.,. . . . . . . . . ..`. . .}. . . . . . ../
. . . . . .(. ..`=-,,. . . .`. . . . . . . . . . . ..(. . . ;_,,-”
. . . . . ../.`~,. . ..`-.. . . . . . . . . . . . . . ..\. . /\
. . . . . . \`~.*-,. . . . . . . . . . . . . . . . . ..|,./.....\,__
,,_. . . . . }.>-._\. . . . . . . . . . . . . . . . . .|. . . . . . ..`=~-,
. .. `=~-,_\_. . . `\,. . . . . . . . . . . . . . . . .\
. . . . . . . . . .`=~-,,.\,. . . . . . . . . . . . . . . .\
. . . . . . . . . . . . . . . . `:,, . . . . . . . . . . . . . `\. . . . . . ..__
. . . . . . . . . . . . . . . . . . .`=-,. . . . . . . . . .,%`>--==``
. . . . . . . . . . . . . . . . . . . . _\. . . . . ._,-%. . . ..`\
Similar Threads
-
USing JGrasp to Compile and receiving Cannot find symbol
By johnb082 in forum New To JavaReplies: 6Last Post: 06-23-2011, 10:37 PM -
Constructor: Cannot find symbol compile error.
By CaptainBeer in forum New To JavaReplies: 4Last Post: 04-28-2011, 11:25 AM -
Cannot Find Symbol Error
By javadummy1 in forum New To JavaReplies: 6Last Post: 04-09-2011, 10:13 AM -
Cannot find symbol Error
By new_Java in forum New To JavaReplies: 3Last Post: 02-17-2011, 11:23 PM -
cannot find symbol symbol :constructor Error. Please help! =(
By KalEl in forum New To JavaReplies: 9Last Post: 10-18-2008, 08:26 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks