-
how create server and client project?
Yes, most likely I will be doing 3 packages.
-
how create server and client project?
Server mod will make a change in the generation of the world, add properties to world and Chunk, change parameters of mobs, add some functions to vanilla blocks. For show properties of the world and chunk, as I understand it, i need to add a GUI for client part, such as is shown in DamageIndicators the status mobs may be i mistake. and i don't want create universal *.jar
-
how create server and client project?
of corse. this mod only for dedicated server
-
how create server and client project?
mod for Server, but the client side must handle additional parameters of World and Chunk. and have something to add to the GUI. and I do not want to reveal the secrets of players the server side I want the client and server are in the same project, but when compiling create two * .jar
-
how create server and client project?
Whant create different *.jar for client and server how create this project in eclipse? and who is Lex? can't search ((
-
tileEntity does not save data and not Refresh render..
I'm add: worldObj.markBlockForUpdate(xCoord, yCoord, zCoord); in method: MarkDirty() and onDataPacket()
-
tileEntity does not save data and not Refresh render..
Thanks, working!
-
tileEntity does not save data and not Refresh render..
can't understend. constructor TileEntity call two time and created two with different id public class BlockAdvertising extends Block implements ITileEntityProvider { ... @Override public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { // TODO Auto-generated method stub TileEntityAdvertising tileentity = new TileEntityAdvertising(); return tileentity; } when call method: tileentity return with first id public boolean onBlockActivated(World p_149727_1_, int p_149727_2_, int p_149727_3_, int p_149727_4_, EntityPlayer p_149727_5_, int p_149727_6_, float p_149727_7_, float p_149727_8_, float p_149727_9_) { if (p_149727_1_.isRemote) { return true; } else { TileEntityAdvertising tileentity = (TileEntityAdvertising)p_149727_1_.getTileEntity(p_149727_2_, p_149727_3_, p_149727_4_); when call render method, return tileentity with second id public class AdvertisingRenderer implements ISimpleBlockRenderingHandler { .... @Override public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer) { // TODO Auto-generated method stub TileEntityAdvertising ent = (TileEntityAdvertising)world.getTileEntity(x, y, z);
-
tileEntity does not save data and not Refresh render..
Of course! I forgot to register!
-
render block/item on side another block.
i rendering my block but can't to find how add 3d icon second item/block on the side my block found this: I want so: (only need to show one item/block)
-
tileEntity does not save data and not Refresh render..
TileEntity: my Block: when player right-click ob this block. tileEntity save one Item from HeldItem and block must refresh render for show getting item. but redraw not working and when disconnect from world item not saved.(if break block then item dropped correctly) what i need to do for save data and refresh render block?
-
render block/item on side another block.
I created new block with renderer. This block will get another block or an item, eq the item frame. (click right button of mouse) How i can to draw icon block/item on the sides my block ? public class TestBlockRenderer implements ISimpleBlockRenderingHandler { .... @Override public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer) { // TODO Auto-generated method stub if(ClientProxy.renderPass == 0) { drawMytestBlock(world, Blocks.diamond_block,x,y,z); } return false; } public void drawMytestBlock(IBlockAccess world, Block par1Block,int x,int y, int z) { Tessellator tessellator = Tessellator.instance; IIcon iicon = Blocks.diamond_block.getBlockTextureFromSide(0); tessellator.setColorOpaque_F(1.0F, 1.0F, 1.0F); double d0 = (double)iicon.getMinU(); double d1 = (double)iicon.getMinV(); double d2 = (double)iicon.getMaxU(); double d3 = (double)iicon.getMaxV(); double d4 = 0.0D; double d5 = 0.05000000074505806D; double offs=0.5-d5/2; double dt=0.2D; l= world.getBlockMetadata(x, y, z); if (l == 5) { tessellator.addVertexWithUV((double)x + offs + d5, (double)(y + 1) + d4, (double)(z + 1) + d4, d0, d1); tessellator.addVertexWithUV((double)x + offs+ d5, (double)(y + 0) - d4, (double)(z + 1) + d4, d0, d3); tessellator.addVertexWithUV((double)x + offs + d5, (double)(y + 0) - d4, (double)(z + 0) - d4, d2, d3); tessellator.addVertexWithUV((double)x + offs + d5, (double)(y + 1) + d4, (double)(z + 0) - d4, d2, d1); ... } .... } what i need add in my code? read tutorial from this
-
[1.7.10] [SOLVED] corrupt jarfile problem
done.
-
[1.7.10] [SOLVED] corrupt jarfile problem
help the same problem. did that here suggested - did not help. at first I tried to take the update from 1.7.2 to 1.7.10. error as the author of a topic. then decided to do it all over again. 0. delete all workspace folders 1 downloaded forge-1.7.10-10.13.0.1180-src.zip 2 unpacked in new folder 3 gradle setupDevVorkspake 4. gradlew setupDecompWorkspace 5. gradlew Eclipse 6 launched Eclipse 7 imported project 8 Run created the configuration with the necessary parameters (net.minecraft.launchwrapper.Launch etc.) 9 launched - the error persists. then do this: 10. gradlew --refresh-dependencies setupDecompWorkspace 11. gradlew Eclipse launched - the error again remained.
-
Hide mob name ...
not working I'm add next: @Override public boolean hasCustomNameTag() { return false; //this.dataWatcher.getWatchableObjectString(10).length() > 0; } protected void entityInit() { super.entityInit(); //this.getDataWatcher().addObject(21, Byte.valueOf((byte)0)); // -this copy from vanilla mobs. (mobs have different first parameter, what that?) this.setAlwaysRenderNameTag(false); setCustomNameTag(""); } @Override public boolean getAlwaysRenderNameTag() { return false; //this.dataWatcher.getWatchableObjectByte(11) == 1; } @Override public String getCustomNameTag() { return "";//this.dataWatcher.getWatchableObjectString(10); } bat I see tag..
IPS spam blocked by CleanTalk.