
rob_bb
Members-
Posts
47 -
Joined
-
Last visited
Everything posted by rob_bb
-
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?
-
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?
-
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?
-
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?
-
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?
-
acting on player dropping an item - ItemTossEvent
rob_bb replied to rob_bb's topic in Modder Support
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? -
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?
-
Missing Method - public Icon getBlockTextureFromSideAndMetadata()
rob_bb replied to rob_bb's topic in Modder Support
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? -
Missing Method - public Icon getBlockTextureFromSideAndMetadata()
rob_bb replied to rob_bb's topic in Modder Support
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? -
Missing Method - public Icon getBlockTextureFromSideAndMetadata()
rob_bb replied to rob_bb's topic in Modder Support
I was typing from memory at work and too lazy to look it up so I left out the args... -
Missing Method - public Icon getBlockTextureFromSideAndMetadata()
rob_bb replied to rob_bb's topic in Modder Support
I was typing from memory at work and too lazy to look it up so I left out the args... -
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?
-
Missing Method - public Icon getBlockTextureFromSideAndMetadata()
rob_bb replied to rob_bb's topic in Modder Support
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? -
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
-
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
-
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
-
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
-
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?
-
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?
-
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?
-
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?