Jump to content

atrain99

Forge Modder
  • Posts

    1502
  • Joined

  • Last visited

Posts posted by atrain99

  1. I have Three beginner tutorials here is link

     

     

    Tomorrow there will be an item tutorial. :)

     

                                            Sincerely,

                                ClarmonkGaming

    I'm to that point, I just want to know how to make the more complex stuff go. (Poked around the source code for the past hour or so, figured out some basic (BASIC) stuff)

  2. My mind is totally blown at how much Lex, cpw, and co. have done with Forge since August. I'm totally at a loss at where I need to start with my plans for something I think will be really cool, but I've boiled it down to things I really need to know:

    1. New @ tags, how they work, and how to make the best use of them

    2. Packets: How best to use them, how to identify what needs syncing from server/client, how not to crash everything with a zillion packets

    3. Rendering: Dynamic blocks, TESR's, etc

    4. Making blocks talk to each other

    5. Working with NBT for items and stuff

    That's what I need to know, and if you deem it below you to answer me, just tell me where I can find it, that's all.

  3. So, how much do I have to relearn from say... Minecraft 1.5?

     

    I've been writing down some ideas and such for something that I think is cool, and I'm excited to try all the new things that Forge made easy!

     

    One other thing, is there somewhere/somebody that could teach me about what I remember as TESR's and block rendering and things?

  4. A forge hook is a piece of code in forge that allows you to do things, like efficiency shovels working on your block.

     

    If you look in the file you would have to modify to make a function work, the forge hooks are at the bottom of the file, under a comment line that says "BEGIN FORGE PATCHES".

     

    The also may be a way to register your block through the MinecraftForge files themselves.

  5. Please use

    [spoiler][/spoiler]

    tags when posting GIANT error logs. It helps those of us who read the non-error log part of the post immensely.

     

     

    I think you should try updating your forge before you do anything, as it seems MC is using deprecated methods...

     

    And if it works in eclipse, it should work fine after you run recompile.bat and then reobfuscate.bat.

     

     

  6. If you can add a listener to when the player is saved, you can use reflection to extract the NBT tag, and add to it. Same for loading the player.

     

    Or, if the field is not a new thing on the player, just use reflection to set it if it is private, or just set it if it has a setter or is public.

  7. Thanks for all the help, I managed to get it working however I am unable to get ladders to spawn... any ideas?

     

    Ladders are strange. They either have metadata that specifies the direction they are (easy to modify), or internal flags (like a bed) that makes it hard.

     

    Use normal coding if it has metadata, or reflection if it is the internal flags.

     

    I'm too lazy to look it up... :P

  8. Hi, I was just wondering if there was a way to make a block affected by the efficiency enchantment.

     

    I thought that setting Material.ground would make this work but apparently not...thanks for the help!

    If you want picks to be effective, I believe you rather need Material.rock

     

    Unless you want it to be efficiency on shovels that makes it go.

     

    Material.wood for axes, Material.rock or Material.iron for picks, and Material.ground for shovels.

    If you can enchant shears, you would use Material.leaves for those.

  9. This is very, very complicated.

     

    The EntityMinecart code would be worth looking at, for the modification of the player model. If you want them in the block, you'll have to modify bounding boxes. If you want them on top of the block, just lock the player in place using the onEntityCollide(...) (or something like that) function in the block class.

  10. Sync with packets, using the classes in the FML.packet (or something like that, look for PacketDispatcher) and the getDescriptionPacket() in TileEntity.

     

    Don't use too many packets, you'll bog down the server, client, and everything else on your computer.

  11. I need someone to tell me what mod ids are available so i can make my mod compatible to most other tech mods!  Message me at windfreaker@gmail.com

     

     

    Just guess!

     

    If it breaks when you add a mod, change the ID, but most tech mods like BC, RP, and IC2 have been around for a while, so most ID's above 255 should be compatible with them.

     

    You can also install NEI on your client, and check the ID's for the blocks and items by enabling the "Show IDs" option.

  12. I feel like a know all in this situation...

     

    try something like this:

    ~snip~

     

     

    I garuntee that the PitfallHandler will work, the other... well :P

     

    I think the NPE you're getting comes from code order.

     

    If you can single-step the code at the function, you can find the exact point where the NPE is thrown.

  13. {mechaccelerator texture.} Elaborate

    So , here what you asked for um I deleted biomass cunks so, ill have to remake it.

    So , got the crystals the ore . uncut are 32bit the rest or 16bit.

     

     

     

    Oh yeah! :D:D:D

×
×
  • Create New...

Important Information

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