Everything posted by Mazetar
-
Minecraft Auto-Assigning ID's to Items Unwantedly
Item ID's get shifted by some number, but I believed it to be 256, seems like I was wrong
-
[HELP ]Sounds not working
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
-
How do I edit a class without being able to edit it?
www.minecraftforum.net/topic/1854988-tutorial-162-changing-vanilla-without-editing-base-classes-coremods-and-events-very-advanced/
-
Way around base Class edits
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
-
[Solved] Furnace Recipe (2 inputs) addRecipe
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.
-
Way around base Class edits
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
-
Custom Rendered Block Rotation.
Chest with rotation? https://github.com/cpw/ironchest
-
How to set up my logger?
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..
-
[1.6.2][HELP WITH MODDING] Different placed block metadata based on players dir.
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
-
[export only, enter at your own risk] ASM help needed
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
-
[export only, enter at your own risk] ASM help needed
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
-
My mod works in eclipse, but crashes in minecraft. Help?
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.
-
Help to add extra furnace input slot (mc 1.4.7, forgeMC 1.4.7)
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?)
-
Cables
Look into how the Universal Electricity works, it's open source
-
Help to add extra furnace input slot (mc 1.4.7, forgeMC 1.4.7)
You will have to invent the logic of the method yourself, that shouldnt be too hard if you have made the recipes
-
How to add block shape??? a new block model??
I'm not sure but some digging into the source should reveal it, start with world render and other client files
-
Help to add extra furnace input slot (mc 1.4.7, forgeMC 1.4.7)
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.
-
How to add block shape??? a new block model??
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.
-
Damage on passing through enemy
You should google how events work then
-
How to add block shape??? a new block model??
This gave no meaning check what "Opaque" means
-
Need help with the VillagerRegistry
Been asked a few times before and there are tuts on the subject if one searches one shall find
-
Modifiy Timecycle ?
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 ^^
-
Block Rendering
was just about to say the same
-
Liquids in forge 1.6
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
-
Liquids in forge 1.6
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
IPS spam blocked by CleanTalk.