Jump to content

chupmacabre

Members
  • Posts

    6
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    Indiana, USA
  • Personal Text
    This is my personal text.

chupmacabre's Achievements

Tree Puncher

Tree Puncher (2/8)

3

Reputation

  1. Did you ever figure anything out? I'm searching around right now looking for a "nice" way to achieve this.
  2. Hey everyone, this is my first mod. I learned a lot about how Minecraft and Forge work while doing this one and I expect to make more. Without further ado, let me introduce... Retractable Ladders 1.0 Retractable Ladders adds two new blocks to the game: A retractable ladder machine and a rope ladder to fill it up with. Rope Ladder This is a type of ladder made from vines and planks. It can only be placed on a wall if there is a solid block above it, or another rope ladder to attach to. Retractable Ladder Machine The machine itself can be oriented any direction except facing up and down, and must be filled with rope ladders to operate. When supplied with a redstone signal, it will cause the ladder to unroll as far as it can (when it runs out of rope ladders or it can't reach any further) and then retract. I tried to make the ascend/descend speeds match how fast the player ascends/descends. If the machine is reactivated while retracting, it will immediately switch direction and begin descending again. Screenshots [media] [/media] Installation Download Installation is easy as long as you have Forge installed. Just drop the zip file into your client/server mods folder. Terms Notes I am currently working on an update for this mod. It will add a few variations of these blocks, modified recipes, new graphics, and perhaps a new feature or two. Also, there is a weird issue that sometimes comes up with the redstone power. I'm not sure even when/why it happens specifically. All I know is that sometimes you need to play with the connection a bit to get it working, but I hope to have that fixed in the update. I look forward to producing more mods in the future! Feedback Comments? Suggestions? Questions? Bugs? Let me know!
  3. Perfect! Thank you. Here's the updated code for anyone interested: Test.java ItemBlockTest.java
  4. Thanks for the response. I went ahead and took your suggestion on the above code, and unfortunately I'm getting the same result. This is what I am using now in place of the getItemDisplayName override: @Override public String getUnlocalizedName(ItemStack itemStack) { return this.getUnlocalizedName() + subName[itemStack.getItemDamage()]; }
  5. Hello, I have been having trouble getting unique subitem names for metadata blocks/items all night. New to modding minecraft, and I guess a lot just changed with 1.5 so.. that's just my luck Anyway, I've made a real quick and dirty mod to illustrate my problem. Here are the code files I wrote just now: Test.java BlockTest.java ItemBlockTest.java CommonProxy.java and ClientProxy.java If you run the mod, all 4 blocks show up in the creative section and the inventory as "Sub-item D". What am I missing?
  6. I'm a first-time modder (though not a new programmer) and I was trying to do this the other day and am having the same issue, but I understand that a lot apparently just changed within Minecraft graphics-wise so I figured I'd wait it out. I've been stalking this forum and minecraftforum.net looking for info since then, glad it's not just me. I based the part of my mod (the custom model rendering) I'm having trouble with on this post over at the minecraft forums, which for the most part was really helpful, unless it's just that outdated I have the block/item coded properly, but it renders invisibly (or not at all, whichever). I've gone through all sorts of code for existing blocks/items but I am kind of at a loss as to what parts of the vanilla minecraft code are appropriate to use in a forge mod because I've never done this before.
×
×
  • Create New...

Important Information

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