Cerandior
Members-
Posts
385 -
Joined
-
Last visited
Everything posted by Cerandior
-
[1.8]--Workspace not finding Minecraft files
Cerandior replied to NikolaTheProgrammerNoob's topic in Modder Support
I know that your problem has now been fixed, but seriously i had to stop and comment. I have noticed this weird behavior of yours even in your last topic. People are trying to help you and you just go ahead and show your rudeness to them? What kind of crap is that. Stop your "cool kid" behavior. It isn't going to get you anywhere. Be more respectful to people that know more than you. -
Since you admit that you didnt know java well i am assuming that you followed some sort of tutorial. Have a look again to the tutorial you followed and see what is different and what you have possibly done wrong. The fact is that when you copy-paste someone's se tutorial it is highly unlikely that you will get away willout getting some sort of error. You have to come up with your own ideas so when you get errors you will know where to work to fix it. You should contact the guy who made ghe tutorial and ask for assistance. And dont tell me that yoh created the whole thing yourself. If you dont know java basics.you cant do that on your own
-
So you don't get a crash anymore? I think i know what you mean. The items have like a red gradient on them and have a 0 on the bottom-right? That's a weird glitch. I have seen it on vanilla being done on an item duplication glitch that is 1.8 but i am not sure why that happens hence i don't know what is causing the problem on your block.
-
You are wrong on both i guess. How would gui be opened on server? Then every player on the server would see the gui that one player opened. That would crash the server. And yes GUI can be opened while sneaking. It has nothing to do with sneaking as a process anyway. It is a way to set-up the opening of the gui so the player can right click the block to set other blocks next to it. But Nikola you have done a mistake. If you were to run this mod on a server, if a player would try to open the gui the server would crash. When you put this on your block class: Change it to: If you can't find the difference.... On the if statement change from if(worldIn.isRemote && ...) to if(!worldIn.isRemote && ...) Basically add a " ! " before worldIn.
-
I don't know if you want to do this using events only, but i just tested this on 1.8 and it worked:
-
What do you mean with can be used once. It can destroy only one block and then it will be destroyed? Or you can right click with the item once and then it will be destroyed.
-
[1.8]A little bit confused with Rendering on 1.8
Cerandior replied to Cerandior's topic in Modder Support
That is not incidentally imported. Minecraft.getMinecraft uses it. And minecraft.getMinecraft it's client only -
I am assuming you have to send some sort of packet to tell minecraft to keep certain chunks loaded. However i am not sure since i never worked with these type of things before
-
[1.8]A little bit confused with Rendering on 1.8
Cerandior replied to Cerandior's topic in Modder Support
Yes i know. Thats why i am registering it at clientProxy -
[1.8]A little bit confused with Rendering on 1.8
Cerandior replied to Cerandior's topic in Modder Support
Yeah that,s derpy. I probably copy pasted that for the two others from pre init and forgot to change the event names for the others. Well thank you for the help. -
[1.8]A little bit confused with Rendering on 1.8
Cerandior replied to Cerandior's topic in Modder Support
That didn't work. The error is a null-pointer exception so i am assuming, at some part of the rendering or renderer code is returning null somewhere. -
For about some time now i have started a 1.8 mod project. I have started it mostly like a test project to learn more about the way Forge 1.8 works but depending on the way it turns out this project may be published. So today i found some time and started working. I am getting a little bit confused over the rendering. I saw a simple tutorial and then tried to recreate the thing my own way. After i finished it seemed that i had done the most part of simple rendering for items and block using .json however everytime i start the game it just crashes on PreInit phase if i am not mistaken. Maybe i am derping and this is an obvious error, but this is the first time for me working on 1.8 so excuse the non-efficient coding(if there is any). Here is the crash-report: Here is the code: Main Class: Proxy Library: Client Proxy: ServerProxy: ItemRenderer Class ( Custom ) :
-
[1.8]--Custom Crafting Table not Opening GUI
Cerandior replied to NikolaTheProgrammerNoob's topic in Modder Support
A good source for learning java. -
[1.8]--Custom Crafting Table not Opening GUI
Cerandior replied to NikolaTheProgrammerNoob's topic in Modder Support
You know, instead of trying to copy the method from another source. Try learning it yourself how it is used and what it does before. And also instead of writing everything on your own use ctrl+space. It's Magic. -
I cant seem to find any backpack or anything related to it for 1.8 but here is an example for 1.7 https://github.com/Eydamos/Minecraft-Backpack-Mod
-
Why would you go and try to do something that you have no knowledge of. I mean you said you was new with forge and its libs. Why are you creating a hard think like a backpack then? Do it step by step. Learn the basics first and try to tweak ou thinks to see the result. You have to see tutorials but copy-pasting code isn't the way to go. You wont be learning anything and you wont be able to fix errors because you have no idea whats going on.
-
I was to sure that i already set-up jdk JAVA_HOME variable the first time. For some reason it wasnt even there when i checked environment variables. Anyway i re-created and everything is working now. Sorry for the trouble
-
I do have JDK installed (jdk1.8.0_51). What do i do to tell gradle to search in the right directory?
-
[1.7.10] Need help with disappearing XP-levels and Durability.
Cerandior replied to Lellson's topic in Modder Support
Why are you storing the exp with the durability bar. I mean it's a good solution but there are better options. You can use ItemStack NBTTag Data. That way you can add much more information and data to your item. E.G You can make it so only the player who crafted it can use it. By "using it" i mean taking or storing exp in it. You can also have a much better presentation of your EXP stored by using addInformation Method. That way the player can know exactly the amount of exp he has stored on the item just by hovering with mouse over it. That is better than just looking at the durability bar i guess. Or you can have both durability bar and the addInformation. -
Is that maybe because i just updated java? Do i have to go back to the last version? However why isn't the update affecting my 1.7 environment. I am confused. I mean java is installed at "C:\Program Files\Java\jre1.8.0_65" This is how "C:\Program Files\Java\jre1.8.0_65" directory looks, if it helps:
-
Sorry, Here is the log :
-
frgSrc is not there on Referenced Libraries. I think setupDecompWorkspace had an error and stopped. Why is that?