Thanks for the great tutorial. It seems easy to follow so far.
SOLVED
But I'm going to leave this post in case anyone else has the same problem:
The solution is: Don't copy and paste those code lines from the tutorial web page. Apparently there are some non-displayed characters when you copy that Eclipse does not recognize.
TYPE in the lines instead of copy and paste, and all will be well.
In the tutorial "Step 3 -- Reference Class" (I called my project "com.cryptopian.redline". It's intended to be a redstone mod I want to experiment with.)
I get syntax errors on all three lines: (See screenshot below)
The errors are "Synatx error on tokens" on the first two lines, and on the third line, two errors: "insert ";" to complete FieldDeclaration & insert "}" to complete ClassBody"
(I usually use Netbeans, but for this I'm using eclipse, as directed in the tuts, under Linux Mint (Ubuntu). I haven't tried it on my Windoze box yet.)
Thanks for the great tutorial. It seems easy to follow so far.
In the tutorial "Step 3 -- Reference Class" (I called my project "com.cryptopian.redline". It's intended to be a redstone mod I want to experiment with.)
I get syntax errors on all three lines: (See screenshot below)
The errors are "Synatx error on tokens" on the first two lines, and on the third line, two errors: "insert ";" to complete FieldDeclaration & insert "}" to complete ClassBody"
(I usually use Netbeans, but for this I'm using eclipse, as directed in the tuts, under Linux Mint (Ubuntu). I haven't tried it on my Windoze box yet.)
Can someone make a video of the whole process? It would probably be much easier than replying to all of the confused masses
Personally, I find video tutorials useless. They go too fast, you can't glance back at the previous "page" to remind yourself of some item, they skim over the subject and leave more questions unanswered than text lessons do. Also the quality of videos is pretty variable. Some have blurry screenshots that you can't read, some have narrators with accents of various kinds that are hard for some people to understand. Videos are great for entertainment, but are lousy for serious study.
If someone did ask me to make a video process of these tutorials, I will still say no (as I have before). It just leads to someone taking these tutorials, posting them elsewhere, then questions start flooding there, instead of here, where I don't check (nor the other helpful people here), which ultimately leads to people getting frustrated and stopping for the time being.
While slightly exaggerated, I still think my point is valid. Text tutorials are perfectly fine, and in my opinion, you can learn much more from them then someone just spilling there thoughts from their mouth, telling you what you need to do, and other ways aren't acceptable (a theme I find very common throughout video tutorials).
Anyways, the previous paragraph was supposed to be the end of my opinion on video tutorials, but it wasn't. Oh well.
Will you be adding more advanced tutorials on Tile Entities/ custom models and rendering?
Eventually. I've done advanced Tile Entities before, though custom models and rendering, not yet, but I will eventually! Whenever I get around to doing that, and assuming I have the time to write tutorials (as I find it hard to even write a comment here nowadays with the amount of work I have), then I will :).
Could someone please answer my question? Sorry if I'm being pushy, I'd just like to continue doing this.
You're not being pushy at all. In fact, I encourage people to ask again if it gets forgotten (because it happens to the best of us).
Anyways, could you expound on your issue? Are you saying that there are more items in the "Eclipse Minecraft", then you specifically programmed, or something else?
EDIT: I just went through on my phone and bookmarked it that way. Must be something with my computer.
adfocus.us is giving me an errorwhen i try to load the tutorials:
This webpage is not available
ERR_NAME_NOT_RESOLVED
The server at adfoc.us can't be found, because the DNS lookup failed. DNS is the network service that translates a website's name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Google Chrome from accessing the network.
You're not being pushy at all. In fact, I encourage people to ask again if it gets forgotten (because it happens to the best of us).
Anyways, could you expound on your issue? Are you saying that there are more items in the "Eclipse Minecraft", then you specifically programmed, or something else?
Minecraft won't start, gives an error saying class not found for my proxy. But its definitely there, and I've imported it into the main class. Eclipse has no errors.
Everything in the crash that I can see points to a problem with the ClientProxy.
Something I noticed he is missing is that your CommonProxy should look like this:
public abstract class CommonProxy{
then you would have abstract methods in the common proxy for things like Renderers which get implemented in the ClientProxy.
The reason for this is, when using your proxy variable you cannot call a method of the ClientProxy if it doesn't exist in the CommonProxy, unless you cast to ClientProxy which ruins the entire point of having a single proxy variable.
I can't give any more specific help than that without seeing some of your code.
how are you using the proxy in your main class, what are doing in the proxies/registryhelper.
Rollback Post to RevisionRollBack
"If It Is To Be It Is Up To Me" simple quote and I don't know where it comes from but I enjoy it.
Current Mod: Armerger | Light Drafter
Everything in the crash that I can see points to a problem with the ClientProxy.
Something I noticed he is missing is that your CommonProxy should look like this:
public abstract class CommonProxy{
then you would have abstract methods in the common proxy for things like Renderers which get implemented in the ClientProxy.
The reason for this is, when using your proxy variable you cannot call a method of the ClientProxy if it doesn't exist in the CommonProxy, unless you cast to ClientProxy which ruins the entire point of having a single proxy variable.
I can't give any more specific help than that without seeing some of your code.
how are you using the proxy in your main class, what are doing in the proxies/registryhelper.
Thanks for the great tutorial. It seems easy to follow so far.
In the tutorial "Step 3 -- Reference Class" (I called my project "com.cryptopian.redline". It's intended to be a redstone mod I want to experiment with.)
I get syntax errors on all three lines: (See screenshot below)
The errors are "Synatx error on tokens" on the first two lines, and on the third line, two errors: "insert ";" to complete FieldDeclaration & insert "}" to complete ClassBody"
(I usually use Netbeans, but for this I'm using eclipse, as directed in the tuts, under Linux Mint (Ubuntu). I haven't tried it on my Windoze box yet.)
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumTry saving your files.
-
View User Profile
-
View Posts
-
Send Message
Curse Premium@TheXFactor117
Will you be adding more advanced tutorials on Tile Entities/ custom models and rendering?
Current Mod: Armerger | Light Drafter
Can someone make a video of the whole process? It would probably be much easier than replying to all of the confused masses
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumA video will still have at least as many questions about it.
If you want a video tutorial I recommend pahimers modding rebooted series.
Current Mod: Armerger | Light Drafter
Personally, I find video tutorials useless. They go too fast, you can't glance back at the previous "page" to remind yourself of some item, they skim over the subject and leave more questions unanswered than text lessons do. Also the quality of videos is pretty variable. Some have blurry screenshots that you can't read, some have narrators with accents of various kinds that are hard for some people to understand. Videos are great for entertainment, but are lousy for serious study.
Just my opinion Your mileage may vary.
If someone did ask me to make a video process of these tutorials, I will still say no (as I have before). It just leads to someone taking these tutorials, posting them elsewhere, then questions start flooding there, instead of here, where I don't check (nor the other helpful people here), which ultimately leads to people getting frustrated and stopping for the time being.
While slightly exaggerated, I still think my point is valid. Text tutorials are perfectly fine, and in my opinion, you can learn much more from them then someone just spilling there thoughts from their mouth, telling you what you need to do, and other ways aren't acceptable (a theme I find very common throughout video tutorials).
Anyways, the previous paragraph was supposed to be the end of my opinion on video tutorials, but it wasn't. Oh well.
Eventually. I've done advanced Tile Entities before, though custom models and rendering, not yet, but I will eventually! Whenever I get around to doing that, and assuming I have the time to write tutorials (as I find it hard to even write a comment here nowadays with the amount of work I have), then I will :).
You're not being pushy at all. In fact, I encourage people to ask again if it gets forgotten (because it happens to the best of us).
Anyways, could you expound on your issue? Are you saying that there are more items in the "Eclipse Minecraft", then you specifically programmed, or something else?
EDIT: I just went through on my phone and bookmarked it that way. Must be something with my computer.
adfocus.us is giving me an errorwhen i try to load the tutorials:
This webpage is not available
ERR_NAME_NOT_RESOLVED
The server at adfoc.us can't be found, because the DNS lookup failed. DNS is the network service that translates a website's name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Google Chrome from accessing the network.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumI thought I answered you, but apparently I didn't.
That happening isn't an error. I mean, it's not intended either, but it won't have an effect. Doesn't happen to everyone.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThe original post had an attachment.
btw do you like your new pull requests
http://pastebin.com/6LkTux6E
Minecraft won't start, gives an error saying class not found for my proxy. But its definitely there, and I've imported it into the main class. Eclipse has no errors.
EDIT: github here https://github.com/erindalc/Spellcraft
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumEverything in the crash that I can see points to a problem with the ClientProxy.
Something I noticed he is missing is that your CommonProxy should look like this:
public abstract class CommonProxy{
then you would have abstract methods in the common proxy for things like Renderers which get implemented in the ClientProxy.
The reason for this is, when using your proxy variable you cannot call a method of the ClientProxy if it doesn't exist in the CommonProxy, unless you cast to ClientProxy which ruins the entire point of having a single proxy variable.
I can't give any more specific help than that without seeing some of your code.
how are you using the proxy in your main class, what are doing in the proxies/registryhelper.
Current Mod: Armerger | Light Drafter
I edited in my github, it should all be there.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumWhy does everyone use the substring(5) for registering ... it just makes it more likely to cause conflicts with other mods.
I looked at the crash some more and it seems like the problem is that forge is trying to access the configs folder but it hasn't been created yet.
In your root folder(the one with all the gradle stuff) make sure you have a "config" folder if not just create one, you don't need anything in it.
Current Mod: Armerger | Light Drafter
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumside note for you project structure:
you are missing your proxies in the registration path. You should have something like this
(in SpellCraft:preInit) proxy.registerItems();
(in CommonProxy:registerItems) SpellCraftItems.registerItems();
(in SpellCraftItems) public static Item itemmanadust = new ManaDust("itemmanadust");
SpellCraftItems:registerItems should be a static method
(in SpellCraftItems:registerItems)RegistryHelper.registerItem(itemmanadust);
Personal preferences:
(in ItemManaDust) public static final String name = "itemmanadust";
(in ItemManaDust) public static final ItemManaDust manadust = new ManaDust();
(in ItemManaDust) change this method from: public ItemManaDust(String itemManaDust)
to this: public ItemManaDust()
(in ManaDust:ManaDust)this.setTextureName(Reference.MODID + ":" + name);
(in SpellCraftItems) remove this line: public static Item itemmanadust = new ItemManaDust(ItemManaDust.name);
(in SpellCraftItems:registerItems) change this line: RegistryHelper.registerItem(itemmanadust);
to this: RegistryHelper.registerItem(ManaDust.manadust);
Current Mod: Armerger | Light Drafter
There's definitely a config folder, it has the forge config in it. I tried deleting it, but nothing changed.
Do I actually need the proxy code? I didn't need it last time i tried this.
EDIT: I deleted the proxy classes and removed the corresponding code from the main class. Minecraft now starts.
Why would I use a proxy? It seems to be just an extra step.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThats odd.
You should definitely be using the proxy classes though, that is how you are supposed to guarantee your mod can be run by server and client.
I sent you a private message, you can look at how I am using it there.
Current Mod: Armerger | Light Drafter