Jump to content

fhntv24

Members
  • Posts

    68
  • Joined

  • Last visited

Everything posted by fhntv24

  1. that is normal,for a lot of people p.s. if you see evrything-you not a man,you a computer/machine/robot =)
  2. actually,nope? if i will comment ZNeg/ZPos render face in code: http://snag.gy/Sk1cM.jpg http://snag.gy/9zZmx.jpg hmmm,yeees,MC render engine "doing" that....or i'm crazy...or we do not understand one single <- google translator... p.s. you need to watch at glass and at my "block"
  3. so are you want to say,what side can be "seen" only from one of the its "sides"?) What is a problem with rendering only- you will see it only from one side,let me explain what i mean...beacos i'm bad in englesh. ___ My block > | | < My block We will not see oposite side > |___| < If we are stading here,we will see that side soo,i need to render Z pos,and Z neg in one place at the same time...i think what will be easyer to me-just use pure OpenGL,and not MC's render engine....
  4. X pos,and X neg sides dont render,but Z pos+Z neg sides work fine(X pos side-side that you can see from X+1 block,and it the nearest side) edit:forgot to add a screen shot: http://snag.gy/uVUnm.jpg
  5. I just made a CustomBlockRenderer(ISimpleBlockRenderingHandler),beacos i want to make somting like vine,but it will be not based on metadata,but on the is there block or no.From my tryes,i did rendering just of 2 sides(Z pos and neg).But now,when i did add X pos and neg,it just dont want to work...just dont rendering them...at all...My render code: public class LightRenderer implements ISimpleBlockRenderingHandler { @Override public void renderInventoryBlock(Block block, int metadata, int modelID, RenderBlocks renderer) { } @Override public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z,Block block, int modelId, RenderBlocks r) { float f19 = 0.1F; Tessellator tessellator = Tessellator.instance; // if (world.getBlockId(x+1, y, z)!=0) { tessellator.addTranslation(f19, 0.0F,0.0F); r.renderFaceXNeg(block, (double)x, (double)y, (double)z, r.getBlockIcon(block, r.blockAccess, x, y, z, 0)); r.renderFaceXPos(block, (double)x, (double)y, (double)z, r.getBlockIcon(block, r.blockAccess, x, y, z, 0)); tessellator.addTranslation(-f19, 0.0F,0.0F); // } // if (world.getBlockId(x-1, y, z)!=0) { tessellator.addTranslation(-f19+1, 0.0F,0.0F); r.renderFaceXNeg(block, (double)x, (double)y, (double)z, r.getBlockIcon(block, r.blockAccess, x, y, z, 0)); r.renderFaceXPos(block, (double)x, (double)y, (double)z, r.getBlockIcon(block, r.blockAccess, x, y, z, 0)); tessellator.addTranslation(f19-1, 0.0F,0.0F); // } // if (world.getBlockId(x, y, z-1)!=0) { tessellator.addTranslation(0.0f, 0.0f,f19); r.renderFaceZPos(block, (double)x, (double)y, (double)z, r.getBlockIcon(block, r.blockAccess, x, y, z, 0)); r.renderFaceZNeg(block, (double)x, (double)y, (double)z, r.getBlockIcon(block, r.blockAccess, x, y, z, 0)); tessellator.addTranslation(0.0f, 0.0f,-f19); // } // if (world.getBlockId(x, y, z+1)!=0) { tessellator.addTranslation(0.0f, 0.0f,-f19+1); r.renderFaceZPos(block, (double)x, (double)y, (double)z, r.getBlockIcon(block, r.blockAccess, x, y, z, 0)); r.renderFaceZNeg(block, (double)x, (double)y, (double)z, r.getBlockIcon(block, r.blockAccess, x, y, z, 0)); tessellator.addTranslation(0.0f, 0.0f,f19-1); // } return true; } @Override public boolean shouldRender3DInInventory() { return false; } @Override public int getRenderId() { return ClientProxy.LightRenderID; } } All other code works fine(its registrading kk,and works all fine),but the render X pos+neg...its just dont wont to work...
  6. if you want,you can make TileEntity and save players username
  7. lag spikes was before OptiFine too reason why i installed opti fine-lag spikes. HHD? heh lags is on server,not in SSP. lagspike is client side,not server side.Did you see java profiler data? what take the most of is rendering of mobs,and not anything else. please,next time when you will help read all.
  8. i have Avast,i used installed 10-20 times,and all is ok.Hm,why? and second you problem,that is problem with you inet connection,i think.*going to download and see by myself*
  9. hm,so what is up with that *stupid for some one,not me....who gets lags* MC?
  10. http://snag.gy/yJtaN.jpg Or that me,or OpenGL is just crazy?
  11. 1.I dont have Forge MultiParts. 2.I installed it beacos of lag spikes. 3.It have only a few compatibility problems,mainly with custom render.
  12. For some reason,my MC modpack just lags a few people a lot.First 3 minutes all is ok,but when 3 minutes past GL just goes craaaaazy in log. modList: http://snag.gy/VEI5D.jpg (dont care about mod with name B,its dont do anything at all....) log loading: http://pastebin.com/U8a55ne7 GL errors: http://pastebin.com/DNRkZ1w0
  13. 100+ subtypes = TileEntity.You have link for what TileEntity is.Sooooo, just click on it.
  14. he mean how to make stuff like Args magica does,render blocks in inventory. For Ben: itemRenderer.renderItemAndEffectIntoGUI(this.fontRenderer, this.mc.renderEngine, itemstack, l, i1); itemRenderer.renderItemOverlayIntoGUI(this.fontRenderer, this.mc.renderEngine, itemstack, l, i1); that is how render item,if you need
  15. for me,that works better. //reciving string int n=data.readInt(); for (int i=0;i<n;i++) name=name+data.readChar(); //sending string out.writeInt(name.length()); int n = name.length(); for (int i=0;i<n;i++) out.writeChar(name.charAt(i));
  16. the easyest way(like in Thaumcraft with auras) to do that: if (Minecraft.getMinecraft().thePlayer.youCheckIfHelmetIsOn) return OneTexture; else return OtherTexture; p.s. but to make it work it need to be updated,sooo just call setBlock with you id and meta,if you want or make block to be re rendered with Minecraft.getMinecraft().renderGlobal.markBlockNeedsUpdate(x, y, z); but when update? when player changing helmet,that is when.You can check when player changing helmet with TickHandler(google TickHandler)
  17. Can someone help? yes,i know,that is hard.To make floating islands in overworld.I need algoritm/theory of how make it,or source code if someone have it(Just name of algoritm).Ik how to make it generating in over world/other worlds,i just need how to create them.(p.s. i alredy did some structures,like underground dungeons and a few more building,and i only need skyland gen code)
  18. then you did install forge wrongly,beacos it was compiling server,wich is a problem.Create new folder,unzip all from archive,and run Install.cmd AND DONT DO ANYTHING,just say yes if it will ask you.DONT MAKE ANYTHING ANYMORE,you dont even need to unzip mcp.
  19. offtopic: Real God Mod MCP 1.5 <- good name for 1.6.2 ontopic: minecraftforge-src-1.6.2-9.10.0.804 i think that version have what you need,use it. p.s. MC server?wtf? i think you Forge install is wrong
  20. easy method-client side only slowness lvl 100 effect hard metod- re write MC.(Hardcore,only hardcore very stupid metod-dont make zoom
  21. latest STABLE version downloaded from files.minecraftforge.net and runned itnsall.cmd for intsalling.what MC version? p.s. its saying what you dont have main forge part aka "Image handler" and beacos i see name of fuction,you decompiled mod,right?) p.s.s. that decompiled mod will not work edit: fmlbuild.major.number=5 fmlbuild.minor.number=2 fmlbuild.revision.number=2 fmlbuild.githash=g00f00b1 fmlbuild.mcpversion=7.51 fmlbuild.mcversion=1.5.2 that works great for me
  22. try to reinstall forge,it will help you.Beacos what it saying,what it dont have forge classes. p.s. if that will not help use,try to use latest stable forge
  23. is there CreeperBlowUp event? or how i can make not blow up vanilla objiects only in my dungeon.
  24. nbt.setShort("Zombie",0)
  25. Then somting wrong with you GrinderRecipe(didnt see it first time) edit:maybe you will try what i send? and if you want to make free-bug macerator watch furnace code and just edit it,its the best way.
×
×
  • Create New...

Important Information

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