Everything posted by Mazetar
-
[SOLVED] Tessellator Troubles
How should it really be? I guess it should have texture other than black on the top side?
-
updating
Not requests no, but I get the feeling I know the type... Do you feel I was to harsh against him? The first one is all over the net, and the third one is basics of eclipse and java I'm maybe a bit too jumpy after spending a few hours discussing in mod development and IRC with script kiddies, I'm sorry if I went to much rage mode on you ashtonr12. glBindTexture as far as I recall is used in the older tutorials I have seen. And I'm NOT going to argue with you about how's and what's about a gl method (I know better than that ) Number 3: If you mouse over the error, Eclipse will give you a list of quickfixes. Choose to implement the missing method. This will create a new method which follows the rules for how it must be. it's created in the bottom of the file, so scroll down and you will find it. Change the return null; to return the ResourceLocation for your texture. Also for hydroflame, could you post a bit of information about what you are trying to do and the file you are working on? just post the contents of the file to http://paste.minecraftforge.net/ and post the link back here
-
Adding and playing custom sounds
Do you keep the src for your mod inside the mcp/src/minecraft folder as well?
-
Furnace 1.6.2
If you encounter any problems are are having trouble with the assignments then feel free to yell out on the boards of that site. Me and others (including vswe himself) do try to help out and reply as often as we can Good luck to you
-
Trying to make a mob, what am I missing?
entities are no longer handling their textures, so the entity does not have a texture field or any texture methods the EntityRenderer handles the texture. It's using the new resource pack system.
-
Adding and playing custom sounds
it must be inside ANY src folder in the project. if you have multiple source folders for your project you can have it inside ANY of them.
-
My crafting manager "addRecipe" returns a Null Pointer Exception
set a breakpoint at the " My attempt at addRecipe " code line. See what is null at runtime and report back
-
Furnace 1.6.2
You need to use the openGUI thingy. Not sure of it's proper name but I think that's it. Anyways for this you will need to be a @NetworkMod and you will need a GUI handler. As you are unfamiliar with GUI's I recommend courses.vswe.se these courses which introduces you to the basics before storming into GUI's and rather advance GUI's as well by the end. You will be quite familiar with both GUI's, Java and TileEntities
-
updating
I recall you from a few months back btw, welcome back on the boards I know you like examples, that's why I really do recommend those courses. And it's not just begging stuff, I swear! He shows everything from the ground up and you should start at the first course (coding and a cup of Java) as he builds upon this knowledge in the future courses! And knowing all this makes your life so much easier! You want to learn advance stuff too? I'm sure you want to! Start at the beggining and by the end of them you will know how to create animated custom models in minecraft! You will also learn to make advance GUI's with sliders, tabs and model rendering inside! And of course you will learn a lot about TileEntities!
-
updating
Mate, number 3 is BASIC JAVA and by basic i mean inheritance basics, which are basic not only to java but to all object oriented programming! Are you so unfamilar with the most basics of java and oop you should really spend a day on these first! I got this place courses.vswe.se as a recommended place for you to start, really I'm not meaning to sound arrogant or mean. It's just that without knowing these things you will be struggling so much more than you need to, and waste a lot of your time on simple things! The courses also would help you with the first one although I searched 1 google search just now and I found the answers to be there just like the 100 other times people have asked this! So try googling The second one is a bit less common, but heres a post about it which you should read as it also includes answer to number 1, between the code lines. Anyways post #7 has the answer to your question #2 http://www.minecraftforge.net/forum/index.php?topic=10156.0
-
Minecraft power system
There are two other threads about this which have been active during the last week, and you choose to bump this one? The other ones have good answers too courses.vswe.se <-- Make sure you know the basics before starting on this path NB: The courses go from basics to advance rather quickly ending with custom model animation and advance guis.
-
Adding and playing custom sounds
There are tutorials on this, if you have trouble finding them you could try my website (self promoting, I know ): mazetar.com/mctuts/displayTutorials.php For sounds I wrote a tutorial which may aid you: www.minecraftforum.net/topic/1886370-forge16x-mazs-tutorials-working-custom-sounds-w-random-sound-from-soundpool-190713/
-
updating
And that's what google is for... Theres a million thread about this 1.6 texture update shit
-
Packet24MobSpawn - HandleSpawn crash (NPE)
Hello! I'm working on a mod that adds a few hundred new mobs. I'm having this issue that the game crashes when it spawns a mob when I move around the world exploring. it crashes with the following error log: Caused by: java.lang.NullPointerException 2013-08-17 21:14:19 [iNFO] [sTDERR] at net.minecraft.client.multiplayer.NetClientHandler.handleMobSpawn(NetClientHandler.java:952) 2013-08-17 21:14:19 [iNFO] [sTDERR] at net.minecraft.network.packet.Packet24MobSpawn.processPacket(Packet24MobSpawn.java:143) Following this I investigate the issue and I find that this asignment returns null: EntityLivingBase entitylivingbase = (EntityLivingBase)EntityList.createEntityByID(par1Packet24MobSpawn.type, this.mc.theWorld); Some searching on the net reveals information about the packet only handling ID's less than 255 because it cast them as a byte. I have more than 255 mobs which are added, how could I work around this issue? It may be that there are other ways to do this, if so please point me in the correct path because I'm stumped by this.
-
Ghost Item Problem
Ghost anything is almost always due to a mismatch between server and client. When you log on again the server tells the client what it's inventor contains. I'm guessing that you are giving the player the item on the Client side and noth on server/both
-
[SOLVED]Can Anyone Tell Me How To Make Food and A Config?
If you are new to this, you may want to look at this: http://courses.vswe.se/ Introduction to minecraft modding, starting with java basics and moving to really advance stuff like modeling, model animations and advance GUI with tabs and sliders! Recommended for you!
-
[SOLVED]Can Anyone Tell Me How To Make Food and A Config?
Some item's don't have their own class, they are just defined insite Item.Java (or Items, can remember). Anyways, look into EntityPig.java there you can find idDropped and that should show the porkchops
-
[SOLVED]Can Anyone Tell Me How To Make Food and A Config?
Search for Item, and look at the list of all the items? Browse around the minecraft pack's until you find the items, browse down them until you find what ya seek?
-
[SOLVED]Can Anyone Tell Me How To Make Food and A Config?
Typo, no idea why I wrote Obj, I meant item. But as I sad CTRL+SHIFT+T to search for a class.
-
Minecraft forge is unplayable
Hey, this would be the wrong support boards, this is for people using forge to create mods Here is the correct boards to ask for help: http://www.minecraftforge.net/forum/index.php/board,15.0.html
-
[SOLVED]Can Anyone Tell Me How To Make Food and A Config?
In eclipse? Press CTRL+SHIFT+T and enter the name of ANY class and you will get a list of classes matching your input. For example the input: *cake will probably let you find the cake. Also foods are Items, so they are probably inside the package obj.
-
[SOLVED]Can Anyone Tell Me How To Make Food and A Config?
Food is easy, you just have to inherit from any vanilla food with the stuff you want in your new food! As for making a config, try looking at the wiki? There's an EXCELLENT tutorial on configs. Edit: To make things clear, this topic is now solved. The OP's question is answered with all the info he needs and there's no need for any further spoon feeding, at least not if we want him to become good modder in the future!
-
[SOLVED] Tessellator Troubles
actually that whole blog (it's small atm) is really good at explaining!
-
[SOLVED] Tessellator Troubles
This may be a good read to understand UV: http://greyminecraftcoder.blogspot.com.au/2013/08/the-tessellator.html
-
GUI Buttons and Packets || Adding a config to read other mods
Also you may find some interest in Vswe's videos on Interfaces, he adds buttons, tabs and sliders. and shows how to sync them
IPS spam blocked by CleanTalk.