Everything posted by Kwibble
-
[1.7.2] How to create a Book with custom GUI ?
On top of what diesieben07 has said, the best to learn is to try. If it doesn't work, try again. And when you do get it to work, look for a better way to do it. The joys of life
-
NBT save not working
I take it you mean packet and not plate. So yes, you do need a packet.
-
HELP! Weird Entity behaviour with setPositionAndRotation
Sounds like the server is some how missing the fact it should be at the point you have said. Are you sure there are no syncing issues?
-
[1.7.2] IntelliJ IDEA
Short and to the point. This is why I like you.
-
[1.7.2] IntelliJ IDEA
Okay. Since I am also clueless when it comes to gradle, I have a small inkling of what you are saying. But that's all
-
[1.7] Render custom block as item in inventory
Tessallator mate go to the forge wiki, and search it up. Specifically the one by hydroflame (there is only one part that is outdated. Instead of the texture binding he uses, use: minecraftInstance.getTextureManager().bindTexture(resourcelocation); ) See if that works.
-
[1.7.2] IntelliJ IDEA
Oh cool, thanks!
-
[1.7.2] IntelliJ IDEA
I have decided to move to the great looking IDE, IntelliJ IDEA. I have run gradlew setupDecompWorkspace idea but now what... I have no idea what to do next to turn it into a project etc.. All help is appreciated, thanks.
- [1.7.2] Dimension error
-
Item opening crafting grid
Look, the point is for you to learn. And if we just give you the code you will never learn. We are trying to help you. Sometimes our methods can be a bit... disconcerting and just not seem right. But you WILL learn. So please, learn. Take what we have given you and try to apply it. And if after you have attempted to get it to work and it's still not working THEN you can come back and post the code you tried and we will continue to point things out, and give you small snippets to fix.
-
[1.7.2] Dimension error
First things first, your mcmod.info file is broken. Second, learn how to read error logs and stack traces. Third, almost always is the id 0 already being used. Start your dimension id's at about 10 and work up - this will probably be incompatible with another mods, but you have to have at least 10. So on line 106 of your BOW class, change your registration of your dimension to use 10 or more instead of 0 (dimension id 0 is the overworld)
-
Item opening crafting grid
You were given code. And if you are saying that you don't know enough Java to figure out a described piece of code, please. Go learn more Java. A lot more. It will infinitely help you. Aside from that, in your item class, go to an empty line (before the closing curly brace for the class, but outside a method) and if you are in eclipse, hit CTRL + SPACE. This shows all the methods you can override. Start type onItemUse and click the method that comes up in the tool tip like box. Then inside that method write: player.openGuiWorkbench(params); // where it says params, you need to put the parameters into it. So if it needs an inventory, you give it player.inventory and the other stuff it need
-
[1.7] Render custom block as item in inventory
You have shouldRender3DInInventory set to false. No wonder nothing seemed to be happening
-
[1.7.2] Problems with subtypes
Wow. And I thought I was poor. But that's beside the point. I now sorta get what you mean. But I must point out, why are you here using internet quota on forum posting when you could be using that quota searching for and reading tutorials?
-
HELP! Weird Entity behaviour with setPositionAndRotation
Have you tried using the different ways of registering entities to see if it makes any difference? The way I register is lime so (semi-pseudo code): int entityId = EntityRefistry.findSomethingOrOtherId(); EntityRegistry.registerGlobalEntityId(params); EntityRegistry.registerMidEntity(params); Wherever I am I am asked to use the id, I use that entityId (I have this in a creatEntity method, so entityId is changed for each entity).
-
[1.7.2] Problems with subtypes
How is it almost impossible? I can't think of very many situations that would result in not being able to learn.
-
Render Image on Screen rippling
Almost correct. The smaller the number the further back it is. The higher the number, the closer to the front it is. So you want to be drawing your black texture at a z level of say -89 and the red texture at z level -88. That would put your red above your black.
-
[1.7.2] Problems with subtypes
It's ok. We are just trying to help by telling you to learn Java. When you have reached a basic understanding, you will be finding it easier. When you reach a simple understanding, you will be finding it even easier. That is why we say go learn Java. It helps a lot.
-
[1.7.2] Problems with subtypes
Yeah.. I know... But I was getting pissed of because that was the fifth time I was writing something the size of your post there >.> only to have the internet drop out as I hit post.. The joys of losing your post >.> thanks for saying what I wanted to though
-
[1.7.2] Problems with subtypes
In your BlocksOfAsphalt_Yellow_0.java onBlockPlacedBy() method, change TrafficStuffMod.BOA_Yellow_0 to new TileEntityBOA_Yellow_0()
-
Looking for API Documentation or Reference documentation
So... Your asking for minecrafts documentation? Have fun with that. I wish you luck. Forges documentation on the other hand... Have you looked into Javadocs? Specifically the forge ones? If you want to understand the what you are doing, start reading. Go up through the classes reading what method calls and this and what does this do etc.. It takes a lot of work and effort, but its worth it.
-
How to get the width and height of the image stored at a ResourceLocation?
Oh - so what is the target param then? I had assumed that was the GL_TEXTURE_WIDTH/HEIGHT... Glad I didn't assume the rest
-
How to get the width and height of the image stored at a ResourceLocation?
Ah, thank you so much diesieben07! That saved me a bit. One more question - what gets passed in as for the level and pname parameters? That is a little confusing for me
-
How to get the width and height of the image stored at a ResourceLocation?
I do have a workaround this (hard coded values and switch/if statements), but it just seems inefficient and... a tad annoying. Any ideas anyone?
-
Questions concerning entities, and biome/tree generation
Well... It seems my mod concept has hit an unsteady foundation. Oh well. Time to dig around in the code and hopefully find some good blocks for a more aligned foundation.
IPS spam blocked by CleanTalk.