Jump to content

Jacky2611

Members
  • Posts

    499
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jacky2611

  1. damn, forgot the Ms and used -Xmx... -Xmx... instead of .Xmx... -Xms thx
  2. thats the difficult way. You could also create a "bucket of cheese", that gives you a empty bucket and a piece of cheese when you rightclick with it...
  3. I lost my run configurations a few days ago and tried to recreate them.... How do i change the ram?
  4. Just tried to test a few server-sided things but my eclipse server keeps crashing while it is loading the world. I personally think its because my 123mb of ram aren't enough but i don't know how to change that.
  5. i think i have seen something like world.breakBlock() or world.destroy() somewhere but i can't remember where. I would use world.setBlock() to set air and then i would use e.g.: Blocks.stone.getDrops() to spawn the items manually. But thats mostlikely not the best way to do this.
  6. i think that you will need packets to sync your client(gui) with server....
  7. Just wanted to post this: that would have been such an easy "thank you" D;... @MultiMote, i think he only asked for the TileEntity, not for the nbt
  8. Yeah, thx. Maybe you could only quote relevant parts of cour code instead of uploading everything. Otherwise most people will just copy everything and won't learn anything from them. And i think this belongs in the tutorial section.
  9. Oh, ok. Then my problem is solved.
  10. Thats bot.the peoblem. My problem is to check if the item ia in a playerinventory and to figure out when it has to reset the random int used for the countdown.
  11. Hi! I want to create an item that slowly poisons the player if he has it in his inventory(kind of parasite) after a random time between 20 and 4 secs. Now there are two points i am stuck with: 1: I have to check if the item is in the players inventory, so that my mod doesn't try to poison a chest. 2: I need a random number thats created when the player gets the item.(He will most get it by right clicking my parasite-mob) 3: I need an animated texture That seems to be kind of easy. Now i just have to draw 20 pics of a worm... Any ideas how to get this working?
  12. On eaten makes.something to food? Good to know... Have you already tried.to us a minecraft item or block? And could you please show me.your mainclass?
  13. Yeah, that kind of solved my problem. I had to use FMLClientHandler.instance().getClient().renderEngine.bindTexture(texture); instead of this.bindTexture(texture); Just one final last problem left. (Maybe two) 1. I now want to get the right particles spawning when the block is destroyed. But if i remove this.textureName i get missing textures errors and when i destroy the block the particles are pink/black. How can i use my not 16x16 texture in my BlockClass? 2. Is there any way to resize the model you have in your hand without effecting the inventory icon?
  14. http://www.minecraftforum.net/topic/1336152-132-updated-metadata-support-simple-schematic-to-java-file-converter/ just for example. i have seen newer ones too but can't find them right now. You will have to use find and replace to replace the blockids with names. Also i would only use blocks that were already added in 1.3.2. (Use something like 1, 2, 3 and not a Block with the id 352 so that you know which id to replace with which block)
  15. just run gradlew setupDecompWorkspace
  16. Use worldedit to export a schematic of the structure you want and then use a "schemtaic to java" converter(Maybe you will have to replace the ids with Blocknames). Don't forget the thankyou button!
  17. (The 2 packages with errors are never used) EDIT: Managed to produce another error: inspired by tgg's hint(yeah, of course, my textures are somewhere in the minecraftfolder. i am an idiotidotidiotidiotidiotidiot. sry for not noticing that on my own) i played around with my blockClass and added this.textureName="xxx". (Thought that it would be enough if i have this somewhere in my render class) Block: And my new crashlog:
  18. How big is your model in pixel? 1 block =16px
  19. What you want is setBlockBounds. SetBlickBounds(0,0,0,1F,1F,1F) is a full cube. SetBlockBoubds(0,0,0,1F,0.5F,1F) is a half.cube and so on... Don't forget the thankyou button
  20. Guess the title says everything. I just decided to add a 3d item to one of my custom rendered blocks.(everything worked fine without the 3d item...) Here is: Block: Client Proxy: ItemRenderer: TileEntityRenderer: And finally my crash log:
  21. I am using something like world.provider.instance==0 to check the dimension. Forgive me it ist not 100% correct, i am posting this with my Smartphone. How/Where/When are you actually changing it? I am using this to tekeport players... The real problem i see here is that you most likepy have to force the.client to rerender-wait, mayve the client automatically rerenders when you change your dimension. I will try.something.out once i get to my pc.
  22. How did you even get the class files? javac?
  23. Couldn't he create a list to which he adds.chest when they are placed? This way he would be able to get all chests without having to loop through anything.
×
×
  • Create New...

Important Information

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