Jump to content

1Poseidon3

Members
  • Posts

    23
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • URL
    http://1poseidon3.weebly.com
  • Location
    U.S.A
  • Personal Text
    :^)

1Poseidon3's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Not sure what the policy is here on bumping but I'm gunna bump this thread because I really need an answer or some kind of lead or hint. Thanks again and sorry for bumping!
  2. So I did some snooping and I found out that that armor and color textures are hard coded right into the horse's .class file and that the chest and saddle textures are in the same .png file as the actual horse itself. Say I have different saddle types and I want a different saddle texture displayed on the horse for each saddle type. How would I go about doing that? I have the saddles created already but the code for saddles being hard coded into the horse is going to be a tough obstacle. I would also like to show a different texture on pigs as well when the saddle is placed on them. Any idea how to do that too? Thanks!
  3. I don't know if this is what you are looking for but I went back and found a similar thread that I remembered seeing. It's for 1.8.* but I don't think that will make much of a difference. Take a look. http://www.minecraftforge.net/forum/index.php/topic,34791.0.html
  4. Thanks for all the help guys. I'll try out all of the suggestions now that I have the chance and report back! Also, thanks for the information Choonster. I'll be sure to credit you. EDIT: I forgot to include this in the original post. Here's an error type thing I saw on startup in the console. Error
  5. Hey guys. This is more or less directed at Choonster since I used his framework from his test mod as the framework for rendering my models and there are some things I can't figure out and I'm hoping someone can help. Basically, none of the item or block textures are rendering in my inventory or when I hold them in my hand. Though, when I place the block the texture shows up on the block in the world. Why is this happening? It also cannot find the textures for the test liquid I created. I'll post all relevant file code below. Like I said, this looks a lot like Choonsters way of mod creation which I am borrowing to create my own mod. If you don't want me to use your mod framework then I can just start over. If I am allowed to use it, I'll credit you for the framework. Just thought I'd toss that in as a side note. TMModelManager.java TMItems.java TMBlocks.java TestMod.java ClientProxy.java I feel like those are all of the relevant files. I don't think there's anything wrong with the textures or .json files. If anyone could help out that would be awesome. Thanks!
  6. Like Diesieben said, post the code to all relevant .java files in spoiler and code brackets. That will help us out a lot in helping you.
  7. So if I wanted Glass Bottles and Buckets to pick up my own custom liquid, I would have to remake the ItemGlassBottle and ItemBucket to fit my liquids as well? Would this require the creation of a new, custom bucket and glass bottle item or not? If not, how would I make sure that normal glass bottles and buckets can pick up my liquid?
  8. But what is the difference between each of them? Why would I use and not use each of them. I currently have two of my items (which are glass bottles holding fluids) as public static ItemGlassBottle item_name instead of public static Item item_name . Should I have done this or shout I leave it as Item ? What changes does it make from Item to ItemGlassBottle or other corresponding Item definitions. EDIT: Same things for block creation. I'm trying to create a block that will act like air (invisible, untouchable, etc.). Would I use Block or BlockAir when I create it? What's the difference?
  9. So say I want to create a bottle that holds a liquid that can be used in crafting (similar to water bottles in brewing) and a bucket of the same liquid used to pick up and place source blocks of that liquid. When I create the item, would I want to use public static Item contatiner; , public static ItemGlassBottle container; , or public static ItemBucket container; ? WHat is the difference between each of them? How would they be used?
  10. @Choonster I don't understand your ModModelManager.java does or where that method that gets the textures is called. Could you please explain how it works so I can implement it into my own mod? I currently use .json files to load all of my textures in. How does it work for liquids? EDIT: Also on a side note, .setCreativeTab(); doesn't appear to work on liquids. Is there another way to do it instead?
  11. No, my code passes the Fluid to the BlockFluidClassic constructor. You're trying to pass the Block to its own constructor. OH. That's what I needed the entire time. That's what was causing it. I can't believe I misread that. Thanks!
  12. Declaration vs. Initialization vs. Assignment. Basic Java. Basic programming, really (although various languages will separate things a little farther, such as C* having separate declaration and definitions for functions). I was trying to do it like that because it's identical to the one below it which is the one you created (which also has no errors in it).
  13. Didn't this (public static BlockFluidClassic mercury_block_static;) create it?
  14. I don't know much about Miinecraft 1.8 biome creation but maybe it is because you are using WorldChunkManagerHell and not WorldChunkManager. Like I said, I don't know much but that might be it. EDIT: You also might want to disable BBCode in your post. It's making smilies inside the code.
  15. Sorry it took me so long. I had a busy weekend. Error PTFluids.java
×
×
  • Create New...

Important Information

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