Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Minecraft
You last visited: Today at 16:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



recompile Problem (Block.java, item.java)

Discussion on recompile Problem (Block.java, item.java) within the Minecraft forum part of the Other Online Games category.

Reply
 
Old   #1
 
Endless.'s Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 2,037
Received Thanks: 736
recompile Problem (Block.java, item.java)

Guten Morgen liebe Com (:

Ich versuche etwas neues in Minecraft.. für mich einzubauen.. neuer Block + das Item dazu, des eingepflanzt werden muss.. wie bei einer Karotte oder einer Kartoffel.

Ich zeige euch den Inhalt meiner BlockOnion.java


Dort habe ich lediglich nur das "carrot" zu nem "onion" gemacht..

Dann musste ich das natürlich in die Block.java auch eintragen..

Hier der Teil von Block.java


Da habe ich auch von "BlockCarrot" den Inhalt abgeändert.

Und dann noch die "Item.java", wo ich ein neues Item eingefügt habe..

Code:
public static Item onion = (new ItemOnion(153, "onion")).setUnlocalizedName("onion_crop");

Wenn ich das am Ende recompilen möchte.. kommt folgende Fehlermeldung:

Code:
10:38:11 - !! Can not find server sources, try decompiling !!
10:38:58 - '"C:\Program Files\Java\jdk1.7.0_17\bin\javac" -Xlint:-options -deprecation -g -source 1.6 -target 1....' failed : 1
10:38:58 - 
10:38:58 - == ERRORS FOUND ==
10:38:58 - 
10:38:58 - src\minecraft\net\minecraft\src\Item.java:180: error: cannot find symbol
10:38:58 -     public static Item onion = (new Itemonion(153, "onion")).setUnlocalizedName("onion_crop");
10:38:58 -                                     ^
10:38:58 - 
10:38:58 -   symbol:   class Itemonion
10:38:58 -   location: class Item
10:38:58 - 1 error
10:38:58 - ==================
10:38:58 - 
10:38:58 - !! Can not find server sources, try decompiling !!
Weiss jemand was ich falsch gemacht habe?
Habe nach ID's gesucht, die nicht vergeben waren



Gruß, Endless
Endless. is offline  
Old 04/13/2013, 13:02   #2
Moderator


 
elite*gold: 558
Join Date: Feb 2010
Posts: 6,544
Received Thanks: 1,424
Du Fehlermeldung besagt, dass er die Klasse "Itemonion" nicht finden kann.
Hast du die vielleicht falsch geschrieben oder garnicht angelegt?
ComputerBaer is offline  
Reply


Similar Threads Similar Threads
[JAVA Error] Could not create the java virtual machine
07/21/2013 - Technical Support - 10 Replies
Schönen Abend! Leider hat es sich aus einem unerfindlichen Grund ergeben, dass sobald ich die Minecraft.exe starten will die Errormeldung kommt. Die Tips auf Minecraft.net habe ich schon ohne Erfolg befolgt. Hoffe ihr könnt mir weiterhelfen... Mein PC:
[Java] Could not create the Java virtual machine
06/22/2011 - Minecraft - 1 Replies
hallo ihr minecraftler ^^ habe seit heute das problem das wenn ich minecraft starte original als auch cracked das diese fehlermeldung kommt: Java virtual machine Launcher Could not create the Java virtual machine



All times are GMT +2. The time now is 16:48.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.