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. Item ID's get shifted by some number, but I believed it to be 256, seems like I was wrong
  2. when you call for it, don't ask for firebolt1. Ask for firebolt. If a name ends with a number it will be grouped as the name before the number. This is to make it possible to have random sound variations. If you enter two sounds: event.manager.addSound("medieval:firebolt1.wav"); event.manager.addSound("medieval:firebolt2.wav"); and when you play the sound say: par2World.playSoundAtEntity(par3EntityPlayer, "medieval:firebolt", 1.0F, 1.0F); It will randomly choose either firebolt1 or firebolt2 to play
  3. www.minecraftforum.net/topic/1854988-tutorial-162-changing-vanilla-without-editing-base-classes-coremods-and-events-very-advanced/
  4. I sign this, I'd recommend that you try playing around with ASM in a new mod, where you just try to edit simple things as first, try to edit how a simple TnT explosion work by editing the range or something else simple. And start from there
  5. If you have been stuck for 4 days at this, I would suggest you try looking more into java first as that will help you immensely and will end up saving you a lot of time and frustration Learning java is not only about the syntax it's about the way you think and about OOP ways of doing things. Mastering the fundamentals of OOP will make you able to solve such logical problems easier! Your earlier questions and threads indicate that you may would have the need for some re-reading of java mate, I would suggest you follow my "highly detailed guide" which I believe I linked earlier to you. It should teach you the things you need and after that things like this will be easy as cake, or well at least as pie Just my 2 cents.
  6. Yes you can, you can do a lot of these things. How is your skill with java, if it it's above beginner you may be able to understand and utilize ASM properly to achieve this. But don't fool yourself, if you aren't steady in the basics, this wont just be hard it will be frustrating and insanely difficult to do right
  7. Chest with rotation? https://github.com/cpw/ironchest
  8. That would be insanely retarded to do I mean, changing a part of the java standard lib, I like to believe it was made as it was for good reasons, and at your current level you probably don't understand them yet! I don't know what the F you are trying to do or why, but I can promise you that if you feel you must resort to manipulating the standard libraries, you are doing something very very VERY wrong. I'd suggest you re-think your implementation plan and WHY you need to do it, there's probably a different way to accomplish whatever you really want to do..
  9. He suggests using the class he mentioned, you can get an instanse of it from the player, it tells you what the player is looking at. Block side, position etc.! Anyways you could just look into EE3 and how they handle onBlockPlaced to figure out rotation based on the players direction, then you can use the same system to your needs instead
  10. You have probably seen or knowlegde of this already: https://www.google.no/url?sa=t&source=web&cd=1&ved=0CC8QFjAA&url=http%3A%2F%2Fwww.minecraftforum.net%2Ftopic%2F1854988-tutorial-152161-changing-vanilla-without-editing-base-classes-coremods-and-events-very-advanced%2F&ei=DU7uUbTMH4iC4ASe24HgBQ&usg=AFQjCNFiKTE2wJjA0G5jxeVsCQKv-ljOHQ I found the included video to be quite informative, even tough they say its not needed to know I like to know as much as possible when doing stuff
  11. The asm website recommends using their eclipse extension. Then create a simple class and convert it to asm instructions using the plugin. Then add to the class some more stuff, and look at the new set of asm, then you can compare the two files of asm instructions to see what had to change for the asm to generate the additions
  12. recheck that the package names and location of all classes you moved are correctly updated then. And that the folder structure in the .zip file is the same as the package structure in eclipse.
  13. yes and that's why you need to create your own version of it. You need your self coded recipes handling methods and ways for your own tile entity to interact with the inventory it contains and smelt like a furnace would. Do you fully understand everything that happens in the TileEntityFurnace? (aka. do you know EXACTLY how and why the vanilla furnace works?)
  14. Mazetar replied to tattyseal's topic in Modder Support
    Look into how the Universal Electricity works, it's open source
  15. You will have to invent the logic of the method yourself, that shouldnt be too hard if you have made the recipes
  16. I'm not sure but some digging into the source should reveal it, start with world render and other client files
  17. Inventory of 4 slots instead of three. If isRecipeFor(itemInSlot1, itemInSlot2) Smelt into result. The isRecipeFor() would just check if there are any stored recipe for the combo.
  18. What I meant is that I have no clue as to what you are trying to say! Your sentences makes no sense at all So it's quite hard to dechiper the meaning of them.
  19. You should google how events work then
  20. This gave no meaning check what "Opaque" means
  21. Been asked a few times before and there are tuts on the subject if one searches one shall find
  22. best way to check performance in an unfamiliar language: Do lots of crazy things and see how it goes! Just try it out then see how it hits instead of speculating on the effects ^^
  23. was just about to say the same
  24. I haven't added it because my code is ugly and far from optimal. heres how I did the test, nothing special https://github.com/mazetar/MLT/blob/master/com/mazetar/mazLearnedThis/fluids/TileMazFluidHandler.java
  25. Hey it works! I was able to create a tank which can contain Water, Lava and my own fluid in the same tank. It all depends on the implementation

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.