Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

csb123

Members
  • Posts

    6
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

csb123's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. Hey guys, thanks for the replies Yeah, as I'm extending BlockLadder, isLadder() already returns true. Just to make 100% certain I've overridden isLadder again inside my subclass, but the result's the same - sound only works when travelling horizontally across ladders but not up and down ladders.
  2. *bump* Does anybody know how to do this?
  3. Hello, I'm working on a mod that adds ladders for the different wood variants. To achieve this I've subclassed BlockLadder, by subclass is super simple: public class BlockLadder extends net.minecraft.block.BlockLadder { public BlockLadder() { super(); setHardness(0.4F); setStepSound(Block.soundTypeLadder); } } The ladders render fine and I can climb them, but I don't get the normal ladder climbing sound when travelling vertically. I do get the ladder sound if I'm moving horizontally between ladders though. Can anybody tell me how to trigger the ladder climbing sound? The only place I can find soundTypeLadder referenced in the Minecraft code is the Block.registerBlock method, and I'm already doing that in my constructor. Thanks in advance Chris
  4. It was the sub blocks! BlockWall.getSubBlocks() adds a sub block for the mossy variant, which is why my instance of BlockWall was displaying two items. I've now subclassed BlockWall and overriden the getSubBlocks() method to return a single item like Block does, and no more duplicates. Thanks for your help TGG
  5. Hi, Thanks for the replies @TheGreyGhost: No I have no warnings in the console regarding missing models. When I cursor over the models, both say "tile.brick_wall.name". I can place either version in the world and they both work the same. @deadrecon98 Sure - should I post the full classes? I'm not sure what you mean when you say "give that block a texture" as I don't want that block to show up at all - I just want the one that looks like a wall Thanks
  6. Hey Folks, I'm pretty new to all of this, so please bear with me. I'm trying to make a simple mod that adds more different types of wall to the game. My walls seem to work, but the problem I'm having is that for each new type of wall I add, I get two items in the creative tab - one displaying the correct model and one not. Here's my code: And this is what my creative tab looks like: Can anybody tell me what I'm doing wrong, and how to remove the duplicates from the creative tab? Thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.