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. foreach Block block inn BlockList if (block.name == name) return block
  2. The reason none has responded to this would be that from the look of it there's impossible to guess what's wrong. You say there is an error, but nothing about what error? I assume by error you mean eclipse marks the line or a word red? If so you should tell me what it's saying when you mouse over the underlined area, what is the error it's giving and what quick fixes is it giving ya? If you look at the bottom of your eclipse window you should see the markers tab, where you can click on the error and copy paste it easily. Letting us know what error you are having will help out a lot when it comes to solving your problem <3
  3. The reason none has responded to this would be that from the look of it there's impossible to guess what's wrong. You say there is an error, but nothing about what error? I assume by error you mean eclipse marks the line or a word red? If so you should tell me what it's saying when you mouse over the underlined area, what is the error it's giving and what quick fixes is it giving ya? If you look at the bottom of your eclipse window you should see the markers tab, where you can click on the error and copy paste it easily. Letting us know what error you are having will help out a lot when it comes to solving your problem <3
  4. Told the solution to the problem. http://www.minecraftforge.net/wiki/Containers_and_GUIs Tutorial on GUI's and stuff. Should get ya going. Once you can open your own GUI from an item using player.openGui method (If it's still named so?) then you should be ready to do what you are attempting to do ^^
  5. Told the solution to the problem. http://www.minecraftforge.net/wiki/Containers_and_GUIs Tutorial on GUI's and stuff. Should get ya going. Once you can open your own GUI from an item using player.openGui method (If it's still named so?) then you should be ready to do what you are attempting to do ^^
  6. Hi again all So I have created some mods for myself to learn modding minecraft as well as to force myself to get more into Java. (Since I'm more familiar with C# I'd prefer to stick to it unless I force myself to do otherwise^^ ) I want to learn more advance things but when I think of it I'm not really sure what I should focus on learning, because there are so many interesting topics to learn about and even so there are not that many resources besides the source code itself for learning it. So I'm just wondering what the readers of this forum believes to be the most advance things to aim at learning? I realize this will be different from person to person based on their experience and other factors, but it will be interesting to see what people suggest and why. I'm hoping that some of the answers could give me ideas of topics I haven't thought off or something else which would inspire me(and possibly others) to learn the topic
  7. Hi again all So I have created some mods for myself to learn modding minecraft as well as to force myself to get more into Java. (Since I'm more familiar with C# I'd prefer to stick to it unless I force myself to do otherwise^^ ) I want to learn more advance things but when I think of it I'm not really sure what I should focus on learning, because there are so many interesting topics to learn about and even so there are not that many resources besides the source code itself for learning it. So I'm just wondering what the readers of this forum believes to be the most advance things to aim at learning? I realize this will be different from person to person based on their experience and other factors, but it will be interesting to see what people suggest and why. I'm hoping that some of the answers could give me ideas of topics I haven't thought off or something else which would inspire me(and possibly others) to learn the topic
  8. If it's a forge mod and it's correctly setup with @Networkmod and the ClientProxy/CommonPorxy classes. Then it's good to go. Actually as long as it's a real forge mod, it is MP compatible from the start
  9. I'd still say the forge wiki would be a good place
  10. Something like this? http://www.industrial-craft.net/ Well thats for forge, anyways then I would suggest you start learning programming inn any type of OOP language, altough java is preffered. Learn to read stacktraces and how to post code. Then start learning how to add basic blocks, TileEntity's and Entities to minecraft with forge. Study GUIs and containers and then you are closer to starting on your mod When you are creating your mod, write down an implementation plan for all you want to have inn your mod, how it will work and what else is needed to implement it etc. Then you are on your way.
  11. http://wuppy29.blogspot.nl/2012/10/forge-modding-142.html Dimensions and portals etc. as mentioned above not many errors. http://wuppy29.blogspot.nl/2013/03/forge-modding-151.html - Covers updating to 1.5.1 and includes instructions for dimensions. Those two should get ya covered. Acctually most tutorials fro 1.3+ works with 1.5.1 there are only minor changes to names and stuff. If you read up on the changes to MC itself you should find that it's quite easy to update from 1.4.x to 1.5 etc.
  12. Mazetar replied to ashtonr12's topic in Modder Support
    Make an random number, based upon that make it do the killed.dropItem line? if (randomNumber == 1) killed.dropItem(ashtonsmod.Manure.itemID, 1); else if(randomNumber == 2) killed.dropItem(Item.bone.itemID, 1); etc.
  13. Well if you know how to generate a structure inside your dimension. And you know how you would generate a tree, then make the structures you generate be a tree, following the same logic as you would for your own trees?
  14. Mazetar replied to ashtonr12's topic in Modder Support
    A quick search of the package "net.minecraft.item;" should have given you the answer. Looking at Item.java you can see most items listed. also there's an class called ItemSkull within the above mentioned package, which I haven't opened but from the name I'm sure it's the one you are looking for
  15. well open the world object can check what other stuff you have access too which might be the new name for "editingBlocks()" method. Look for a method with the same parameters and return value and see if you can find it? Also have you checked the tutorials by Wuppy29 on dimensions? He did a tutorial where he talksa bout updating to 1.5.1 here: http://wuppy29.blogspot.nl/2013/03/modding-147-updating-to-151.html About halfway trough he talks about dimensions and stuff I'm sure this should answer your questions.
  16. Mazetar replied to ashtonr12's topic in Modder Support
    You need to explain what you are talking about my friend, what is this masks you speak of?
  17. There was a similar thread to this.. searching but can't find it ill get back and re-edit inn a few mins. http://www.minecraftforge.net/forum/index.php/topic,7466.msg38155.html#msg38155
  18. If you have access to the location of the entityItem then I'm not sure how it could be a problem? entityItem extends Entity, so all entityItem's have a XYZ position which you can use. and every entity has a world which it is inn. What more do you need to know to do what you want to? Edit: IF it's an custom item it's sure quite easy to check it's position on update etc. As for messing with a vanilla entityItem I'm not sure how you could do that easily, my first guess would be reflection and such but there are probably easier ways to do that.
  19. Do you know how to generate a structure inn a custom dimension? Do you know how to generate a custom made tree inn the normal world?
  20. You are not alone, this question has been asked a million times Luckly AtomicStryker answered this quite nicely here: http://www.minecraftforum.net/topic/1722368-15-icons-and-block-textures/
  21. If the code is written unclear with bogus names and bad indentation then even if it runs, works and preforms good it would still be bad code. In today's world, coding style is a extremely important factor! If you take a look at any university which teaches computer science then you will see how much time they spend on coding style! Just check how they grade the students at places like Stanford. Or take a look at the current state of the industry, team work is now a major factor for programmers. Besides if ya want someone to read your code and help you out, your code should look nice so they can easily understand what your code is doing. ^^ On Topic - @Cyani: Problem solved, I would assume?
  22. I assume that such mod will be like any other ML mod, which means it will only work for SSP and not at all for mp etc.? So what would be the motivation to do this magicpat?
  23. The above poster diesieven07 just solved your problem.. nothing else than the pure and simple truth, you need a GUIHandler and you to create a custom container.
  24. what if all the button do is to send the packet to the server. Then handle the packet as you do now and don't do anything to remove the item on the client side?
  25. So the old pre 1.5 way is still used for this?

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.