
Kwibble
Forge Modder-
Posts
340 -
Joined
-
Last visited
Everything posted by Kwibble
-
[1.7.2] How to create a Book with custom GUI ?
Kwibble replied to xXxKanemanxXx's topic in Modder Support
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 -
I take it you mean packet and not plate. So yes, you do need a packet.
-
HELP! Weird Entity behaviour with setPositionAndRotation
Kwibble replied to Bedrock_Miner's topic in Modder Support
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? -
Short and to the point. This is why I like you.
-
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
-
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.
-
Oh cool, thanks!
-
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.
-
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.
-
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)
-
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
-
You have shouldRender3DInInventory set to false. No wonder nothing seemed to be happening
-
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
Kwibble replied to Bedrock_Miner's topic in Modder Support
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). -
How is it almost impossible? I can't think of very many situations that would result in not being able to learn.
-
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.
-
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.
-
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
-
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
Kwibble replied to crazycodr's topic in Modder Support
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. -
Questions concerning entities, and biome/tree generation
Kwibble replied to Kwibble's topic in Modder Support
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.