Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mazetar

Forge Modder
  • Joined

  • Last visited

Everything posted by Mazetar

  1. 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?
  2. 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?
  3. How familiar are you with java? What have you done to learn java etc.
  4. How familiar are you with java? What have you done to learn java etc.
  5. 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
  6. 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
  7. 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)
  8. 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)
  9. what what? You want your block to act as redstone torch?
  10. what what? You want your block to act as redstone torch?
  11. 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?
  12. 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?
  13. 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.
  14. 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.
  15. 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?
  16. 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?
  17. 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
  18. 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
  19. 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 :=)
  20. 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 :=)
  21. do you know how to generate a structure/block into the world at random places?
  22. do you know how to generate a structure/block into the world at random places?
  23. 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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.