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. answer two questions and I promise you will have your solution. 1. How do you generate trees when the generator has decided where, how does it create a tree at location x,y,z ? 2. How do you do something when an item is used?
  2. You will encounter issues later, trust me And if you don't just search around, or wait and see you will
  3. HydroBane: his point was more, this is basic java, go learn it! besides his answer was straight forward The point here is that the OP wont read this and wont bother learning java so he will be back later with another java question with his mod, and thats how he will keep going untill he gives up or learns java and I assume the later is not in his interest..
  4. I would recommend that you read more into java, null and such problems are quite common but usually easy to fix once you master the basics! So if you master them before modding, you will save A LOT of time!
  5. modid must be lowercase, and that is how it must be EVERYWHERE! Both in your code and in your folder structure, so keep it lowercase everywhere
  6. yep That what I want to do and thx I'm sorry, you don't know java when you don't know these things! Knowing int x = 10; does not mean you know the basics. I recommend that you go read up on the fundamentals for java/programming mate. Else, well keep on, but the road ahead ain't won't be easy without knowing the pure basics of java!
  7. Search some then you can find several posts about this Minecraft forums even has a few tutorials. Antways textures must be located at assets/modid/textures/blocks/textureName.png
  8. Pleaae learn basic java or learn to express youself clearly! What you say doesnt make sense at all, I'm sorry but we have no clue what you mean at all, usually the lack of understanding and usage of basic terminology means low knowlegde of programming / java Thats why you get told to learn java
  9. I'd ask you to go look into basic java because you have coded it to vary, if you want it differently then make the code not vary the description and just set it during construction... If that did make sense to you, gogo fix, else then go look into programming basics
  10. Easiest and most correct answer would be: Look at how the world.GetBlockId() and similar methods work
  11. Except for educational purposes, then it's at least a reason for the effort
  12. Look into the world class, the get and set block metadata methods. That should show you all involved classes and how/why they work
  13. Then I wonder how you handle more than 16 blocks without TE's?
  14. Bin folder is where eclipse outputs them when run ing the build.. If you place them there and only there then they will be regarded as temp files and deleted
  15. Thanks, but I get an error under mc and you fail to mention which error. Although I'm guessing you are not only new to modding minecraft but also new to programming in general as well?
  16. http://www.minecraftforum.net/topic/1892328-need-a-highly-detailed-152-guide/
  17. @Hydro: yeah number 2. is a good idea if I call it after world gen is completed I guess I could do that. I just need to look for an event let me know it's done generating everything first number 1 would work IF I could guarantee mine is the last decorator/generator to be executed. @Endershadow: Yeah that I could do, but how can I make sure that it is the last generation to be run? So that nothing comes in later and changes the structure? Does anyone know the order of these things, is it the last modd added which custom gen's generate last or something?
  18. I got just the guy for you, hes friendly and funny so I'm sure you will love him, his name is proffesor Sahami. I recommend following his gudance and I can promise that your modding will be awesome afterwards! Also as you might have seen I have an "highly detailed guide" to modding which has helped quite a few, it's a roadmap for beginners on how to begin modding for real and be able to create unique and awesome mods!
  19. I want to generate a structure which will be larger than a chunk, it will probably be so much larger that it crosses into several biomes! So my question is, how can I do this and make sure it happens after all vanilla generations (caves, mine shafts etc.)?
  20. I would suggest you expand upon your answer about java knowledge. Your answer was quite subjective, and hard to place on the scale. What about this: What is the biggest project you have completed in java? do you have any formal education? taken any courses etc.? The difference between passing by ref and by value? Do you understand abstraction, recursion, inheritance and polymorphism?
  21. I'll give you a clue: we aren't mind readers!
  22. Can't say I know what you mean?
  23. When I started coding I knew very little programming, I knew the basic keywords for C++ and that's it. After weeks of working on my simple little game I hit such a wall that I gave up completely! Later I found some nice programming courses online and learned more than the syntax, and then I revisited the old project and what I before created in weeks I realized I could create the same in a few days instead!!! I'm not saying it's impossible to mod and learn programming while you do, sure you can do it! But it's so much more frustrating and time consuming, and you end up being quite dependent on others for simple problems. The time you spend learning about Java and Object Oriented Programming is well spent, you will be able to catch up to yourself rather quickly and surpass what you where going to do by a factor of 10! So do yourself a favor and learn programming, it will benefit you in ways you can't begin to imagine! If you don't it's up to you and you will lose time and your mods won't reach the unique and awesome level of programmers, but you can create what ever you want in the end, it will just take forever compared to the time you would have used as a programmer
  24. I'm sorry I was sure I had responded to another thread of yours with the guide link, here it is: http://www.minecraftforum.net/topic/1892328-need-a-highly-detailed-152-guide/ Following the guide I replied with in post #2 should aid you greatly, it did so for me ages ago So on to responding to you: True you won't learn how MC handles things by learning java alone, but once you know Java then you can look at the code for Minecraft and UNDERSTAND why and how it works. Therefore it will give you quite the advantage for understanding how MC handles stuff! And MC doesn't handle two inputs as said above, but you did solve it by creating it yourself and that's good Yes I do know how I would go about creating this, the same does the others I'm sure and if they don't know they can probably think of a way based on their java knowledge. I have never tried to do this before but I'm sure I could implement this in a few minutes. If I gave you the full source code for my mods, would you learn from it anymore than you could from the minecraft source which you already have? I doubt it, if you could leverage the minecraft src you would have done so already. What you need is to go back and learn some more basics, it sucks but it WILL HELP YOU immensely later on!

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.