Jump to content

rob_bb

Members
  • Posts

    47
  • Joined

  • Last visited

Everything posted by rob_bb

  1. The location would still be valid wouldn't it? That is the x,y,z in the client will relate to the same x,y,z on the server?
  2. Hi, I have a block that extends from BlockSand. When placed by the player it behaves as expected and falls if it is not on another block. but when my mod does this: boolean result = world.setBlock(x_shift, y_shift, z_shift, Bloc_ID, metadata, flag); The block remains floating in the air. How do I make it fall if it needs to?
  3. Hi, I have a block that extends from BlockSand. When placed by the player it behaves as expected and falls if it is not on another block. but when my mod does this: boolean result = world.setBlock(x_shift, y_shift, z_shift, Bloc_ID, metadata, flag); The block remains floating in the air. How do I make it fall if it needs to?
  4. I hope so because I am doing this: EntityLiving player = Minecraft.getMinecraft().thePlayer; int dir = MathHelper.floor_double((double)((player.rotationYaw * 4F) / 360F) + 0.5D) & 3; double x = event.entityItem.posX; double y = event.entityItem.posY; double z = event.entityItem.posZ; inside ItemTossEvent to get a players location, is their any other way? Also, is their a way to get the block that the player is looking at in the cross hairs?
  5. I hope so because I am doing this: EntityLiving player = Minecraft.getMinecraft().thePlayer; int dir = MathHelper.floor_double((double)((player.rotationYaw * 4F) / 360F) + 0.5D) & 3; double x = event.entityItem.posX; double y = event.entityItem.posY; double z = event.entityItem.posZ; inside ItemTossEvent to get a players location, is their any other way? Also, is their a way to get the block that the player is looking at in the cross hairs?
  6. Hi I want to change the behaviour of one of my mods items when a player drops it. But I am not sure how to go about it. Does anyone know of a quick tutorial on ItemTossEvent or have a quick example to set me on the path or is there another way?
  7. Hi I want to change the behaviour of one of my mods items when a player drops it. But I am not sure how to go about it. Does anyone know of a quick tutorial on ItemTossEvent or have a quick example to set me on the path or is there another way?
  8. Ahh, I see now. This is my first steps into modding... I know have 2 files in different folders from playing around, and they have different method names. I have this in an older folder from last week: public final Icon getBlockTextureFromSide(int par1) { return this.getBlockTextureFromSideAndMetadata(par1, 0); } and this in yesterdays one: public final Icon getBlockTextureFromSide(int par1) { return this.getIcon(par1, 0); } How often does this happen?
  9. Ahh, I see now. This is my first steps into modding... I know have 2 files in different folders from playing around, and they have different method names. I have this in an older folder from last week: public final Icon getBlockTextureFromSide(int par1) { return this.getBlockTextureFromSideAndMetadata(par1, 0); } and this in yesterdays one: public final Icon getBlockTextureFromSide(int par1) { return this.getIcon(par1, 0); } How often does this happen?
  10. I was typing from memory at work and too lazy to look it up so I left out the args...
  11. I was typing from memory at work and too lazy to look it up so I left out the args...
  12. Hi. I seem to be missing this function in my minecraft.jar (1.5.1). I have tried installing both the recommended and the latest versions of forge (by downloading, and running install from in the folder) public Icon getBlockTextureFromSideAndMetadata() When I try to overide it in my custom block class (which extends BlockSand) I get errors. I am new to modding and forge, so not sure if this is a real method, or the examples and tutorials I am looking at are wrong or outdated?
  13. Hi. I seem to be missing this function in my minecraft.jar (1.5.1). I have tried installing both the recommended and the latest versions of forge (by downloading, and running install from in the folder) public Icon getBlockTextureFromSideAndMetadata() When I try to overide it in my custom block class (which extends BlockSand) I get errors. I am new to modding and forge, so not sure if this is a real method, or the examples and tutorials I am looking at are wrong or outdated?
  14. It turns out there was something I missed, I did not remove the META-INF folder from the minecraft.jar file. I had assumed it was removed by the setup script
  15. It turns out there was something I missed, I did not remove the META-INF folder from the minecraft.jar file. I had assumed it was removed by the setup script
  16. For future reference and to help any one else, to fix this issue I needed to remove META-INF folder from the minecraft.jar file
  17. For future reference and to help any one else, to fix this issue I needed to remove META-INF folder from the minecraft.jar file
  18. Hi I am having problems getting my systems setup for modding. I downloaded forge, rant the install.sh (on linux). Copied the folders from a working minecraft setup (bin and resources folders) to the jars folder. But I seem to have something missing, or missed a step regarding sound codecs. Is there another folder I should be copying?
  19. Hi I am having problems getting my systems setup for modding. I downloaded forge, rant the install.sh (on linux). Copied the folders from a working minecraft setup (bin and resources folders) to the jars folder. But I seem to have something missing, or missed a step regarding sound codecs. Is there another folder I should be copying?
  20. Hi I have decided to make a mod, so I installed forge, ran the scripts. I have tried with the recommended forge, and the latest forge, same results. Copied the bin and resource folders from a working install of MC1.5.1 to the mcp jars folders. First thing I tried to do was just run Minecraft from eclipse, it starts but I can't create a world, or load an existing one that I copied to the jars/saves folder. Every looks fine, the screens opens, I can name the world in single player, set some options or pick a world to load, then it crashes with this out put. This is on linux, java 7, eclipse. Is there some thing stupid I have missed in the install?
  21. Hi I have decided to make a mod, so I installed forge, ran the scripts. I have tried with the recommended forge, and the latest forge, same results. Copied the bin and resource folders from a working install of MC1.5.1 to the mcp jars folders. First thing I tried to do was just run Minecraft from eclipse, it starts but I can't create a world, or load an existing one that I copied to the jars/saves folder. Every looks fine, the screens opens, I can name the world in single player, set some options or pick a world to load, then it crashes with this out put. This is on linux, java 7, eclipse. Is there some thing stupid I have missed in the install?
×
×
  • Create New...

Important Information

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