Jump to content

Creepmander

Members
  • Posts

    37
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Personal Text
    Aye Sir!

Creepmander's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi! So, how I can get the server address (which I connected) by the client? I had searched, but I couldnt found it.
  2. Hi! Well.. I'm not really good at English, so i'll write an example. I placed my block, and it makes random ticks. It check the block in the near by every ticks. If a block placed next to my "ticker" block, my ticker block gets an other texture. The paced block's texture for example. So i need: - How I can make random ticks into my block? - How I can check the blocks near to my block? - How I can change the texture by a Tick? Sorry for these ratard questions.
  3. Hi! I wanna ask it, what do you think about it? It is possible? If it is, how? :? They are the main questions I tryed to find it, but i couldn't. [Harder Description] For example: I have gota GuiScreen...mmm like the MainMenu, and i wanna make a button which connect to the "localhost:25565" server by a click. I cant describe more easy.
  4. I dont like the "New Minecraft". I think the original minecraft sandbox feeling was lost after the patch 1.3.2. EDIT: MineMaarten, thanks, it works! (and im a retard 'couse i didnt see that )
  5. Hi! I made a Gui screen for MC1.3.2, I think I write it good, but only the textfield dont want to work. You need to travel to the past if you want to help me. Here's the GuiScreen file: @SideOnly(Side.CLIENT) public class GuiLogin extends GuiScreen { private final GuiScreen parentScreen; private GuiTextField username; public void initGui() { super.initGui(); username = new GuiTextField(this.fontRenderer, this.width / 2, this.height / 2, 100, 20); this.username.setTextColor(-1); this.username.setMaxStringLength(10); this.username.setEnableBackgroundDrawing(true); this.username.setVisible(true); } public GuiLogin(GuiScreen par1GuiScreen) { this.parentScreen = par1GuiScreen; } @Override public void drawScreen(int x, int y, float f) { this.initGui(); this.username.drawTextBox(); this.BackGround(); super.drawScreen(x, y, f); } private void BackGround() { final int xSizeOfTexture = 176; final int ySizeOfTexture = 88; drawDefaultBackground(); int var4 = this.mc.renderEngine.getTexture("/mmod/media/default.png"); GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); this.mc.renderEngine.bindTexture(var4); int posX = (this.width - xSizeOfTexture) / 2; int posY = (this.height - ySizeOfTexture) / 2; drawTexturedModalRect(posX, posY, 0, 0, xSizeOfTexture, ySizeOfTexture); } } Please help me!
  6. You can make a TickHandler for replace the GuiIngame, but this is the "Dirty" way.
  7. I haven't see anything like that. I dont know how I can do it
  8. GotoLink This isn't work, I think 'couse the GuiIngame isn't a GuiScreen it is a simple Gui, but I dont know.
  9. I searched for it on Google. But it isnt works When I pressed the key, the gui appeared and disappeared and repeated this thing so fast, when i press the key again nothing happend.
  10. Okay, I have just solved it. Thanks diesieben07!
  11. Sorry, but Im 16 Years old and I now learning Java Have you ever played RaiderZ? I need to make a "GuiIngame" system like that. So, this is a big project with my friends..
×
×
  • Create New...

Important Information

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