Everything posted by Mazetar
-
Redstone is buggy!
Now this is the first clear thing you have said about what you are trying to do So you have a variable that you change and when it is at max value it will power blocks above it while its less it powerss those to the side?
-
Redstone is buggy!
Now this is the first clear thing you have said about what you are trying to do So you have a variable that you change and when it is at max value it will power blocks above it while its less it powerss those to the side?
-
Help Needed Converting Bleach Mod to Forge
How familiar are you with java? What have you done to learn java etc.
-
Help Needed Converting Bleach Mod to Forge
How familiar are you with java? What have you done to learn java etc.
-
Item to ItemStack to Entity
I'm just guessing, but for me that sounds like a client/server sync issue. You're client think's it has picked up the item, but the server is never told that it did. Therefore the server is not aware of the item and when it's used the client says it hit and landed while the server is like "Spear? what spear? oh that thing, you never picked it up from where you left it the last time..?" So you are on the right track I'd guess, but you need to start communicating with the server about what the client is doing Are you familiar with packets and packet handling? http://www.minecraftforge.net/wiki/Packet_Handling Yeey I made someone learn more Java // Start pushing more java If you want some quick intros to java check out thenewboston on google, or if you are inn for a more lengthy but very rewarding run check out CS106a - a free video lecture series on java from Stanford, which starts at the very basics and go as far as you want // End of java pushing. Seriously if you want to learn more, it's great! It will make your mods better and not to mention it will make the creation of them so much easier when you know what you are doing <3
-
Item to ItemStack to Entity
I'm just guessing, but for me that sounds like a client/server sync issue. You're client think's it has picked up the item, but the server is never told that it did. Therefore the server is not aware of the item and when it's used the client says it hit and landed while the server is like "Spear? what spear? oh that thing, you never picked it up from where you left it the last time..?" So you are on the right track I'd guess, but you need to start communicating with the server about what the client is doing Are you familiar with packets and packet handling? http://www.minecraftforge.net/wiki/Packet_Handling Yeey I made someone learn more Java // Start pushing more java If you want some quick intros to java check out thenewboston on google, or if you are inn for a more lengthy but very rewarding run check out CS106a - a free video lecture series on java from Stanford, which starts at the very basics and go as far as you want // End of java pushing. Seriously if you want to learn more, it's great! It will make your mods better and not to mention it will make the creation of them so much easier when you know what you are doing <3
-
Item to ItemStack to Entity
Do you understand what the keyword static means? you're title indicates some confusion to the this word which is closely related to the understanding of static. I would suggest that you take some time to read up on the topic of instances and static inn programming, you will benefit greatly from it! I'm not saying it to be mean mate, it's just that what you said above here shows that you seem confused about the concepts and since it's vital for you to know them, I urge you to look them up when you have the time it will help you out greatly with developing your mod(s)
-
Item to ItemStack to Entity
Do you understand what the keyword static means? you're title indicates some confusion to the this word which is closely related to the understanding of static. I would suggest that you take some time to read up on the topic of instances and static inn programming, you will benefit greatly from it! I'm not saying it to be mean mate, it's just that what you said above here shows that you seem confused about the concepts and since it's vital for you to know them, I urge you to look them up when you have the time it will help you out greatly with developing your mod(s)
-
Redstone is buggy!
what what? You want your block to act as redstone torch?
-
Redstone is buggy!
what what? You want your block to act as redstone torch?
-
Redstone is buggy!
I'm not sure if I understand your intention, but let's see now. You want a block between your chest and the redstone, so that you need to power the block between them in order to be able to power the chest? The block which is in between could it be any kind of block or could is it a specific block from your mod?
-
Redstone is buggy!
I'm not sure if I understand your intention, but let's see now. You want a block between your chest and the redstone, so that you need to power the block between them in order to be able to power the chest? The block which is in between could it be any kind of block or could is it a specific block from your mod?
-
Saving variables in tile entities after quitting minecraft?
The gui is client side, all information must be serverside. If the client is doing something to change the info inn a tileEntity you must let the server know! To let the server kniw this you use packets Take a look on the tutorials on the forgewiki as well as google for packet tutorials.
-
Saving variables in tile entities after quitting minecraft?
The gui is client side, all information must be serverside. If the client is doing something to change the info inn a tileEntity you must let the server know! To let the server kniw this you use packets Take a look on the tutorials on the forgewiki as well as google for packet tutorials.
-
[solved]Location for textures folowing Pahimar's setup (episode 4 version).
This solved everything Thank you!
-
[solved]Location for textures folowing Pahimar's setup (episode 4 version).
This solved everything Thank you!
-
[solved]Location for textures folowing Pahimar's setup (episode 4 version).
Hi all! I have setup my eclipse workspace as Pahimar has inn episode 4 of his series, which is quite similar to the old way I used to have it pre 1.5. Now I'm facing the same problem as I had with my old setup, I can't get my textures located correctly. I tried looking into how EE3 is doing it but as far as I can tell he has the same setup as me. Inside the EE3 folder on my disk there's common folder cotaining the src and an resources folder containing the textures, giving this path: "resources\mods\ee3\textures\blocks" For my mod I have the following structure: "resources\mods\mazlt\textures\blocks" where mazlt is the ModID I used inn the code. Even so the textures won't show up, I have even tried moving the mods directory around to the common folder and the main mod folder without any luck. So now I'm quite puzzled by the mistake I must have made somewhere, I'm sure it's a lame typo or something but I can't seem to find it. Could someone point me inn the direction of my mistake?
-
[solved]Location for textures folowing Pahimar's setup (episode 4 version).
Hi all! I have setup my eclipse workspace as Pahimar has inn episode 4 of his series, which is quite similar to the old way I used to have it pre 1.5. Now I'm facing the same problem as I had with my old setup, I can't get my textures located correctly. I tried looking into how EE3 is doing it but as far as I can tell he has the same setup as me. Inside the EE3 folder on my disk there's common folder cotaining the src and an resources folder containing the textures, giving this path: "resources\mods\ee3\textures\blocks" For my mod I have the following structure: "resources\mods\mazlt\textures\blocks" where mazlt is the ModID I used inn the code. Even so the textures won't show up, I have even tried moving the mods directory around to the common folder and the main mod folder without any luck. So now I'm quite puzzled by the mistake I must have made somewhere, I'm sure it's a lame typo or something but I can't seem to find it. Could someone point me inn the direction of my mistake?
-
Missing Method - public Icon getBlockTextureFromSideAndMetadata()
Now that I got home I can see that I got the following methods inn my mod's block: public Icon getBlockTexture(IBlockAccess world, int x, int y, int z, int side); This you could probably use. As well as this one: public Icon getIcon(int side, int metaData) This is with Forge 7.7.1.656 and MCP 7.44 for Minecraft 1.5.1 Depending on your forge version it might be a bit different, anyways knowing java and your way around eclipse should make it easy for you to check which methods you got to work with. Simply look intot he Block class and see what public methods it ahs related to textures. Or inside your block class but outside any method press CTRL+SPACE to see the list of methods you can override and look for Icon or Texture related methods
-
Missing Method - public Icon getBlockTextureFromSideAndMetadata()
Now that I got home I can see that I got the following methods inn my mod's block: public Icon getBlockTexture(IBlockAccess world, int x, int y, int z, int side); This you could probably use. As well as this one: public Icon getIcon(int side, int metaData) This is with Forge 7.7.1.656 and MCP 7.44 for Minecraft 1.5.1 Depending on your forge version it might be a bit different, anyways knowing java and your way around eclipse should make it easy for you to check which methods you got to work with. Simply look intot he Block class and see what public methods it ahs related to textures. Or inside your block class but outside any method press CTRL+SPACE to see the list of methods you can override and look for Icon or Texture related methods
-
Missing Method - public Icon getBlockTextureFromSideAndMetadata()
Method names change between new versions of MCP and Forge, usually this is a minor problem to fix and it does not happen to often The methods for textures are being worked on as a result of the new way textures are handled as of MC 1.5 therefore the methods aren't final. But this is no problem since you can without a problem look into the block class to see what methods you have access too Besides if you don't update your MCP/Forge version then it won't change by itself either :=)
-
Missing Method - public Icon getBlockTextureFromSideAndMetadata()
Method names change between new versions of MCP and Forge, usually this is a minor problem to fix and it does not happen to often The methods for textures are being worked on as a result of the new way textures are handled as of MC 1.5 therefore the methods aren't final. But this is no problem since you can without a problem look into the block class to see what methods you have access too Besides if you don't update your MCP/Forge version then it won't change by itself either :=)
-
Help with the word generation
do you know how to generate a structure/block into the world at random places?
-
Help with the word generation
do you know how to generate a structure/block into the world at random places?
-
Missing Method - public Icon getBlockTextureFromSideAndMetadata()
getBlockIcon may be the name, couldn't get teamviewer to work so can't check what it's spelling was. In anycase if you look into what methods you can override from the block class you should find several with texture or icon as a part of their name, if you check those methods one of them will have two int arguments, and it's documentation will tell you it's metadata and side
IPS spam blocked by CleanTalk.